Public bug reported: If OVSBridge.get_ports_attributes is executed on an empty bridge, get_port_name_list will return an empty string. 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. ** Affects: neutron Importance: Undecided Status: New -- 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: New Bug description: If OVSBridge.get_ports_attributes is executed on an empty bridge, get_port_name_list will return an empty string. 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp