RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Michele Baldessari db2d6f7198 Use on-marked-down shutdown-sessions for redis haproxy conf
The problem we have with redis can be described as follows:
- Connection is made to redis via haproxy, where haproxy directs to one redis node
- That chosen redis node fails and a new redis node gets promoted
- HAProxy will send *new* connections to redis to the newly promoted
  redis server, but you still have a session active (ie. that has not hit
  timeout), so haproxy will attempt to use that connection.

By using 'on-marked-down shutdown-sessions' we make sure we close
old existing sessions when the redis master node changes.

NB: Cherry-pick not 100% clean due to some context differences

Closes-Bug: #1742086
Tested-By: Marian Krcmarik <mkrcmari@redhat.com>

Change-Id: Ia4d8c27057ee2de9e49e4358aa069571d1c952a9
(cherry picked from commit dbfc8e1c1d)
(cherry picked from commit 3eebb0b00b)
(cherry picked from commit 507fd3a69f)
2018-01-24 22:54:09 +01:00
lib Handle duplicate/invalid entries in migration SSH inbound addresses 2017-10-10 15:18:58 +01:00
manifests Use on-marked-down shutdown-sessions for redis haproxy conf 2018-01-24 22:54:09 +01:00
releasenotes/notes Allow to configure snmpd_config 2017-10-10 13:21:08 +00:00
spec Create dedicated "apache" base profile 2018-01-12 00:30:18 +00:00
templates Add Docker Registry profile 2017-03-03 13:24:11 +00:00
zuul.d Remove RH1 OVB jobs from configuration 2018-01-22 20:45:15 +00:00
.gitignore Update gitignore not to exclude fixture hieradata 2017-05-19 14:07:40 -04:00
.gitreview Update .gitreview for stable/newton 2016-09-29 12:59:16 -04:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
Gemfile Use stable/newton for puppet-openstack_spec_helper. 2016-11-11 14:33:58 +00:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Puppetfile: pin puppetlabs-haproxy to 1.5 (latest newton) 2017-11-21 17:53:09 +00:00
README.md README: basic words for now. 2015-02-02 11:46:31 -05:00
Rakefile Switch puppet-tripleo to use puppet-openstack_spec_helper 2016-09-22 21:26:23 -04:00
bindep.txt [newton] Add Puppet package to bindep, for module build 2017-10-27 13:50:11 -07:00
metadata.json Prepare 5.6.8 (newton) 2018-01-23 10:31:47 -08:00

README.md

puppet-tripleo

Lightweight composition layer for Puppet TripleO.