Nonhomogeneous networks not supported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Vish Ishaya | ||
Diablo |
Fix Released
|
Undecided
|
Joe Gordon |
Bug Description
Hi all,
I've got a 2 nodes openstack setup were I'm testing a VlanManager network: both the nodes are natty 11.04 64bit running Diablo milestone (2011.3~
One of the node runs the nova-sheduler and the nova-network services.
It has the following network related flags:
--network_
--flat_
--flat_
--fixed_
--iscsi_
--vlan_
--flat_
--public_
The other runs nova-compute and has the following network related flags:
--network_
--flat_
--flat_
--fixed_
--iscsi_
--vlan_
--flat_
--public_
--logdir=
--state_
--verbose
If I check the registered vlan config on this node I got:
root@beta:~# nova-manage config list|grep vlan
--vlan_
--vlan_start=100
If i look in the nova-compute.log, at service startup i can see:
2011-08-24 10:18:59,542 DEBUG nova [-] find_host_timeout : 30 from (pid=3460) serve /usr/lib/
2011-08-24 10:18:59,542 DEBUG nova [-] vlan_interface : eth4 from (pid=3460) serve /usr/lib/
2011-08-24 10:18:59,542 DEBUG nova [-] aws_access_key_id : admin from (pid=3460) serve /usr/lib/
But when i deploy a vm from a project who is placed on vlan 12, in the same log I can see:
2011-08-24 10:21:45,862 DEBUG nova.linux_net [-] Starting VLAN inteface vlan12 from (pid=3460) ensure_vlan /usr/lib/
2011-08-24 10:21:45,862 DEBUG nova.utils [-] Running cmd (subprocess): sudo vconfig set_name_type VLAN_PLUS_
2011-08-24 10:21:45,907 DEBUG nova.utils [-] Running cmd (subprocess): sudo vconfig add eth0 12 from (pid=3460) execute /usr/lib/
2011-08-24 10:21:45,921 DEBUG nova.utils [-] Running cmd (subprocess): sudo ip link set vlan12 up from (pid=3460) execute /usr/lib/
2011-08-24 10:21:45,937 DEBUG nova.utils [-] Attempting to grab semaphore "ensure_bridge" for method "ensure_bridge"... from (pid=3460) inner /usr/lib/
2011-08-24 10:21:45,937 DEBUG nova.utils [-] Attempting to grab file lock "ensure_bridge" for method "ensure_bridge"... from (pid=3460) inner /usr/lib/
2011-08-24 10:21:45,938 DEBUG nova.utils [-] Running cmd (subprocess): ip link show dev br12 from (pid=3460) execute /usr/lib/
2011-08-24 10:21:45,943 DEBUG nova.utils [-] Result was 255 from (pid=3460) execute /usr/lib/
2011-08-24 10:21:45,944 DEBUG nova.linux_net [-] Starting Bridge interface for vlan12 from (pid=3460) ensure_bridge /usr/lib/
the compute node uses eth0 to create the vlan instead of eth4.
In this case eth0 is both the default value and the controller node's vlan_interface value.
Am i missing some further flag in my nova.conf?
Thanks
Giuseppe
Changed in nova: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Vish Ishaya (vishvananda) |
Changed in nova: | |
milestone: | none → essex-4 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
plan: reduce flat_interface and vlan_interface to bridge_interface. Default these flags to none. If the flag is specified it will override the value in the table. Upon network creation the flag will only be used if the --bridge_interface parameter is not passed.