Wrong VLAN associated to the interface in the integration bridge in havana

asked 2014-02-11 08:36:31 -0500

desalvo gravatar image

Hi all, I'm trying to setup havana with VLANs, first on my controller node with a VLAN range of 300:305. The installation is performed via puppetlabs-openstack, which adds the following lines to /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini

[OVS]
vxlan_udp_port=4789
network_vlan_ranges=inter-vlan:300:305
tenant_network_type=vlan
enable_tunneling=False
integration_bridge=br-int
bridge_mappings=inter-vlan:br-ex

I tried to create an internal network, with segmentation_id 300 and an associated subnet, and it all worked fine:

neutron net-create internal --provider:network_type vlan --provider:physical_network inter-vlan \
        --provider:segmentation_id 300
neutron subnet-create internal 10.0.0.0/24 --name subnet-in

However, when I try to add an interface to the router and list the ports I see that the newly created port does not have the correct tag id 300 as I would have expected:

ovs-vsctl show
7751853a-2a99-49a6-a7c1-da779dd55cb2
    Bridge br-int
        Port br-int
            Interface br-int
                type: internal
        Port "qr-927d8b92-ea"
            tag: 3
            Interface "qr-927d8b92-ea"
                type: internal
    Bridge br-ex
        Port br-ex
            Interface br-ex
                type: internal
        Port "eth1"
            Interface "eth1"
    ovs_version: "1.11.0"

Am I missing something here? Thanks,

Alessandro

edit retag flag offensive close merge delete