Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1494470 - Upgrade failed for AnsibleUndefinedVariable: 'l_bind_docker_reg_auth' is undefined
Upgrade failed for AnsibleUndefinedVariable: 'l_bind_docker_reg_auth' is unde...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Upgrade (Show other bugs)
3.7.0
Unspecified Unspecified
high Severity high
: ---
: 3.7.0
Assigned To: Michael Gugino
liujia
: Reopened
Depends On:
Blocks: 1526477 1526485
  Show dependency treegraph
 
Reported: 2017-09-22 06:56 EDT by liujia
Modified: 2017-12-17 21:19 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1526477 1526485 (view as bug list)
Environment:
Last Closed: 2017-12-15 10:33:52 EST
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 RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description liujia 2017-09-22 06:56:13 EDT
Description of problem:
Trigger upgrade against atomic hosts ha, upgrade failed at task [Create the ha systemd unit files].

failed: [x.x.x.x] (item=api) => {
    "failed": true, 
    "item": "api"
}

MSG:

AnsibleUndefinedVariable: 'l_bind_docker_reg_auth' is undefined
failed: [qe-jliu-con1-master-etcd-1.0922-8gh.qe.rhcloud.com] (item=controllers) => {
    "failed": true, 
    "item": "controllers"
}

MSG:

AnsibleUndefinedVariable: 'l_bind_docker_reg_auth' is undefined
	to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.retry


Version-Release number of the following components:
atomic-openshift-utils-3.7.0-0.127.0.git.0.b9941e4.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Install HA env on atomic hosts.
2. Trigger upgrade
# ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/v3_7/upgrade.yml -v|tee log
3.

Actual results:
Upgrade failed.

Expected results:
Upgrade succeed.

Additional info:
Please attach logs from ansible-playbook with the -vvv flag
Comment 2 Michael Gugino 2017-09-22 11:49:05 EDT
PR Created: https://github.com/openshift/openshift-ansible/pull/5502

After merging, backport PR will be created for 3.6, 1.5, 1.4
Comment 4 liujia 2017-09-29 04:16:26 EDT
Remove testblocker, this bug has been fixed based on openshift-ansible-3.7.0-0.133.0.git.0.06c6bc7.el7.noarch.

@scott
You can modify the bug status.
Comment 6 liujia 2017-10-09 01:18:34 EDT
Version:
ansible-2.3.2.0-2.el7.noarch
openshift-ansible-3.7.0-0.144.2.git.0.da1dd6c.el7.noarch

Upgrade succeed.
Comment 11 errata-xmlrpc 2017-11-28 17:12:28 EST
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/RHSA-2017:3188
Comment 15 Scott Dodson 2017-12-15 10:33:52 EST
This was fixed in 3.7 in the referenced errata. It has not been fixed in 3.4. This bug should not be re-opened, it should be cloned for 3.4.

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