StarlingX OpenStack Armada App
![]() 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 |
||
---|---|---|
enhanced-policies | ||
openstack-helm | ||
openstack-helm-infra | ||
python-k8sapp-openstack | ||
stx-openstack-helm | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_pkg_dirs | ||
centos_pkg_dirs_containers | ||
centos_tarball-dl.lst | ||
debian_build_layer.cfg | ||
debian_pkg_dirs | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |