If a port is deleted right before _bind_devices is called,
get_ports_attributes will throw an exception since the row
corresponding to the port doesn't exist in the OVS DB.
Avoid that setting if_exists to True. The port will be
processed as deleted by the agent in the following iteration.
Reviewed: https:/ /review. openstack. org/217272 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1b25e30800c 869dacca58afa6b 8bf92f4cf9d377
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1b25e30800c869d acca58afa6b8bf9 2f4cf9d377
Author: rossella <email address hidden>
Date: Wed Aug 26 16:06:25 2015 +0000
_bind_devices query only existing ports
If a port is deleted right before _bind_devices is called, ports_attribute s will throw an exception since the row
get_
corresponding to the port doesn't exist in the OVS DB.
Avoid that setting if_exists to True. The port will be
processed as deleted by the agent in the following iteration.
Change-Id: Ia6590d76f8683e 6cba562cde3c39b 051549f6c04
Closes-bug: #1489014