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
init/facts has not been run yet in this play. PR Created: https://github.com/openshift/openshift-ansible/pull/7026
Verified on openshift-ansible-3.9.0-0.47.0.git.0.f8847bb.el7.noarch. Upgrade docker succeed.
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