Merge "Catch OVSFWTagNotFound in update_port_filter" into stable/queens

This commit is contained in:
Zuul 2020-07-17 06:53:04 +00:00 committed by Gerrit Code Review
commit aa7b64815c
1 changed files with 4 additions and 0 deletions

View File

@ -671,6 +671,10 @@ class OVSFirewallDriver(firewall.FirewallDriver):
# If port doesn't exist in ovsdb, lets ensure that there are no # If port doesn't exist in ovsdb, lets ensure that there are no
# leftovers # leftovers
self.remove_port_filter(port) self.remove_port_filter(port)
except exceptions.OVSFWTagNotFound as tag_not_found:
LOG.info("Tag was not found for port %(port_id)s: %(err)s.",
{'port_id': port['device'],
'err': tag_not_found})
def _set_port_filters(self, of_port): def _set_port_filters(self, of_port):
self.initialize_port_flows(of_port) self.initialize_port_flows(of_port)