Bug 1643366

Summary: [Tracker] ansible deployment fails with error AnsibleUndefinedVariable: 'glusterfs_heketi_route' is undefined
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: cns-ansibleAssignee: John Mulligan <jmulligan>
Status: CLOSED CURRENTRELEASE QA Contact: Prasanth <pprakash>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: cns-3.9CC: hchiramm, kramdoss, madam, msaini, pprakash, puebele, rhs-bugs, sarumuga, sselvan
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-17 11:56:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1634244    
Bug Blocks:    

Description RamaKasturi 2018-10-26 06:21:58 UTC
Description of problem:
While testing ocp3.9+ocs3.11 qual, we found an issue where when we try to setup ocp3.9 + cns3.9 , ansible deployment fails with error "AnsibleUndefinedVariable: glusterfs_heketi_route' is undefined.

Version-Release number of selected component (if applicable):
openshift-ansible-playbooks-3.9.43-1.git.0.d0bc600.el7.noarch
openshift-ansible-docs-3.9.43-1.git.0.d0bc600.el7.noarch
openshift-ansible-roles-3.9.43-1.git.0.d0bc600.el7.noarch
openshift-ansible-3.9.43-1.git.0.d0bc600.el7.noarch


How reproducible:
Always

Steps to Reproduce:
1. Create an inventory file to install ocp3.9 + cns3.9
2. Run deploy_cluster.yml file
3.

Actual results:
Ansible playbook fails at the section where it is trying to generate glusterfs storage class file with error  AnsibleUndefinedVariable: 'glusterfs_heketi_route' is undefined

Expected results:
deploy_cluster.yml should pass with out any issue.

Additional info:
We found a bug where the same issue is reported on OCP 3.9 and a PR has been posted. Currently we are using that as a workaround which is manually editing the playbooks to continuing our testing.

More info can be found at the bug https://bugzilla.redhat.com/show_bug.cgi?id=1634244

Comment 3 Manisha Saini 2018-10-29 04:46:38 UTC
Hitting same issue while deploying OCS in Independent mode (Container Ready Storage) along with Registry,logging and metrics in one inventory file

Comment 4 RamaKasturi 2018-11-21 11:43:30 UTC
I see that this issue no longer appears with openshift-ansible-3.9.51-1.git.0.c4968ca.el7.noarch.

I could see that installation happens successfully.

Comment 5 Jose A. Rivera 2019-01-18 16:39:16 UTC
Seems like this issue was resolved a while ago. Moving this to ON_QA.

Comment 6 RamaKasturi 2019-01-24 13:03:01 UTC
Based on comment 4 , moving the bug to verified state.