mirror of
https://github.com/optim-enterprises-bv/openstack-helm.git
synced 2025-12-25 17:27:33 +00:00
On some services it looks like the parent pid does not connect to rabbitmq and its the children the ones that do instead, for example in nova-scheduler from rocky version onwards. The current health check only checks for the main parent pid to see if it has an active connection to the rabbitmq port. This patch adds a flag to allow the health probe to check all processes for the mysql/rabbit connection instead of skipping any children process. It also enables it by default for nova-scheduler as it wont affect older versions than only run 1 process, but will work on later versions where the main process forks. Change-Id: I9677fd2aff11b563ab18059927ca12d5ace107ce