← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1053814] Re: vlan_start keyerror when creating a network

 

Hi guys
I am using OpenStack with  FlatDHCP network.. 

Trying to create a new network via nova-manage network  command I
noticed the --vlanid option.

Which is the mean of this parameter for my config ? 
Does it make sense only using VLAN Manager network manager ?

Am I wrong ?

Thx


** Changed in: nova
       Status: In Progress => Invalid

** Converted to question:
   https://answers.launchpad.net/nova/+question/221599

-- 
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/1053814

Title:
  vlan_start keyerror when creating a network

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Trying to create a network, we are using FlatDHCP

  nova-manage network create --label=np --fixed_range_v4=X.X.X.X/22 --num_networks=1 --network_size=1024 --bridge=br100 --bridge_interface=eth4 --multi_host=T --dns1=X.X.X.X
  Command failed, please check log for more info
  2012-09-21 05:18:17 CRITICAL nova [req-43a1db5c-e7bc-4ac9-9ba2-a952a87e0153 None None] 'vlan_start'
  2012-09-21 05:18:17 TRACE nova Traceback (most recent call last):
  2012-09-21 05:18:17 TRACE nova   File "/usr/local/bin/nova-manage", line 7, in <module>
  2012-09-21 05:18:17 TRACE nova     execfile(__file__)
  2012-09-21 05:18:17 TRACE nova   File "/opt/nova/bin/nova-manage", line 1463, in <module>
  2012-09-21 05:18:17 TRACE nova     main()
  2012-09-21 05:18:17 TRACE nova   File "/opt/nova/bin/nova-manage", line 1450, in main
  2012-09-21 05:18:17 TRACE nova     fn(*fn_args, **fn_kwargs)
  2012-09-21 05:18:17 TRACE nova   File "/opt/nova/bin/nova-manage", line 476, in create
  2012-09-21 05:18:17 TRACE nova     net_manager.create_networks(context.get_admin_context(), **kwargs)
  2012-09-21 05:18:17 TRACE nova   File "/opt/nova/nova/network/manager.py", line 2026, in create_networks
  2012-09-21 05:18:17 TRACE nova     if kwargs['num_networks'] + kwargs['vlan_start'] > 4094:
  2012-09-21 05:18:17 TRACE nova KeyError: 'vlan_start'
  2012-09-21 05:18:17 TRACE nova 
  'vlan_start'
  2012-09-21 05:18:17 TRACE nova Traceback (most recent call last):
  2012-09-21 05:18:17 TRACE nova   File "/usr/local/bin/nova-manage", line 7, in <module>
  2012-09-21 05:18:17 TRACE nova     execfile(__file__)
  2012-09-21 05:18:17 TRACE nova   File "/opt/nova/bin/nova-manage", line 1463, in <module>
  2012-09-21 05:18:17 TRACE nova     main()
  2012-09-21 05:18:17 TRACE nova   File "/opt/nova/bin/nova-manage", line 1450, in main
  2012-09-21 05:18:17 TRACE nova     fn(*fn_args, **fn_kwargs)
  2012-09-21 05:18:17 TRACE nova   File "/opt/nova/bin/nova-manage", line 476, in create
  2012-09-21 05:18:17 TRACE nova     net_manager.create_networks(context.get_admin_context(), **kwargs)
  2012-09-21 05:18:17 TRACE nova   File "/opt/nova/nova/network/manager.py", line 2026, in create_networks
  2012-09-21 05:18:17 TRACE nova     if kwargs['num_networks'] + kwargs['vlan_start'] > 4094:
  2012-09-21 05:18:17 TRACE nova KeyError: 'vlan_start'
  2012-09-21 05:18:17 TRACE nova 

  There is no vlan_start mentioned in the --help command either

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