Merge "[OVN] Do not delete twice the agent from the cache" into stable/2023.2

This commit is contained in:
Zuul
2025-03-18 18:36:56 +00:00
committed by Gerrit Code Review

View File

@@ -1486,11 +1486,6 @@ def delete_agent(self, context, id, _driver=None):
'SB_Global', '.', 'external_ids', delete_agent=str(id),
if_exists=True).execute(check_error=True)
try:
n_agent.AgentCache().delete(id)
except KeyError:
LOG.debug('OVN agent %s has been deleted concurrently', id)
def get_availability_zones(cls, context, _driver, filters=None, fields=None,
sorts=None, limit=None, marker=None,