From 479d0b9419845ab26858fb301c78f6ee61e7177e Mon Sep 17 00:00:00 2001 From: asarfaty Date: Thu, 25 Feb 2021 11:21:14 +0200 Subject: [PATCH] NSX|P: Fix LB creation with differnet router owner Change-Id: I992d191065791b78211b21b700233c1e09a0d18b --- .../services/lbaas/nsx_p/implementation/loadbalancer_mgr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmware_nsx/services/lbaas/nsx_p/implementation/loadbalancer_mgr.py b/vmware_nsx/services/lbaas/nsx_p/implementation/loadbalancer_mgr.py index 9627305a49..b10b3aa10f 100644 --- a/vmware_nsx/services/lbaas/nsx_p/implementation/loadbalancer_mgr.py +++ b/vmware_nsx/services/lbaas/nsx_p/implementation/loadbalancer_mgr.py @@ -83,7 +83,8 @@ class EdgeLoadBalancerManagerFromDict(base_mgr.NsxpLoadbalancerBaseManager): # Create the Tier1 service router if it does not exist if not self.core_plugin.service_router_has_services( context.elevated(), router_id): - self.core_plugin.create_service_router(context, router_id) + self.core_plugin.create_service_router( + context.elevated(), router_id) if not lb_service: lb_name = p_utils.get_service_lb_name(lb, router_id)