Bug 1278851
| Summary: | [RFE] Disable sticky session for a particular route | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ryan Howe <rhowe> |
| Component: | RFE | Assignee: | Ben Bennett <bbennett> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Johnny Liu <jialiu> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.0 | CC: | akokshar, aos-bugs, bbennett, erich, jokerman, mmccomas, pdwyer, pep, rhowe, sjr, sreber, tdawson, vwalek |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-18 13:04:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1267746 | ||
|
Description
Ryan Howe
2015-11-06 14:43:44 UTC
*** Bug 1316805 has been marked as a duplicate of this bug. *** *** Bug 1341053 has been marked as a duplicate of this bug. *** Update from the Customer: The control balance option at the route level could be an interested thing. It should be dealt with the pod affinity cookie : a) eg. if balance option is roundrobin or leastconn, there's no need of pod affinity cookie (I hope no creation) b) eg. if balance option is session affinity, it could be dealt with a pod affinity cookie I hope these 2 concepts balance option and management of pod affinity cookie will be processed together. Let us know when these features will be available in OSE v3.? version. The balance option just governs the first connection. Subsequent ones use the affinity cookie. We are unlikely to add this until after we support both OpenShift routes and the Kubernetes ingress object, which we are working on over the next couple of releases. There is a PR that provides the RFE you are seeking: https://github.com/openshift/origin/pull/11984 Set the annotation haproxy.router.openshift.io/disable_cookies to true on the route that you define and it will cause the router to disable session stickyness. This will be in 3.5. Moving this out of closed and attaching this to the 3.5 errata. |