Description of problem: Upgrade against cluster with an authenticated registry failed at task [openshift_node_upgrade : Check for credentials file for registry auth] MSG: The task includes an option with an undefined variable. The error was: 'oreg_auth_credentials_path' is undefined The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_node_upgrade/tasks/registry_auth.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Check for credentials file for registry auth ^ here exception type: <class 'ansible.errors.AnsibleUndefinedVariable'> exception: 'oreg_auth_credentials_path' is undefined Version-Release number of the following components: openshift-ansible-3.6.173.0.59-1.git.0.0e31372.el7.noarch How reproducible: always Steps to Reproduce: 1. Install ocp v3.5 with an authenticated registry 2. Upgrade v3.5 to v3.6 3. Actual results: Upgrade failed. Expected results: Upgrade succeed. Additional info: Inventory file in attachment.
PR Created: https://github.com/openshift/openshift-ansible/pull/6000 Backport to 1.5 Created: https://github.com/openshift/openshift-ansible/pull/6001
Changed back to modify to wait for a right errata.
Verified on openshift-ansible-3.6.173.0.75-1.git.0.0a44128.el7.noarch. Upgrade succeed against ocp with an authenticated registry.
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:3255