NSXV: Support session persistence with Octavia
Octavia breaks when listener is created before the pool, and session persistence is specified. Change-Id: I116871ce6fec12f099248e88ff560362f89c3d23
This commit is contained in:
parent
37d9fb4977
commit
b7f37fab84
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user