Bug 1615264 - [CNS] Deploy CNS met undefined variable issue during set heketi-cli command
Summary: [CNS] Deploy CNS met undefined variable issue during set heketi-cli command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.11.0
Assignee: Jose A. Rivera
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On: 1615982 1617949
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-13 08:09 UTC by Wenkai Shi
Modified: 2018-10-11 07:25 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-11 07:24:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 0 None None None 2018-10-11 07:25:07 UTC

Description Wenkai Shi 2018-08-13 08:09:38 UTC
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:

Comment 1 Wenkai Shi 2018-08-13 08:11:00 UTC
It's a blocker for CNS installation.

Comment 2 Michael Gugino 2018-08-13 16:53:10 UTC
Potential Fix: https://github.com/openshift/openshift-ansible/pull/9557

Comment 3 Scott Dodson 2018-08-13 16:54:28 UTC
If available, please attach complete inventory and ansible logs to each bug.

Comment 4 Jose A. Rivera 2018-08-14 13:57:05 UTC
Should be resolved with this PR: https://github.com/openshift/openshift-ansible/pull/9468

Comment 5 Scott Dodson 2018-08-14 21:24:54 UTC
Should be in openshift-ansible-3.11.0-0.15.0

Comment 6 Wenkai Shi 2018-08-15 02:22:35 UTC
(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.

Comment 7 Wenkai Shi 2018-08-23 09:58:26 UTC
Verified with version openshift-ansible-3.11.0-0.20.0.git.0.ec6d8caNone, original issue doesn't appear.

Comment 9 errata-xmlrpc 2018-10-11 07:24:39 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:2652


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