aboutsummaryrefslogtreecommitdiff
path: root/docker/keepalived/check_alive.sh
AgeCommit message (Collapse)AuthorFilesLines
2026-07-06Migrate to pyproject.tomlMichal Nasiadka1-33/+0
[tool.setuptools.data-files] does not support recursive directory installation. The old setup.cfg [files] worked because PBR's FilesConfig.expand_globs() used os.walk() to expand docker/*, but this hook is not triggered by the pbr.build PEP-517 backend. Move docker/ into kolla/ and use [tool.setuptools.package-data] instead. Update kolla_worker._get_images_dir() to check the kolla package directory first so both editable and regular installs work. Change-Id: I4fc452c03740ef22ebbb4e8d0d86c4f4783e2d09 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
2023-06-27keepalived: remove legacy check_alive.sh entryMichal Nasiadka1-5/+0
Change-Id: I52c83428cf0c78b02e2ecd7921cf896acd6b0936
2022-04-21Add support for checking more daemonsMichal Arbet1-2/+34
This patch is changing the way how keepalived checks daemons liveness. Check_alive.sh will find checks for daemons which are copied by kolla-ansible and return 0/1 if alive/down. This patch is required for proxysql HA. Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/770215 Change-Id: I68836918466beb572e42ffedce127747290ad481
2017-08-07Prevent check haproxy script from generating meaningless logsJeffrey Zhang1-1/+1
Redirect the logs into /dev/null. Otherwise, it will be collected by docker engine, which is meaningless. Change-Id: I7d1d4cac61e62144bc11c26e7b00fc21037eb8d1 Closes-Bug: #1708097
2016-02-17Move haproxy socket to volumeSamYaple1-1/+1
Partial-Bug: #1544545 Change-Id: I292bcaeacb080ff4c5ab6b42b7d899039d6b19c4
2015-10-06Common start.shSam Yaple1-0/+0
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
2015-08-28Move docker_templates to docker dirSam Yaple1-0/+6
Updated build.py to reflect this change. Deprecate --template option and make it a noop. Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2 Partially-Implements: blueprint remove-docker-dir