[Openstack] Creating nova-network in Havana with doesn't respect specified VLAN number

Mike Smith mismith at overstock.com
Fri Nov 1 17:21:34 UTC 2013


I’m using nova-network with Havana and noticed an odd thing when creating networks.  When I create a network, either with “nova network-create” or “nova-manage network-create”, the VLAN number I specify isn’t being used.  Instead, it seems to be assigning only odd-numbered VLANs, which is causing my numbering to be off.  This is causing me problems, because I haven’t tagged those random VLANs on my equipment.

For example, the following command caused this network to be added with br811 and vlan811 bridge and interface instead of the expected br806 and vlan806:

# nova network-create —fixed-range-v4=10.14.126.0/24 —vlan=806 --dns1=10.14.4.21 --project-id=fbb371b9c5cb4f849c40a45eaacc4457 my_new_tenant


# ifconfig -a
…
br811     Link encap:Ethernet  HWaddr FA:16:3E:9E:89:64
          inet addr:10.14.126.1  Bcast:10.14.126.255  Mask:255.255.255.0

vlan811   Link encap:Ethernet  HWaddr FA:16:3E:9E:89:64
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1


# nova-manage network list
id      IPv4                    IPv6            start address   DNS1            DNS2            VlanID          project         uuid
…
7       10.14.126.0/24          None            10.14.126.3     10.14.4.21      None            811             fbb371b9c5cb4f849c40a45eaacc4457        20ab5507-abe3-457f-b66c-1891d1e62f87

This does not happen with my Folsom installation.   Any help would be appreciated.





________________________________

CONFIDENTIALITY NOTICE: This message is intended only for the use and review of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message solely to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify sender immediately by telephone or return email. Thank you.




More information about the Openstack mailing list