summaryrefslogtreecommitdiffstats
path: root/roles/openshift_health_checker/openshift_checks/package_version.py
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-07-13 19:44:41 +0200
committerRodolfo Carvalho <rhcarvalho@gmail.com>2017-07-17 11:30:19 +0200
commita6dbc9ff06b6a245317de6279e7b3c88ff0ef1c3 (patch)
tree8367d277a8edddf6b2d00a10346a4174e5431832 /roles/openshift_health_checker/openshift_checks/package_version.py
parent163d440065fa1db79f0900a859007c9d8873a40d (diff)
downloadopenshift-a6dbc9ff06b6a245317de6279e7b3c88ff0ef1c3.tar.gz
openshift-a6dbc9ff06b6a245317de6279e7b3c88ff0ef1c3.tar.bz2
openshift-a6dbc9ff06b6a245317de6279e7b3c88ff0ef1c3.tar.xz
openshift-a6dbc9ff06b6a245317de6279e7b3c88ff0ef1c3.zip
Allow OVS 2.7 in latest OpenShift releases
Change the package_version check to tolerate either Open vSwitch 2.6 or 2.7. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1465882 This commit removes a unit test that adds no coverage and tests data instead of logic. This coupling makes every change to supported versions require the same changes to the tests.
Diffstat (limited to 'roles/openshift_health_checker/openshift_checks/package_version.py')
-rw-r--r--roles/openshift_health_checker/openshift_checks/package_version.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/package_version.py b/roles/openshift_health_checker/openshift_checks/package_version.py
index 6a76bb93d..204752bd0 100644
--- a/roles/openshift_health_checker/openshift_checks/package_version.py
+++ b/roles/openshift_health_checker/openshift_checks/package_version.py
@@ -10,8 +10,8 @@ class PackageVersion(NotContainerizedMixin, OpenShiftCheck):
tags = ["preflight"]
openshift_to_ovs_version = {
- "3.6": "2.6",
- "3.5": "2.6",
+ "3.6": ["2.6", "2.7"],
+ "3.5": ["2.6", "2.7"],
"3.4": "2.4",
}