StarlingX OpenStack Armada App
Go to file
Arthur Luz de Avila abdf99ad03 Update RabbitMQ probes
The healthcheck used to liveness and readiness probes is considered
intrusive and can produce false positives[0]. It's just returning that
the pod is healthy if it's fully booted and whether the pod is waiting
for a peer to appear to sync tables, it cannot succeed and eventually
enters into a pod restart deadlock.
The command is also deprecated and will be removed in future version.
Updating the probes based on current recommenation from community[1].
Because of that, we change the liveness to check the rabbit connection
to check if the rabbit is connected and running and also changed the
readiness to ping the pod after boot to see if it's ready.

Ref:
[0] https://www.rabbitmq.com/monitoring.html#deprecations
[1] https://www.rabbitmq.com/monitoring.html#health-checks

Test plan:
PASS: Close rabbitmq connection inside pod and verify if Liveness fail
and rebooted the pod.
PASS: Readiness check pod state and verify if can ping it to check if
the pod is health after get up.
PASS: Build on Debian

Story: 2009892
Task: 44674

Signed-off-by: Arthur Luz de Avila <arthur.luzdeavila@windriver.com>
Change-Id: Ib98df7e1135b7b5cee50d63a9ab06eb4a961cd4b
2022-03-10 11:49:25 +00:00
enhanced-policies Update on enhanced-policies README 2021-12-02 16:53:10 +00:00
openstack-helm Debian reenable opentack-helm/openstack-helm-infra 2022-02-15 20:18:04 -03:00
openstack-helm-infra Update RabbitMQ probes 2022-03-10 11:49:25 +00:00
python-k8sapp-openstack Merge "Add method to check if OpenStack is HTTPS ready" 2022-03-01 00:13:28 +00:00
stx-openstack-helm Update RabbitMQ probes 2022-03-10 11:49:25 +00:00
.gitignore Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00
.gitreview Add a .gitreview file to the new repo 2019-09-09 08:42:46 -05:00
.zuul.yaml Add py27 and py36 tox jobs to Zuul 2022-02-23 12:58:51 -03:00
bindep.txt Add python3.9 support 2021-09-09 11:27:54 -04:00
centos_build_layer.cfg Build layering, add layer build config file and tarball lst 2019-10-15 15:12:28 +08:00
centos_pkg_dirs Enable helm/armada plugin delivery with the application 2020-05-27 15:05:02 -04:00
centos_pkg_dirs_containers Config file changes to add 'stx-openstack-helm helm-charts/garbd helm-charts/nginx-ports-control ' after relocation from 'stx-config' 2019-09-04 10:55:02 -04:00
centos_tarball-dl.lst Update openstack-helm commit 2021-11-09 17:15:54 +00:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:10:38 -04:00
debian_pkg_dirs Add Debian packaging for openstack app 2021-12-06 12:59:32 -06:00
requirements.txt Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00
test-requirements.txt Attempting to add zuul jobs to new repo 2019-09-09 12:25:17 -05:00
tox.ini Re-enable important py3k checks for openstack-armada-app 2021-09-28 19:57:01 +00:00