← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1346494] Re: l3 agent gw port missing vlan tag for vlan provider network

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1346494

Title:
  l3 agent gw port missing vlan tag for vlan provider network

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  Hi, I have a provider network with my floating NAT range on it and a vlan segmentation id:
  neutron net-show ext-net
  +---------------------------+--------------------------------------+
  | Field                     | Value                                |
  +---------------------------+--------------------------------------+
  | admin_state_up            | True                                 |
  | id                        | f8ea424f-fcbe-4d57-9f17-5c576bf56e60 |
  | name                      | ext-net                              |
  | provider:network_type     | vlan                                 |
  | provider:physical_network | datacentre                           |
  | provider:segmentation_id  | 25                                   |
  | router:external           | True                                 |
  | shared                    | False                                |
  | status                    | ACTIVE                               |
  | subnets                   | 391829e1-afc5-4280-9cd9-75f554315e82 |
  | tenant_id                 | e23f57e1d6c54398a68354adf522a36d     |
  +---------------------------+--------------------------------------+

  My ovs agent config:

  cat /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini 
  [DATABASE]
  sql_connection = mysql://.....@localhost/ovs_neutron?charset=utf8

  reconnect_interval = 2

  [OVS]
  bridge_mappings = datacentre:br-ex
  network_vlan_ranges = datacentre

  tenant_network_type = gre
  tunnel_id_ranges = 1:1000
  enable_tunneling = True
  integration_bridge = br-int
  tunnel_bridge = br-tun
  local_ip = 10.10.16.151

  
  [AGENT]
  polling_interval = 2

  [SECURITYGROUP]
  firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  root@ci-overcloud-controller0-ydt5on7wojsb:~# 

  But, the thing is, the port created in ovs is missing the tag:
      Bridge br-ex
          Port "qg-d8c27507-14"
              Interface "qg-d8c27507-14"
                  type: internal

  And we (As expected) are seeing tagged frames in tcpdump:
  19:37:16.107288 20:fd:f1:b6:f5:16 > ff:ff:ff:ff:ff:ff, ethertype 802.1Q (0x8100), length 68: vlan 25, p 0, ethertype ARP, Request who-has 138.35.77.67 tell 138.35.77.1, length 50

  rather than untagged frames for the vlan 25.

  Running ovs-vsctl set port qg-d8c27507-14 tag=25 makes things work,
  but the agent should do this, no?

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


References