Bug 1810044

Summary: gluster_infra_mount_devices listed twice in gluster_inventory.yml
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Gobinda Das <godas>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhhiv-1.7CC: godas, kborup, pprakash, puebele, rhs-bugs, sabose, sasundar, sheggodu
Target Milestone: ---   
Target Release: RHHI-V 1.8   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: gluster-ansible-roles-1.0.5-7.el8rhgs Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1731147 Environment:
Last Closed: 2020-08-04 14:51:33 UTC Type: ---
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: 1731147    
Bug Blocks: 1779975    

Description SATHEESARAN 2020-03-04 13:33:15 UTC
Description of problem:
In the file gluster_inventory.yml the variable gluster_infra_mount_devices are listed twice for each host, as a variable can only be there once it will give out warnings and errors. 

Version-Release number of selected component (if applicable):
1.6 1.7

How reproducible:
Every install

Steps to Reproduce:
1. Install newest RHHI Hypervisor iso. 
2. Check gluster_inventory.yml
3.

Actual results:
gluster_infra_mount_devices listed twice per host. 

Expected results:
listed once per host.

Comment 1 SATHEESARAN 2020-03-04 13:38:13 UTC
This issue will be fixed as part of https://bugzilla.redhat.com/show_bug.cgi?id=1638939

Comment 2 SATHEESARAN 2020-03-20 13:13:48 UTC
Tested with gluster-ansible-roles-1.0.5-7.el8rhgs

Redundant entries 'gluster_infra_mount_devices' per host section is now removed

[root@ ~]# grep gluster_infra_mount_devices /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/gluster_inventory.yml 
      gluster_infra_mount_devices:
      gluster_infra_mount_devices:
      gluster_infra_mount_devices:

Comment 4 errata-xmlrpc 2020-08-04 14:51:33 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 (RHHI for Virtualization 1.8 bug fix and enhancement update), 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/RHEA-2020:3314