Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1612104 - skopeo is not installed by default during install causing docker_creds module to not work.
skopeo is not installed by default during install causing docker_creds module...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.11.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.11.0
Assigned To: Michael Gugino
Johnny Liu
:
: 1612149 (view as bug list)
Depends On:
Blocks: 1602120
  Show dependency treegraph
 
Reported: 2018-08-03 09:33 EDT by Matt Woodson
Modified: 2018-10-11 03:23 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:23:29 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:23 EDT

  None (edit)
Description Matt Woodson 2018-08-03 09:33:09 EDT
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.
Comment 1 Michael Gugino 2018-08-03 09:39:46 EDT
PR Created https://github.com/openshift/openshift-ansible/pull/9423
Comment 2 Michael Gugino 2018-08-03 16:11:21 EDT
*** Bug 1612149 has been marked as a duplicate of this bug. ***
Comment 5 Scott Dodson 2018-08-06 08:29:01 EDT
*** Bug 1612149 has been marked as a duplicate of this bug. ***
Comment 6 Johnny Liu 2018-08-12 22:52:31 EDT
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.
Comment 7 Michael Gugino 2018-08-13 11:45:47 EDT
(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
Comment 8 Scott Dodson 2018-08-14 17:24:45 EDT
Should be in openshift-ansible-3.11.0-0.15.0
Comment 9 Johnny Liu 2018-08-15 04:50:22 EDT
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.
Comment 11 errata-xmlrpc 2018-10-11 03:23:29 EDT
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

Note You need to log in before you can comment on or make changes to this bug.