Description of problem: Deploy CNS met undefined variable issue during set heketi-cli command. Version-Release number of the following components: openshift-ansible-3.11.0-0.13.0.git.0.16dc599None.noarch ansible-2.6.2-1.el7ae.noarch How reproducible: 100% Steps to Reproduce: 1. Deploy CNS with OCP 2. 3. Actual results: # ansible-playbook -i hosts -vv /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml ... TASK [openshift_storage_glusterfs : Set heketi-cli command] ******************** Monday 13 August 2018 15:19:06 +0800 (0:00:00.069) 0:23:07.760 ********* fatal: [qe-weshi-cns-master.example.com]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'results'\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_storage_glusterfs/tasks/heketi_load.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Set heketi-cli command\n ^ here\n"} ... Expected results: This task should pass without error. Additional info:
It's a blocker for CNS installation.
Potential Fix: https://github.com/openshift/openshift-ansible/pull/9557
If available, please attach complete inventory and ansible logs to each bug.
Should be resolved with this PR: https://github.com/openshift/openshift-ansible/pull/9468
Should be in openshift-ansible-3.11.0-0.15.0
(In reply to Scott Dodson from comment #3) > If available, please attach complete inventory and ansible logs to each bug. Thanks for remind. Will do next time.
Verified with version openshift-ansible-3.11.0-0.20.0.git.0.ec6d8caNone, original issue doesn't appear.
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:2652