From 4d3574957508c257e12d9ba8ec8de48ed9789eb9 Mon Sep 17 00:00:00 2001 From: Luke Meyer Date: Fri, 30 Jun 2017 10:19:50 -0400 Subject: docker_image_availability: fix containerized etcd fixes bug 1466622 - docker_image_availability check on etcd host failed for 'openshift_image_tag' is undefined --- .../openshift_checks/docker_image_availability.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roles/openshift_health_checker/openshift_checks/docker_image_availability.py') diff --git a/roles/openshift_health_checker/openshift_checks/docker_image_availability.py b/roles/openshift_health_checker/openshift_checks/docker_image_availability.py index 26bf4c09b..bde81ad2c 100644 --- a/roles/openshift_health_checker/openshift_checks/docker_image_availability.py +++ b/roles/openshift_health_checker/openshift_checks/docker_image_availability.py @@ -94,7 +94,8 @@ class DockerImageAvailability(DockerHostMixin, OpenShiftCheck): required = set() deployment_type = get_var(task_vars, "openshift_deployment_type") host_groups = get_var(task_vars, "group_names") - image_tag = get_var(task_vars, "openshift_image_tag") + # containerized etcd may not have openshift_image_tag, see bz 1466622 + image_tag = get_var(task_vars, "openshift_image_tag", default="latest") image_info = DEPLOYMENT_IMAGE_INFO[deployment_type] if not image_info: return required -- cgit v1.2.3