← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2009804] [NEW] [OVN] Method ``get_port_qos`` should always return 2 values

 

Public bug reported:

The method ``neutron.agent.ovn.agent.ovsdb.get_port_qos`` should always
return 2 values. This is not happening in the (very rare) case of not
finding the port logical_switch_port. In this case [1] we are only
returning one value (an empty dictionary).

[1]https://github.com/openstack/neutron/blob/50dc9dd24377ddb04bcb7fc9be362894b6ed1490/neutron/agent/ovn/agent/ovsdb.py#L165

** Affects: neutron
     Importance: Medium
         Status: Confirmed


** Tags: low-hanging-fruit ovn

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

Title:
  [OVN] Method ``get_port_qos`` should always return 2 values

Status in neutron:
  Confirmed

Bug description:
  The method ``neutron.agent.ovn.agent.ovsdb.get_port_qos`` should
  always return 2 values. This is not happening in the (very rare) case
  of not finding the port logical_switch_port. In this case [1] we are
  only returning one value (an empty dictionary).

  [1]https://github.com/openstack/neutron/blob/50dc9dd24377ddb04bcb7fc9be362894b6ed1490/neutron/agent/ovn/agent/ovsdb.py#L165

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



Follow ups