Merge "Pass elevated admin context when fetching snat router for FIP to unbound port"

This commit is contained in:
Zuul 2018-12-27 18:32:49 +00:00 committed by Gerrit Code Review
commit ae33070106
1 changed files with 1 additions and 1 deletions

View File

@ -1192,7 +1192,7 @@ class L3_NAT_with_dvr_db_mixin(_DVRAgentInterfaceMixin,
context, [router_id], dest_host)
else:
centralized_agent_list = self.list_l3_agents_hosting_router(
context, router_id)['agents']
context.elevated(), router_id)['agents']
for agent in centralized_agent_list:
self.l3_rpc_notifier.routers_updated_on_host(
context, [router_id], agent['host'])