Bug 1484063

Summary: [3.5] installer need provide a way to add docker auth to kubelet for auto pulling infra image from an authenticated registry
Product: OpenShift Container Platform Reporter: Michael Gugino <mgugino>
Component: InstallerAssignee: Michael Gugino <mgugino>
Status: CLOSED ERRATA QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: high    
Version: 3.5.0CC: agoldste, akostadi, aos-bugs, avagarwa, bleanhar, broskos, cpatters, dakini, erich, jialiu, jokerman, mmccomas, pdwyer, sdodson, xtian
Target Milestone: ---Keywords: OpsBlocker
Target Release: 3.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Feature: The installer now allows you to specify the variables 'oreg_auth_user' and 'oreg_auth_password' to specify the credentials used to pull infrastructure images from an authenticated registry which is defined by setting 'oreg_url'. Reason: Your environment may require credentials to pull infrastructure images from your private registry defined via oreg_url. Result: OCP may now pull images from a private registry requiring username and password credentials.
Story Points: ---
Clone Of: 1316341
: 1484068 (view as bug list) Environment:
Last Closed: 2017-10-17 11:45:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1316341, 1481251, 1500642    
Bug Blocks: 1484068    

Comment 2 Johnny Liu 2017-09-07 07:31:13 UTC
Waiting for newer errata puddle to include the fix.

Comment 3 Johnny Liu 2017-09-11 07:07:58 UTC
Due no AtomicOpenShift-errata puddle including the fix, switch to AtomicOpenShift puddle to do verification.

Unfortunately, openshift-ansible-3.5.124-1.git.0.d9641fe.el7.noarch still does not include this fix.

Comment 4 Michael Gugino 2017-09-14 17:57:16 UTC
Support for registry authentication on containerized hosts added in master.  PR backported:  https://github.com/openshift/openshift-ansible/pull/5418

Comment 7 Michael Gugino 2017-09-19 13:28:06 UTC
PR Merged: https://github.com/openshift/openshift-ansible/pull/5445

Comment 9 Johnny Liu 2017-09-28 08:21:23 UTC
Re-test this bug with openshift-ansible-3.5.128-1.git.0.f183c7b.el7.noarch, and FAIL.

Similar issue like https://bugzilla.redhat.com/show_bug.cgi?id=1316341#c54

Comment 10 Michael Gugino 2017-10-02 23:04:25 UTC
PR Merged: https://github.com/openshift/openshift-ansible/pull/5597

Comment 12 Johnny Liu 2017-10-11 10:56:09 UTC
Verified this bug with openshift-ansible-3.5.132-1.git.0.a5c4a4d.el7.noarch, and PASS.

Comment 14 errata-xmlrpc 2017-10-17 11:45:24 UTC
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-2017:2900