healthchecks: check if fact is defined before checking its value
When checking if keystone/nova healthchecks are healthy, make sure the
registered fact is set (which can slip to a further retry if podman
inspect took too much time to execute).
That way, we process the retries without an error like found in the bug
report.
Reviewed: https:/ /review. opendev. org/726913 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=21d1f773c72 423765b8ec32275 1f4ab38b1a81a4
Committed: https:/
Submitter: Zuul
Branch: master
commit 21d1f773c724237 65b8ec322751f4a b38b1a81a4
Author: Emilien Macchi <email address hidden>
Date: Mon May 11 13:39:06 2020 -0400
healthchecks: check if fact is defined before checking its value
When checking if keystone/nova healthchecks are healthy, make sure the
registered fact is set (which can slip to a further retry if podman
inspect took too much time to execute).
That way, we process the retries without an error like found in the bug
report.
Change-Id: I9f5063c9c3b598 afd5bd01447f00a 1146a20f4c3
Closes-Bug: #1878063