Description of problem: Trigger a installation on RHEL7.2/RHEL7.3 with overlay driver enabled, it failed at openshift_health_check: "docker_storage": { "changed": true, "failed": true, "msg": "Detected unsupported Docker storage driver 'overlay'.\nSupported storage drivers are: devicemapper, overlay2" Version-Release number of selected component (if applicable): openshift-ansible-3.6.133-1.git.0.950bb48.el7.noarch.rpm How reproducible: always Steps to Reproduce: 1. Provision RHEL 7.2/7.3 to be installed, and enabled overlay docker storage driver. 2. Trigger 3.6 installation #cat inventory_hosts <--snip--> openshift_docker_selinux_enabled=false <--snip--> Actual results: Installation failed at health check: "docker_storage": { "changed": true, "failed": true, "msg": "Detected unsupported Docker storage driver 'overlay'.\nSupported storage drivers are: devicemapper, overlay2" Expected results: For old operation system, we should be able to tolerate overlay docker storage by detecting kernel version. Additional info:
I don't believe overlay has ever been a driver we support for Docker, nor that it ever will be (given support coming for overlay2). I thought it was only tech preview. Do you know otherwise? Customers may be using it but that doesn't mean we support it.
This is a legitimate bug, overlay and overlay2 drivers are considered supported for the Docker use case since RHEL 7.3.(4? 5?) under limited conditions. With 7.4 they will actually work under --selinux-enabled too, but before that should have it disabled. Need to figure out corresponding kernel versions and consider what to say for non-RHEL/CentOS.
Adding overlay to the list of supported drivers in https://github.com/openshift/openshift-ansible/pull/4722 Later on we may refine the check to verify other conditions as Luke mentions.
PR merged to master. This is just the simplest fix that allows you to use "overlay" without really checking anything else if you are.
Gan Huang, could you re-test please?
Verified in openshift-ansible-3.6.151-1.git.0.a82f0c2.el7.noarch.rpm
Closing as never released.