← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1239889] Re: Quantum-openvswitch-agent failed to tag qvo port correctly on br-int

 

This bug should be fixed with https://review.openstack.org/#/c/61105/

** Changed in: neutron
       Status: Triaged => Fix Released

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

Title:
  Quantum-openvswitch-agent failed to tag qvo port correctly on br-int

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  Quantum ( 2013.1.3-1) OpenvSwicth agent fails to tag VLAN correctly
  for newly created VMs. The associated qvo port on the br-int is either
  not tagged or tagged incorrectly. This has caused dhcp pkts from
  bootpc to bootps being dropped by br-int and as the consequence, the
  newly created VM failed to obtain an IP from the name space. This is a
  repeatable symptom and all tests have been done on CentoS6.4 with RDO
  kernel and OVS is on 1.11.0.

  [root@wpc0053 ~]# ovs-vsctl show
  09bc35d4-3173-44f7-a22a-016a84adb33b
      Bridge br-int
          Port br-int
              Interface br-int
                  type: internal
          Port "qvo6df6049d-c8"  <--- vlan tag is missing for this VM as it should be tagged 1, just like other VMs
              Interface "qvo6df6049d-c8"
          Port "qvobbb3b159-38"
              tag: 1
              Interface "qvobbb3b159-38"
          Port "qvoc95abe73-57"
              tag: 1
              Interface "qvoc95abe73-57"
          Port "int-br-bond0"
              Interface "int-br-bond0"
      Bridge "br-bond0"
          Port "b0lacp"
              Interface "eth3"
              Interface "eth0"
              Interface "eth1"
              Interface "eth2"
          Port "phy-br-bond0"
              Interface "phy-br-bond0"
          Port "br-bond0"
              Interface "br-bond0"
                  type: internal
      ovs_version: "1.11.0"

  Stop the quantum-openvswitch-agent and the OVS will tag the qvo port
  correctly.

  [root@wpc0053 quantum]# service quantum-openvswitch-agent stop
  Stopping quantum-openvswitch-agent:                        [  OK  ]
  [root@wpc0053 quantum]# ovs-vsctl show
  09bc35d4-3173-44f7-a22a-016a84adb33b
      Bridge br-int
          Port br-int
              Interface br-int
                  type: internal
          Port "qvo6df6049d-c8" <--- Now this port is tagged correctly
              tag: 1
              Interface "qvo6df6049d-c8"
          Port "qvobbb3b159-38"
              tag: 1
              Interface "qvobbb3b159-38"
          Port "qvoc95abe73-57"
              tag: 1
              Interface "qvoc95abe73-57"
          Port "int-br-bond0"
              Interface "int-br-bond0"
      Bridge "br-bond0"
          Port "b0lacp"
              Interface "eth3"
              Interface "eth0"
              Interface "eth1"
              Interface "eth2"
          Port "phy-br-bond0"
              Interface "phy-br-bond0"
          Port "br-bond0"
              Interface "br-bond0"
                  type: internal
      ovs_version: "1.11.0"

  The flow has been inserted on br-int to map VLAN 1 to the provider
  switch VLAN 3059. Other VMs work as expected.

  [root@wpc0053 quantum]# ovs-ofctl dump-flows br-int
  NXST_FLOW reply (xid=0x4):
   cookie=0x0, duration=9568.957s, table=0, n_packets=12848, n_bytes=833445, idle_age=1, priority=3,in_port=17,dl_vlan=3059 actions=mod_vlan_vid:1,NORMAL
   cookie=0x0, duration=9632.964s, table=0, n_packets=87138, n_bytes=5387347, idle_age=0, priority=2,in_port=17 actions=drop
   cookie=0x0, duration=9654.396s, table=0, n_packets=1813, n_bytes=278951, idle_age=5, priority=1 actions=NORMAL

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