← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1173463] Re: Incorrect logic in OVSQuantumAgent.port_unbound method

 

** Changed in: quantum/grizzly
       Status: Fix Committed => Fix Released

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

Title:
  Incorrect logic in OVSQuantumAgent.port_unbound method

Status in OpenStack Quantum (virtual network service):
  Fix Released
Status in quantum grizzly series:
  Fix Released

Bug description:
  The following piece of code could throw KeyError while intention was to avoid that:
  https://github.com/openstack/quantum/blob/master/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py#L475

          if lvm.network_type == 'gre':
              if self.enable_tunneling:
                  # remove inbound unicast flow
                  self.tun_br.delete_flows(tun_id=lvm.segmentation_id,
                                           dl_dst=lvm.vif_ports[vif_id].vif_mac)

          if vif_id in lvm.vif_ports:
              del lvm.vif_ports[vif_id]

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