Monday, 2021-03-01

*** __ministry has joined #senlin01:19
*** __ministry1 has joined #senlin15:25
*** __ministry1 has quit IRC15:26
*** spatel has joined #senlin15:48
dtruongspatel When you see the LB pool being created by Senlin, what persistence is it using?16:40
dtruongI don't think Senlin is passing the persistence type to to the LB pool creation.  It should have happened here but it's not passing it into the create pool call: https://opendev.org/openstack/senlin/src/branch/master/senlin/drivers/os/lbaas.py#L16016:41
spatelI have SOURCE16:41
spatelI have SOURCE_IP so it should be SOURCE_IP16:42
spatellet me verify again before saying anything16:42
spateldtruong so you are saying we are not passing persistence value during lb create ?16:43
spatelso default should be "none"16:43
dtruongThat what it looks like to me when I look at the code17:00
spateldtruong building new lb to verify17:11
spatel| session_persistence  | None17:13
spatelYou are right, that piece is missing  :)17:13
spatelno matter what you set it always none that means we have bug there, let me try to fix it and send patch17:14
spateldtruong does it looks good to you - http://paste.openstack.org/show/803113/17:48
spatelI am getting error during pool creation17:49
spateldtruong it has nested variables - https://opendev.org/openstack/senlin/src/branch/master/senlin/policies/lb_policy.py#L18018:01
spatelshould i use PERSISTENCE_TYPE or SESSION_PERSISTENCE ?18:02
*** hamalq has joined #senlin19:24
*** spatel has quit IRC21:33
*** spatel has joined #senlin21:34
spateldtruong eandersson Here is the issue https://opendev.org/openstack/senlin/src/branch/master/senlin/policies/lb_policy.py#L18021:51
spatelEven if you set SOURCE_IP in profile COOKIE_NAME also getting set and pass to pool create21:51
spatelCOOKIE_NAME only required by APP_COOKIE otherwise it won't work21:52
spatelwe need to find a way which validate if session is SOURCE_IP then ignore COOKIE_NAME variable21:52
*** spatel has quit IRC23:00
dtruongIt doesn't work if we set the COOKIE_NAME when the persistence type is something other than APP_COOKIE?  The API doc makes it sound like it would ignore the COOKIE_NAME unless the type is APP_COOKIE: https://docs.openstack.org/api-ref/load-balancer/v2/?expanded=create-pool-detail#pool-session-persistence23:07

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!