Install the kernel-lt package (long-term support kernel 4.4)
Reboot and start with new kernel
Use openshift_docker_options=" --selinux-enabled --log-driver=journald --storage-driver=overlay "
Run ansible-playbook playbooks/prerequisites.yml
Expected Results
Docker should work.
Observed Results
Docker fails to start.
TASK [container_runtime : Start the Docker service] **************************************************************************************************************************************************************************************************************
FAILED - RETRYING: Start the Docker service (3 retries left).
FAILED - RETRYING: Start the Docker service (3 retries left).
FAILED - RETRYING: Start the Docker service (3 retries left).
FAILED - RETRYING: Start the Docker service (2 retries left).
FAILED - RETRYING: Start the Docker service (2 retries left).
FAILED - RETRYING: Start the Docker service (2 retries left).
FAILED - RETRYING: Start the Docker service (1 retries left).
FAILED - RETRYING: Start the Docker service (1 retries left).
FAILED - RETRYING: Start the Docker service (1 retries left).
fatal: [master.okd.lab]: FAILED! => {"attempts": 3, "changed": false, "msg": "Unable to start service docker: Job for docker.service failed because the control process exited with error code. See \"systemctl status docker.service\" and \"journalctl -xe\" for details.\n"}
Jan 30 12:11:46 master.okd.lab systemd[1]: Starting Docker Application Container Engine...
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has begun starting up.
Jan 30 12:11:46 master.okd.lab dockerd-current[11668]: time="2019-01-30T12:11:46.998177789Z" level=info msg="libcontainerd: new containerd process, pid: 11676"
Jan 30 12:11:48 master.okd.lab dockerd-current[11668]: Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel or disable selinux in docker (--selinux-enabled=false)
Jan 30 12:11:48 master.okd.lab systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Jan 30 12:11:48 master.okd.lab systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has failed.
--
-- The result is failed.
Jan 30 12:11:48 master.okd.lab systemd[1]: Unit docker.service entered failed state.
Jan 30 12:11:48 master.okd.lab systemd[1]: docker.service failed.
Additional Information
Provide any additional information which may help us diagnose the
issue.
OS: CentOS 7.6 1810
Kernel: 4.4.172-1.el7.elrepo.x86_64
Inventory file has this options for docker: openshift_docker_options=" --selinux-enabled --log-driver=journald --storage-driver=overlay "
Description
Version
Steps To Reproduce
openshift_docker_options=" --selinux-enabled --log-driver=journald --storage-driver=overlay "
ansible-playbook playbooks/prerequisites.yml
Expected Results
Docker should work.
Observed Results
Docker fails to start.
Additional Information
Provide any additional information which may help us diagnose the issue.
openshift_docker_options=" --selinux-enabled --log-driver=journald --storage-driver=overlay "