apache / apache/cloudstack

Load balancer appcookie configuration deprecated in HAproxy

Open
#3,253 3 comments 0 reactions 0 assignees Claimed by @sureshanaparti View on GitHub
Severity:Major status:stale type:cleanup type:improvement
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

##### ISSUE TYPE
* Improvement Request

##### COMPONENT NAME
* ACS 4.11.x VR load balancing with AppCookie stickiness

##### CLOUDSTACK VERSION
* ACS 4.11.x

##### CONFIGURATION
* Advanced zone, guest isolated network with LB configuration on public IP

##### OS / ENVIRONMENT
* N/A

##### SUMMARY
* AppCookie configuration is deprecated in HAproxy
* https://cbonte.github.io/haproxy-dconv/1.7/configuration.html#appsession

##### STEPS TO REPRODUCE
* Create new LB rule with AppCookie stickiness
* Observe haproxy logs on VR stating:
03:59:09 r-1667-VM haproxy[40552]: [ALERT] 090/035909 (40552) : parsing [/etc/haproxy/haproxy.cfg:38] : 'appsession' is not supported anymore, please check the documentation.

##### EXPECTED RESULTS
* N/A

##### ACTUAL RESULTS
* Error as above

Contributor guide

Open the contributing guide

Research direction

Start with the generated /etc/haproxy/haproxy.cfg and the appsession configuration described in the issue, then review the linked pull request for the current approach. Reproduce the AppCookie stickiness setup and verify that HAProxy no longer reports that appsession is unsupported.

Written by the indexing model from the issue text.

Assessment

Domain
infrastructure, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.