aboutsummaryrefslogtreecommitdiff
path: root/docker/haproxy/extend_start.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-03-30Start the haproxy by using haproxy-system-wrapperJeffrey Zhang1-19/+0
haproxy-system-wrapper is a solution for systemd from upstream. it can handle the reload graceful. Change-Id: I6a3d141af065e429bd1be1b7252f5c6df1fda3bb Closes-Bug: #1559238
2016-03-20Merge "Fix race condition in haproxy"Jenkins1-4/+9
2016-03-16Fix race condition in haproxyMD NADEEM1-4/+9
The time period between getting pid of haproxy service and checking existance of pid file is very short, if with in this period haproxy service get reload then the race condition occured and container get exit as extend_start.sh script exit. To minimize the risk of race condition, this patch let the extend_start.sh script to try upto 3 times before exit. Closes-Bug: #1479888 Change-Id: I2f9b7ec832dec8d94a2cdd27ca8a212d0c65a60d
2016-03-15Move sysctl out of haproxy containerSamYaple1-3/+0
sysctl was improperly set in the contaienr itself which is not correct TrivialFix Change-Id: If2ffca6d2a40e86db4af2f103a27b280bc5fa2ff
2016-03-13Fix false alert messages in HAProxy logsVikram Hosakote1-0/+4
Bug #1549753 raises false alarm about haproxy to the operator and monitoring tools even though haproxy is running fine and there is no issue. haproxy uses UDP datagram socket for logging and the default queue length of 10 datagrams causes false alert messages in haproxy logs. This patch set fixes this bug by increasing the queue length to 128. Test results of the fix in this patch set are at http://paste.openstack.org/show/490302/. Change-Id: I64fdd17cd278d51616aa0dfa4e8d2a422c8ee630 Closes-Bug: #1549753
2015-10-06Common start.shSam Yaple1-0/+13
The majority of the start.sh code is identical. This removes that duplicate code while still maintaining the ability to call code in a specific container. The start.sh is moved into /usr/local/bin/kolla_start in the container The extend_start.sh script is called by the kolla_start script at the location /usr/local/bin/kolla_extend_start . It always exists because we create a noop kolla_extend_start in the base directory. We override it with extend_start.sh in a specific image should we need to. Of note, the neutron-agents container is exempt from this new structure due to it being a fat container. Additionally, we fix the inconsistent permissions throughout. 644 for repo files and the scripts are set to 755 via a Docker RUN command to ensure someones local perm change won't break upstream containers. Change-Id: I7da8d19965463ad30ee522a71183e3f092e0d6ad Closes-Bug: #1501295