diff --git a/vmware_nsx/services/lbaas/nsx_v/implementation/pool_mgr.py b/vmware_nsx/services/lbaas/nsx_v/implementation/pool_mgr.py index 344f9f6b47..1643938e6f 100644 --- a/vmware_nsx/services/lbaas/nsx_v/implementation/pool_mgr.py +++ b/vmware_nsx/services/lbaas/nsx_v/implementation/pool_mgr.py @@ -80,6 +80,8 @@ class EdgePoolManagerFromDict(base_mgr.EdgeLoadbalancerBaseManager): # This action also set this pool as the default pool of the # listener, so the application profile may need to be updated if pool['session_persistence']: + if not pool['listener'].get('default_pool'): + pool['listener']['default_pool'] = pool listener_mgr.update_app_profile( self.vcns, context, pool['listener'], edge_id)