summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/openshift_checks/package_version.py
diff options
context:
space:
mode:
authorLuke Meyer <lmeyer@redhat.com>2017-06-08 16:09:05 -0400
committerLuke Meyer <lmeyer@redhat.com>2017-06-14 07:02:19 -0400
commitf19d2747ed9cc40f6eb68f2383f44f268c5a431a (patch)
treead6272733263ad22f8cb9387d08d946a96db2d6e /roles/openshift_health_checker/openshift_checks/package_version.py
parent705d18190fe463c9f609f95882f16b95d3f7cca2 (diff)
downloadopenshift-f19d2747ed9cc40f6eb68f2383f44f268c5a431a.tar.gz
openshift-f19d2747ed9cc40f6eb68f2383f44f268c5a431a.tar.bz2
openshift-f19d2747ed9cc40f6eb68f2383f44f268c5a431a.tar.xz
openshift-f19d2747ed9cc40f6eb68f2383f44f268c5a431a.zip
pre-install checks: add more during byo install
Add the docker and RPM checks to the list that run at install time. They can be disabled the same as the existing ones. Removed cockpit-kubernetes RPM requirement as it no longer is. Fixed up docker_image_availability to handle oreg_url and other nuances. Switched to using the openshift_image_tag that's set by openshift_version for both component and infrastructure images. Fixed a bug where execute_module was being called with incorrect positional arg "tmp" as a dict which caused errors down the call stack.
Diffstat (limited to 'roles/openshift_health_checker/openshift_checks/package_version.py')
-rw-r--r--roles/openshift_health_checker/openshift_checks/package_version.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/package_version.py b/roles/openshift_health_checker/openshift_checks/package_version.py
index 2e737818b..6a76bb93d 100644
--- a/roles/openshift_health_checker/openshift_checks/package_version.py
+++ b/roles/openshift_health_checker/openshift_checks/package_version.py
@@ -71,7 +71,7 @@ class PackageVersion(NotContainerizedMixin, OpenShiftCheck):
],
}
- return self.execute_module("aos_version", args, tmp, task_vars)
+ return self.execute_module("aos_version", args, tmp=tmp, task_vars=task_vars)
def get_required_ovs_version(self, task_vars):
"""Return the correct Open vSwitch version for the current OpenShift version.