diff options
author | Luke Meyer <lmeyer@redhat.com> | 2017-08-23 17:44:19 -0400 |
---|---|---|
committer | Luke Meyer <lmeyer@redhat.com> | 2017-09-12 10:31:45 -0400 |
commit | a202f1647a28e4d246d0341e37501df44cb1a914 (patch) | |
tree | 2dfcfd0dd5f475bff402ea6c8a4e9cc0bda7ac79 /roles/openshift_health_checker/openshift_checks/package_availability.py | |
parent | f4a328ad2dc1d1ba93efa15ac0bf4502bad40079 (diff) | |
download | openshift-a202f1647a28e4d246d0341e37501df44cb1a914.tar.gz openshift-a202f1647a28e4d246d0341e37501df44cb1a914.tar.bz2 openshift-a202f1647a28e4d246d0341e37501df44cb1a914.tar.xz openshift-a202f1647a28e4d246d0341e37501df44cb1a914.zip |
openshift_checks: add retries in python
Diffstat (limited to 'roles/openshift_health_checker/openshift_checks/package_availability.py')
-rw-r--r-- | roles/openshift_health_checker/openshift_checks/package_availability.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/package_availability.py b/roles/openshift_health_checker/openshift_checks/package_availability.py index a86180b00..21355c2f0 100644 --- a/roles/openshift_health_checker/openshift_checks/package_availability.py +++ b/roles/openshift_health_checker/openshift_checks/package_availability.py @@ -26,7 +26,7 @@ class PackageAvailability(NotContainerizedMixin, OpenShiftCheck): packages.update(self.node_packages(rpm_prefix)) args = {"packages": sorted(set(packages))} - return self.execute_module("check_yum_update", args) + return self.execute_module_with_retries("check_yum_update", args) @staticmethod def master_packages(rpm_prefix): |