Bug 1603160

Summary: [day2] Editing the hosts in generated gdeploy config file, doesn't reflect on all the config files
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: SATHEESARAN <sasundar>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED CURRENTRELEASE QA Contact: Mugdha Soni <musoni>
Severity: low Docs Contact:
Priority: medium    
Version: rhhiv-1.5CC: bshetty, rhs-bugs, sankarshan
Target Milestone: ---   
Target Release: RHHI-V 1.5   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1603162 (view as bug list) Environment:
Last Closed: 2019-05-20 04:55:37 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: 1603162    
Bug Blocks: 1520836    

Description SATHEESARAN 2018-07-19 10:41:06 UTC
Description of problem:
-----------------------
There are 2 gdeploy configuration file generated when expand cluster operation is performed from 'manage gluster' dashboard.
1. /var/lib/ovirt-hosted-engine-setup/gdeploy/expandClusterConfig.conf
2. /var/lib/ovirt-hosted-engine-setup/gdeploy/gdeployConfig.conf 

While editing the generated configuration file from the cockpit, only the gdeploycConfig.conf is updated, but not the expandClusterConfig.conf

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
cockpit-ovirt-dashboard-0.11.30

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Go to cockpit, 'Virtualization' -> 'HostedEngine' -> 'Manage Gluster' -> 'Expand cluster'
2. On the newly popped up wizard, provide the hostnames
3. After the reaching the last tab, edit the 'hostnames' & 'save'
4. Check whether that reflects on both the config files

Actual results:
---------------
expandClusterConfig.conf doesn't have the updated hosts

Expected results:
-------------------
Bothe 'expandClusterConfig.conf' and 'gdeployConfig.conf' should have identical hosts.


Additional info:

Comment 1 SATHEESARAN 2018-10-12 12:36:56 UTC
As the cockpit-ovirt bug is already fixed, moving this bug should be ON_QA too

Comment 5 Mugdha Soni 2018-10-29 12:06:36 UTC
Tested with the following :-
(a)rhvh-4.2.7.3-0.20181026
(b)cockpit-ovirt-dashboard-0.11.37-1.el7ev.noarch

While editing the generated configuration file from cockpit , both 'expandClusterConfig.conf' and 'gdeployConfig.conf'  have identical hosts and the changes are reflected in both the conf files.

Hence moving the bug to verified state.