Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1615264 - [CNS] Deploy CNS met undefined variable issue during set heketi-cli command
[CNS] Deploy CNS met undefined variable issue during set heketi-cli command
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.11.0
Unspecified Unspecified
high Severity high
: ---
: 3.11.0
Assigned To: Jose A. Rivera
Wenkai Shi
: TestBlocker
Depends On: 1615982 1617949
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-13 04:09 EDT by Wenkai Shi
Modified: 2018-10-11 03:25 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:24:39 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:25 EDT

  None (edit)
Description Wenkai Shi 2018-08-13 04:09:38 EDT
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 04:11:00 EDT
It's a blocker for CNS installation.
Comment 2 Michael Gugino 2018-08-13 12:53:10 EDT
Potential Fix: https://github.com/openshift/openshift-ansible/pull/9557
Comment 3 Scott Dodson 2018-08-13 12:54:28 EDT
If available, please attach complete inventory and ansible logs to each bug.
Comment 4 Jose A. Rivera 2018-08-14 09:57:05 EDT
Should be resolved with this PR: https://github.com/openshift/openshift-ansible/pull/9468
Comment 5 Scott Dodson 2018-08-14 17:24:54 EDT
Should be in openshift-ansible-3.11.0-0.15.0
Comment 6 Wenkai Shi 2018-08-14 22:22:35 EDT
(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 05:58:26 EDT
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 03:24:39 EDT
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.