diff options
author | juanvallejo <jvallejo@redhat.com> | 2017-02-22 19:13:20 -0500 |
---|---|---|
committer | juanvallejo <jvallejo@redhat.com> | 2017-03-23 12:01:01 -0400 |
commit | d6e3f266e30cd88b750b574e1b21e469b4cd3167 (patch) | |
tree | cb976b8d8b4e6b1d2ded6bf619102d04aebef5db /roles/openshift_health_checker/action_plugins | |
parent | 27e47d32dc795dd27e901ca8618c90b7c1303547 (diff) | |
download | openshift-d6e3f266e30cd88b750b574e1b21e469b4cd3167.tar.gz openshift-d6e3f266e30cd88b750b574e1b21e469b4cd3167.tar.bz2 openshift-d6e3f266e30cd88b750b574e1b21e469b4cd3167.tar.xz openshift-d6e3f266e30cd88b750b574e1b21e469b4cd3167.zip |
add docker_image_availability check
This patch adds a check to ensure that required docker images are
available in at least one of the registries supplied in an installation
host. Images are available if they are either already present locally,
or able to be inspected using Skopeo on one of the configured
registries.
Diffstat (limited to 'roles/openshift_health_checker/action_plugins')
-rw-r--r-- | roles/openshift_health_checker/action_plugins/openshift_health_check.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_health_checker/action_plugins/openshift_health_check.py b/roles/openshift_health_checker/action_plugins/openshift_health_check.py index 0411797b1..8b23533c8 100644 --- a/roles/openshift_health_checker/action_plugins/openshift_health_check.py +++ b/roles/openshift_health_checker/action_plugins/openshift_health_check.py @@ -74,6 +74,7 @@ class ActionModule(ActionBase): result["failed"] = True result["msg"] = "One or more checks failed" + result["changed"] = any(r.get("changed", False) for r in check_results.values()) return result def load_known_checks(self): |