Description of problem: I am doing an ami build which essentially just does a node install using openshift-ansible. We are using external docker creds, so the "docker_creds" module is being invoked. "docker_creds" requires that skopeo be installed. During the node install skopeo is not installed. I do see skopeo-containers getting installed during the "install docker" section, but not skopeo. I believe that skopeo should also be installed. During the task "TASK [container_runtime : Create credentials for docker cli registry auth (alternative)] ***" The error appears: "msg": "timeout: failed to run command ‘skopeo’: No such file or directory\n", Version-Release number of selected component (if applicable): 3.11.0-0.11.0 Expected results: skopeo be installed so that docker_creds module should work.
PR Created https://github.com/openshift/openshift-ansible/pull/9423
*** Bug 1612149 has been marked as a duplicate of this bug. ***
According to our official doc (https://docs.openshift.com/container-platform/3.10/install/host_preparation.html#configuring-docker-storage), before run openshift-ansible installer, user already installed docker, that would lead to the fix PR is skipped. TASK [container_runtime : Install Docker] ************************************** Friday 10 August 2018 21:55:26 +0800 (0:00:00.177) 0:02:07.723 ********* skipping: [qe-smoke311-mrre-1.0810-9h8.qe.rhcloud.com] => {"changed": false, "skip_reason": "Conditional result was False"} Suggest to move "atomic" and "skopeo" rpm install to some initial global place, but not with runtime rpm package together.
(In reply to Johnny Liu from comment #6) > According to our official doc > (https://docs.openshift.com/container-platform/3.10/install/host_preparation. > html#configuring-docker-storage), before run openshift-ansible installer, > user already installed docker, that would lead to the fix PR is skipped. > > TASK [container_runtime : Install Docker] > ************************************** > Friday 10 August 2018 21:55:26 +0800 (0:00:00.177) 0:02:07.723 > ********* > skipping: [qe-smoke311-mrre-1.0810-9h8.qe.rhcloud.com] => {"changed": false, > "skip_reason": "Conditional result was False"} > > > Suggest to move "atomic" and "skopeo" rpm install to some initial global > place, but not with runtime rpm package together. There is another PR for this particular issue: https://github.com/openshift/openshift-ansible/pull/9513
Should be in openshift-ansible-3.11.0-0.15.0
Verified this bug with openshift-ansible-3.11.0-0.15.0.git.0.842d3d1None.noarch, and PASS. Now skopeo will be installed together with runtime rpm package, whatever docker is install or not before openshift-installer.
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