*** __ministry has joined #senlin | 01:19 | |
*** __ministry1 has joined #senlin | 15:25 | |
*** __ministry1 has quit IRC | 15:26 | |
*** spatel has joined #senlin | 15:48 | |
dtruong | spatel When you see the LB pool being created by Senlin, what persistence is it using? | 16:40 |
---|---|---|
dtruong | I 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#L160 | 16:41 |
spatel | I have SOURCE | 16:41 |
spatel | I have SOURCE_IP so it should be SOURCE_IP | 16:42 |
spatel | let me verify again before saying anything | 16:42 |
spatel | dtruong so you are saying we are not passing persistence value during lb create ? | 16:43 |
spatel | so default should be "none" | 16:43 |
dtruong | That what it looks like to me when I look at the code | 17:00 |
spatel | dtruong building new lb to verify | 17:11 |
spatel | | session_persistence | None | 17:13 |
spatel | You are right, that piece is missing :) | 17:13 |
spatel | no matter what you set it always none that means we have bug there, let me try to fix it and send patch | 17:14 |
spatel | dtruong does it looks good to you - http://paste.openstack.org/show/803113/ | 17:48 |
spatel | I am getting error during pool creation | 17:49 |
spatel | dtruong it has nested variables - https://opendev.org/openstack/senlin/src/branch/master/senlin/policies/lb_policy.py#L180 | 18:01 |
spatel | should i use PERSISTENCE_TYPE or SESSION_PERSISTENCE ? | 18:02 |
*** hamalq has joined #senlin | 19:24 | |
*** spatel has quit IRC | 21:33 | |
*** spatel has joined #senlin | 21:34 | |
spatel | dtruong eandersson Here is the issue https://opendev.org/openstack/senlin/src/branch/master/senlin/policies/lb_policy.py#L180 | 21:51 |
spatel | Even if you set SOURCE_IP in profile COOKIE_NAME also getting set and pass to pool create | 21:51 |
spatel | COOKIE_NAME only required by APP_COOKIE otherwise it won't work | 21:52 |
spatel | we need to find a way which validate if session is SOURCE_IP then ignore COOKIE_NAME variable | 21:52 |
*** spatel has quit IRC | 23:00 | |
dtruong | It 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-persistence | 23:07 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!