summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRodolfo Carvalho <rhcarvalho@gmail.com>2017-07-10 17:45:17 +0200
committerLuke Meyer <lmeyer@redhat.com>2017-07-11 13:32:14 -0400
commite1c3499ad16f332d7684fb2eb896f980740c95b7 (patch)
tree0afc1205ebf999628bb90777b4b6d915990ade71 /roles
parentb39cad5897ef80244e6496ccd5a6c5ec0cd577b6 (diff)
downloadopenshift-e1c3499ad16f332d7684fb2eb896f980740c95b7.tar.gz
openshift-e1c3499ad16f332d7684fb2eb896f980740c95b7.tar.bz2
openshift-e1c3499ad16f332d7684fb2eb896f980740c95b7.tar.xz
openshift-e1c3499ad16f332d7684fb2eb896f980740c95b7.zip
Add overlay to supported Docker storage drivers
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1467809 As a next step, we can refine under which conditions the overlay driver is supported.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_health_checker/openshift_checks/docker_storage.py2
-rw-r--r--roles/openshift_health_checker/test/docker_storage_test.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_health_checker/openshift_checks/docker_storage.py b/roles/openshift_health_checker/openshift_checks/docker_storage.py
index 8d0fbcc9c..e80691ef3 100644
--- a/roles/openshift_health_checker/openshift_checks/docker_storage.py
+++ b/roles/openshift_health_checker/openshift_checks/docker_storage.py
@@ -17,7 +17,7 @@ class DockerStorage(DockerHostMixin, OpenShiftCheck):
tags = ["pre-install", "health", "preflight"]
dependencies = ["python-docker-py"]
- storage_drivers = ["devicemapper", "overlay2"]
+ storage_drivers = ["devicemapper", "overlay", "overlay2"]
max_thinpool_data_usage_percent = 90.0
max_thinpool_meta_usage_percent = 90.0
diff --git a/roles/openshift_health_checker/test/docker_storage_test.py b/roles/openshift_health_checker/test/docker_storage_test.py
index 876614b1d..bb25e3f66 100644
--- a/roles/openshift_health_checker/test/docker_storage_test.py
+++ b/roles/openshift_health_checker/test/docker_storage_test.py
@@ -65,8 +65,8 @@ non_atomic_task_vars = {"openshift": {"common": {"is_atomic": False}}}
dict(info={
"Driver": "overlay",
}),
- True,
- ["unsupported Docker storage driver"],
+ False,
+ [],
),
(
dict(info={