Bug 1494470 - Upgrade failed for AnsibleUndefinedVariable: 'l_bind_docker_reg_auth' is undefined
Summary: Upgrade failed for AnsibleUndefinedVariable: 'l_bind_docker_reg_auth' is unde...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.7.0
Assignee: Michael Gugino
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks: 1526477 1526485
TreeView+ depends on / blocked
 
Reported: 2017-09-22 10:56 UTC by liujia
Modified: 2021-03-11 15:49 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1526477 1526485 (view as bug list)
Environment:
Last Closed: 2017-12-15 15:33:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description liujia 2017-09-22 10:56:13 UTC
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 15:49:05 UTC
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 08:16:26 UTC
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 05:18:34 UTC
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 22:12:28 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/RHSA-2017:3188

Comment 15 Scott Dodson 2017-12-15 15:33:52 UTC
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.