Bug 1731147

Summary: gluster_infra_mount_devices listed twice in gluster_inventory.yml
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Kim Borup <kborup>
Component: gluster-ansibleAssignee: Gobinda Das <godas>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: godas, pprakash, puebele, rhs-bugs, sabose, sasundar, sheggodu
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.5.z Batch Update 2   
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:
: 1810044 (view as bug list) Environment:
rhhiv, rhel8
Last Closed: 2020-06-16 05:57:29 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:    
Bug Blocks: 1810044    

Description Kim Borup 2019-07-18 13:03:40 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. 

Additional info:
Also missing from documentation as a thing you have to edit.

Comment 3 Sachidananda Urs 2019-07-30 05:00:04 UTC
Fixed by @kborup via PR: https://github.com/gluster/gluster-ansible/pull/78

Comment 6 Gobinda Das 2020-02-19 06:45:51 UTC
Trageted for 3.5.2

Comment 12 SATHEESARAN 2020-03-20 13:12:06 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 16 errata-xmlrpc 2020-06-16 05:57:29 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/RHEA-2020:2575