ef2260441d
The delete_port() method from OVNClient has a potential problem of leaving stale ports when RowNotFound is raised from the process to delete the port from the OVN database. Since the exception is not granular enough, the RowNotFound could be raised from other objects that are part of the same transaction (such as ACLs, DNS entries, etc...) resulting in the revision for the port being deleted even tho the port is still in the database. Instead of giving a pass on the RowNotFound exception, this patch is logging the error and re-raising it without deleting the revision. Change-Id: I25b93b7c080403fc38365b638e4e03298b447d0f Partial-Bug: #1874733 Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com> |
||
---|---|---|
.. | ||
mech_driver | ||
__init__.py |