aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/keepalived.pp
AgeCommit message (Collapse)AuthorFilesLines
2016-11-08Better way to ensure keepalived before haproxy.Sofer Athlan-Guyot1-4/+0
The lastest patchset of https://review.openstack.org/393361 was actually not working. The `if defined` idiom depends on *evaluation* order. At the time it's red in the haproxy.pp class, the line that loads the class 'haproxy' has still not yet been reached and thus the `defined` result is false. The constraint is not added. For this reason, the use of `defined` in module is not advised by puppetlabs[1]. [1] https://docs.puppet.com/puppet/latest/reference/function.html#defined Change-Id: Ibd352cb313f8863d62db8987419378bed5b87256 Relates-To: #1638029
2016-10-31Make sure keepalived is restarted before haproxy.Sofer Athlan-Guyot1-1/+4
When using SSL setup for undercloud, the admin and public vip required for ssl binding by haproxy are created by keepalived. This makes sure that keepalived is started before haproxy and thus that the interfaces are indeed present. This patch also ensures this is happening for overcloud ssl configuration. The case where another load-balancing technology other than haproxy is used is not covered. Closes-Bug: #1638029 Change-Id: I98cb0dcd7f389a1dd38ec8324429bfef4979aa66
2016-09-02Manage Redis VIP when deploying with keepalivedJiri Stransky1-0/+18
Previously we weren't creating Redis VIP in keepalived, causing Redis to be unusable in non-HA deployments. Change-Id: I0bb37f6fb3eed022288b2dcfc7a88e8ff88a7ace Related-Bug: #1618510
2016-05-26Explode loadbalancer role in 2 sub-rolesEmilien Macchi1-0/+144
Split loadbalancer role into 2 sub-roles: - HAproxy - Keepalived Change-Id: I84dfa9d409d390c6f549d62cb3634931e4cb432c