yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42556
[Bug 1499821] Re: ovs_lib.OVSBridge.get_ports_attributes returns all ports in case there's no ports on the OVSBridge in question
** Changed in: neutron
Status: Fix Committed => 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/1499821
Title:
ovs_lib.OVSBridge.get_ports_attributes returns all ports in case
there's no ports on the OVSBridge in question
Status in neutron:
Fix Released
Bug description:
If OVSBridge.get_ports_attributes is executed on an empty bridge,
get_port_name_list will return an empty list. In which case,
ovsdb.db_list is executed with port_names = [], meaning that it will
return all ports, instead of no ports.
The implication is that if, for example, br-ex (An ancillary bridge in
the OVS agent) is currently empty, then scan_ancillary_ports will pick
up all ports. All ports on the system will be considered
ancillary_ports, which is unexpected and can result in ports going
DOWN when they shouldn't.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1499821/+subscriptions
References