Merge "Router synch shouldn't return unrelated routers" into stable/rocky

This commit is contained in:
Zuul 2020-05-20 04:04:46 +00:00 committed by Gerrit Code Review
commit 4aef2fa67d
1 changed files with 2 additions and 2 deletions

View File

@ -435,10 +435,10 @@ class L3_DVRsch_db_mixin(l3agent_sch_db.L3AgentSchedulerDbMixin):
"serviceable ports in host %(host)s",
{'router_ids': result_set,
'host': agent_db['host']})
for dvr_router in dvr_routers:
for router_id in router_ids:
result_set |= set(
self._get_other_dvr_router_ids_connected_router(
context, dvr_router))
context, router_id))
LOG.debug("Router IDs %(router_ids)s for agent in host %(host)s",
{'router_ids': result_set,