Bug 1655151 - Director deployed OCP 3.11: use source balance instead of balance roundrobin
Summary: Director deployed OCP 3.11: use source balance instead of balance roundrobin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 14.0 (Rocky)
Assignee: Marius Cornea
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-30 18:44 UTC by Marius Cornea
Modified: 2019-01-11 11:55 UTC (History)
8 users (show)

Fixed In Version: puppet-tripleo-9.3.1-0.20181010034754.157eaab.el7ost openstack-tripleo-heat-templates-9.0.1-0.20181013060898.el7ost
Doc Type: Bug Fix
Doc Text:
The OpenStack Director previously configured HAProxy load-balancing with roundrobin instead of source balance, which resulted in sticky sessions failures. After this fix, the Director uses source balance for load-balancing in the HAProxy configuration, and sticky sessions run as expected.
Clone Of:
Environment:
Last Closed: 2019-01-11 11:55:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 621260 0 None MERGED Set balance to source for openshift_master endpoints 2020-06-30 19:17:34 UTC
OpenStack gerrit 621261 0 None MERGED Set balance to source for openshift_router endpoints 2020-06-30 19:17:34 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:55:13 UTC

Description Marius Cornea 2018-11-30 18:44:05 UTC
Description of problem:
Currently the haproxy loadbalancer set by TripleO uses balance roundrobin. According to this Openshift HA configuration example[1] it uses balance source for both the API and the router backends. This way we ensure that all traffic from a user’s session goes to the same node(sticky sessions).

[1] https://blog.openshift.com/keeping-both-of-your-openshift-container-platforms-highly-available-with-keepalived-and-haproxy/

Version-Release number of selected component (if applicable):
puppet-tripleo-9.3.1-0.20181010034751.157eaab.el7ost.noarch

Comment 1 Martin André 2018-12-03 12:53:49 UTC
Assigning this to you Marius since you're already provided the patches upstream. Feel free to reassign to me to get the patches in a downstream build.

Comment 15 errata-xmlrpc 2019-01-11 11:55:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045


Note You need to log in before you can comment on or make changes to this bug.