aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/haproxy/tasks/start.yml
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake1-37/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-05-13add support for non-default database_port in kolla/ansibleWaldemar Znoinski1-1/+1
This change makes each step of the kolla deployment aware of the port database was configured to listen on. It defaults mariadb_port to database_port. Change-Id: I8e85d5732015afc0a5481cb33e0b629fdfa84a1b Closes-Bug: #1576151 DocImpact
2016-05-03map the host localtime to the containerJeffrey Zhang1-0/+2
Closes-Bug: #1577148 Change-Id: I636cefc63cf532434a41af3898b63dffa711e280
2016-02-26Change kolla_internal_address variableSamYaple1-1/+3
Due to poor planning on our variable names we have a situation where we have "internal_address" which must be a VIP, but "external_address" which should be a DNS name. Now with two vips "external_vip_address" is a new variable. This corrects that issue by deprecating kolla_internal_address and replacing it with 4 nicely named variables. kolla_internal_vip_address kolla_internal_fqdn kolla_external_vip_address kolla_external_fqdn The default behaviour will remain the same, and the way the variable inheritance is setup the kolla_internal_address variable can still be set in globals.yml and propogate out to these 4 new variables like it normally would, but all reference to kolla_internal_address has been completely removed. Change-Id: I4556dcdbf4d91a8d2751981ef9c64bad44a719e5 Partially-Implements: blueprint ssl-kolla
2016-02-19Make Heka collect HAProxy and Keepalived logsÉric Lemoine1-0/+2
Partially implements: blueprint heka Change-Id: I7e2bf4e520fa14fd40e3b329f3b2998ae6ea47f4
2016-02-17Move haproxy socket to volumeSamYaple1-11/+11
Partial-Bug: #1544545 Change-Id: I292bcaeacb080ff4c5ab6b42b7d899039d6b19c4
2015-12-31Convert haproxy to kolla_dockerSamYaple1-29/+9
Change-Id: Iff39395010f47099e7dbbb9ddf7c014756455e91 Partially-Implements: blueprint kolla-docker-module
2015-12-26Fix file permissionsSamYaple1-0/+0
Throughout the project overtime some of these file permissions have changed to have an executable bit. They should not have this bit set. TrivialFix Change-Id: I1748b5bde813a0fcac36aeecdfd83245b8ee5be3
2015-10-14Add tty to containersSam Yaple1-0/+2
sudo requires a tty to function by default on centos. Instead of tweaking the sudo conf we can just add a tty. This has the added advantage of making the containers more friendly if you have to `docker exec -i <container> bash` into them. Change-Id: If97a02ca1d37c243a787d98ade54bde8d641aecd backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-13Bump ansible to 1.9.2Sam Yaple1-2/+0
Ansible 1.9.2 contains the fix needed for docker-py >1.2.0 This is needed for some gate reasons, but it is also a good version bump because it fixes a few issues with delegate_to. Change-Id: Iafbabb3b0232620849d0548c5cd9d8d316c2b0f3 backport: liberty Partially-Implements: blueprint functional-testing-gate
2015-10-06Bring Kolla inline with FHSSam Yaple1-3/+3
This brings Kolla images inline with FHS and should make finding locations of things more consistent and reliable with the linux world at large. Change-Id: Iece5b4da4bace0fb8b1f41a65ab2c852ec73e6f8 Closes-Bug: #1485742
2015-09-25Replace config-external - haproxy keepalivedSam Yaple1-2/+2
Change-Id: I668c31401305713e720f0f0ae8ec18e320ea1c76 Partially-Implements: blueprint replace-config-external
2015-09-10Ansible does not wait for virtual IP to appearVladislav Belogrudov1-0/+3
VIP takes time (10-30 seconds) to appear on one of network nodes. Ansible does not wait for the VIP and starts keystone. The latter fails because it cannot connect to database thru the VIP. Change-Id: Ie951ee22565bdbe8ccb68522648758a7174ba156 Closes-Bug: #1494253
2015-08-19Load ip_vs module for keepalivedWilliam Frischemeier1-0/+1
If ip_vs is not loaded keepalived will enter a restart loop. To fix that load ip_vs module every time we start the container. Change-Id: I6b39d8654cc6a6da7a9162e5c3efab073746b246 Closes-Bug: #1486276
2015-08-13Remove bootstrap.yml abstraction for haproxySam Yaple1-13/+34
Change-Id: Ia7328ff96ba22db1b132bfefaa433af9dc666cbf Partially-Implements: blueprint remove-abstraction-ansible
2015-08-05Add check_script for haproxy in keepalivedSam Yaple1-0/+2
This patch checks that haproxy is alive and running. It does this by using socat to talk to the haproxy socket. That socket will only respond successfully when haproxy is active and functional. Change-Id: I528588d5742071103c28109a69842a6f935232c2 Closes-Bug: #1478570
2015-07-30Add keepalived to ansibleSam Yaple1-0/+10
Adds the needed ansible bits to support keepalived Closes-Bug: #1479934 Change-Id: Iace29b23a0e923b1f5dc9a4f5bc0f88afce3ae62 Partially-Implements: blueprint ansible-service
2015-07-28Ansible install of HAProxyMichal Jastrzebski (inc0)1-0/+14
This commit consists HAProxy ansible bits including config generation, container deployment and hot reloads. Closes-Bug: #1477915 Co-Authored-By: Sam Yaple <sam@yaple.net> Change-Id: Ie93fa68fdb6b2885889c992ff1267d38b68e0cbc Partially-implements: blueprint ansible-service