Lbaasv2 cookie sessions not working as haproxy( which is backend for lbaas) no longer supports appsession

Bug #1640882 reported by kishore surapathi
6
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-persistence type=dict type=APP_COOKIE,cookie_name=sessionid

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.

tags: added: lbaas
Revision history for this message
Michael Johnson (johnsom) wrote :

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.

Changed in neutron:
status: New → Triaged
importance: Undecided → Medium
affects: neutron → octavia
Revision history for this message
Gregory Thiemonge (gthiemonge) wrote : auto-abandon-script

Abandoned after re-enabling the Octavia launchpad.

Changed in octavia:
status: Triaged → Invalid
tags: added: auto-abandon
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.