Bug 1542397 - Run docker upgrade failed due to openshift_is_atomic is undefined
Summary: Run docker upgrade failed due to openshift_is_atomic is undefined
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: Michael Gugino
QA Contact: liujia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-06 09:41 UTC by liujia
Modified: 2018-03-28 14:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-28 14:25:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:26:08 UTC

Description liujia 2018-02-06 09:41:03 UTC
Description of problem:
Run docker upgrade failed due to openshift_is_atomic is undefined.
PLAY [Check for appropriate Docker versions] ********************************************************************************************************************************

TASK [Gathering Facts] ******************************************************************************************************************************************************
ok: [x.x.x.x]
ok: [x.x.x.x]

TASK [fail] *****************************************************************************************************************************************************************
fatal: [x.x.x.x]: FAILED! => {"failed": true, "msg": "The conditional check 'openshift_is_atomic | bool' failed. The error was: error while evaluating conditional (openshift_is_atomic | bool): 'openshift_is_atomic' is undefined\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/playbooks/common/openshift-cluster/upgrades/docker/docker_upgrade.yml': line 15, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n  - fail:\n    ^ here\n"}

Version-Release number of the following components:
openshift-ansible-3.9.0-0.38.0.git.0.57e1184.el7.noarch

How reproducible:
always

Steps to Reproduce:
1.Run docker upgrade playbook against ocp3.9
# ansible-playbook -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/openshift-cluster/upgrades/docker/upgrade.yml
2.
3.

Actual results:
Docker upgrade failed.

Expected results:
Docker should be upgraded to latest version.

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 1 Michael Gugino 2018-02-06 15:51:53 UTC
init/facts has not been run yet in this play.

PR Created: https://github.com/openshift/openshift-ansible/pull/7026

Comment 3 liujia 2018-02-22 05:55:39 UTC
Verified on openshift-ansible-3.9.0-0.47.0.git.0.f8847bb.el7.noarch.

Upgrade docker succeed.

Comment 6 errata-xmlrpc 2018-03-28 14:25:43 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-2018:0489


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