Merge "[OVN] Do not delete twice the agent from the cache" into stable/2023.2
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user