Lbaasv2 cookie sessions not working as haproxy( which is backend for lbaas) no longer supports appsession
Bug #1640882 reported by
kishore surapathi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Invalid
|
Medium
|
Unassigned |
Bug Description
I have deployed lbaasv2 and launched bunch of load balancers.
For one of them, I need to configure cookie sessions. When I added it through cli
neutron lbaas-pool-update poolid --session-
I see errors in logs stating "appsession" is no longer supported by haproxy
Seems appsession is deprecated in haproxy but lbaas still uses it configure the sessions in the backedn haproxy configs
Tried editing it manually in backend but lbaas quickly overwrites it.
Confirmed, this "appsession" option was removed in haproxy >= 1.6 per http:// cbonte. github. io/haproxy- dconv/1. 6/configuration .html#4. 2-appsession
The namespace haproxy driver jinja needs to be updated to use stick tables instead of appsession.
This jinja can probably be copied from the octavia driver as it uses the stick table syntax.