When installing 3.11 and using crio as the runtime, the image checks fail because docker is not installed. You can simply 's/docker/crictl/' for those commands and then they work. Otherwise, you have to make sure the docker runtime is also installed and running. roles/openshift_node/tasks/config.yml:3 roles/etcd/tasks/static.yml:6 roles/openshift_control_plane/tasks/main.yml:14 Those commands should probably be parameter-ized (docker|crictl). -Nick
(In reply to Nicholas Nachefski from comment #0) > When installing 3.11 and using crio as the runtime, the image checks fail > because docker is not installed. You can simply 's/docker/crictl/' for > those commands and then they work. Otherwise, you have to make sure the > docker runtime is also installed and running. > > roles/openshift_node/tasks/config.yml:3 > roles/etcd/tasks/static.yml:6 > roles/openshift_control_plane/tasks/main.yml:14 > > Those commands should probably be parameter-ized (docker|crictl). > > -Nick Agreed, we need to fix this. BTW, You're doing cri-o only? Please be aware that there's no s2i without docker on the host.
Proposed: https://github.com/openshift/openshift-ansible/pull/9829
openshift-ansible-3.11.0-0.26.0
Verified this bug with openshift-ansible-3.11.0-0.27.0.git.0.78b0bf9.el7.noarch, and PASS. Trigger an install without docker installed, and setting openshift_use_crio=true and openshift_use_crio_only=true in inventory file, installation is completed successfully. TASK [openshift_node : Check that node image is present] *********************** Thursday 06 September 2018 00:07:00 +0800 (0:00:00.044) 0:01:39.738 **** changed: [host-8-252-245.host.centralci.eng.rdu2.redhat.com] => {"changed": true, "cmd": ["crictl", "images", "-q", "registry.dev.redhat.io/openshift3/ose-node:v3.11.0"], "delta": "0:00:00.022681", "end": "2018-09-05 12:07:05.682454", "rc": 0, "start": "2018-09-05 12:07:05.659773", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [etcd : Check that etcd image is present] ********************************* Thursday 06 September 2018 00:10:01 +0800 (0:00:00.074) 0:04:40.887 **** changed: [host-8-252-245.host.centralci.eng.rdu2.redhat.com] => {"changed": true, "cmd": ["crictl", "images", "-q", "registry.dev.redhat.io/rhel7/etcd:3.2.22"], "delta": "0:00:00.022508", "end": "2018-09-05 12:10:06.848721", "rc": 0, "start": "2018-09-05 12:10:06.826213", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []} TASK [openshift_control_plane : Check that origin image is present] ************ Thursday 06 September 2018 00:11:07 +0800 (0:00:00.049) 0:05:47.146 **** changed: [host-8-252-245.host.centralci.eng.rdu2.redhat.com] => {"changed": true, "cmd": ["crictl", "images", "-q", "registry.dev.redhat.io/openshift3/ose-control-plane:v3.11.0"], "delta": "0:00:00.019787", "end": "2018-09-05 12:11:13.089082", "rc": 0, "start": "2018-09-05 12:11:13.069295", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2652