← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1190354] Re: nova-manage fails to create network when cidr prefix is too large

 

** Changed in: nova
     Assignee: Yun Mao (yunmao) => (unassigned)

** Changed in: nova
       Status: New => Invalid

** Also affects: nova/folsom
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1190354

Title:
  nova-manage fails to create network when cidr prefix is too large

Status in OpenStack Compute (Nova):
  Invalid
Status in OpenStack Compute (nova) folsom series:
  New

Bug description:
  # nova-manage network create --label=private --fixed_range_v4=172.31.0.0/18 --bridge=br100
  Command failed, please check log for more info2013-06-12 19:48:46 CRITICAL nova [req-aa665cc8-b8a8-4c88-86a5-32779183e29f None None] no such option: network_size_size
  2013-06-12 19:48:46 13099 TRACE nova Traceback (most recent call last):
  2013-06-12 19:48:46 13099 TRACE nova   File "/usr/bin/nova-manage", line 1404, in <module>
  2013-06-12 19:48:46 13099 TRACE nova     main()
  2013-06-12 19:48:46 13099 TRACE nova   File "/usr/bin/nova-manage", line 1391, in main
  2013-06-12 19:48:46 13099 TRACE nova     fn(*fn_args, **fn_kwargs)
  2013-06-12 19:48:46 13099 TRACE nova   File "/usr/bin/nova-manage", line 480, in create
  2013-06-12 19:48:46 13099 TRACE nova     net_manager.create_networks(context.get_admin_context(), **kwargs)2013-06-12 19:48:46 13099 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1491, in create_networks
  2013-06-12 19:48:46 13099 TRACE nova     subnet = 32 - int(math.log(FLAGS.network_size_size, 2))2013-06-12 19:48:46 13099 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/cfg.py", line 1039, in __getattr__
  2013-06-12 19:48:46 13099 TRACE nova     return self._get(name)2013-06-12 19:48:46 13099 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/cfg.py", line 1361, in _get
  2013-06-12 19:48:46 13099 TRACE nova     value = self._substitute(self._do_get(name, group))2013-06-12 19:48:46 13099 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/cfg.py", line 1377, in _do_get
  2013-06-12 19:48:46 13099 TRACE nova     info = self._get_opt_info(name, group)2013-06-12 19:48:46 13099 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/cfg.py", line 1470, in _get_opt_info
  2013-06-12 19:48:46 13099 TRACE nova     raise NoSuchOptError(opt_name, group)
  2013-06-12 19:48:46 13099 TRACE nova NoSuchOptError: no such option: network_size_size
  2013-06-12 19:48:46 13099 TRACE nova

  the option should be network_size instead of network_size_size

  This applies to stable/folsom.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1190354/+subscriptions