Bug 1669106

Summary: Gdeploy config file in RHEL based RHHI deployment is not generated as per requirement.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Mugdha Soni <musoni>
Component: rhhiAssignee: Gobinda Das <godas>
Status: CLOSED CURRENTRELEASE QA Contact: Mugdha Soni <musoni>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rhhiv-1.5CC: dparth, rcyriac, rhs-bugs, sankarshan, sasundar
Target Milestone: ---Keywords: Regression
Target Release: RHHI-V 1.5.z Async   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.12.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1669108 (view as bug list) Environment:
Last Closed: 2019-05-20 04:55:08 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: 1669108    
Bug Blocks:    
Attachments:
Description Flags
configuration file.
none
The configuration of parameters that is set according to requirement. none

Description Mugdha Soni 2019-01-24 11:07:03 UTC
Created attachment 1523070 [details]
configuration file.

Description of problem:
-------------------------
Gdeploy config file in RHEL based RHHI deployment is not correct.It has all the defaults parameter except the hosts section.Even in " /var/lib/ovirt-hosted-engine-setup/gdeploy/gdeployConfig.conf " the only change that is reflected are the hosts.


Version-Release number of selected component:
----------------------------------------------
Red Hat Enterprise Linux Server release 7.6 (Maipo)
cockpit-ovirt-dashboard-0.11.38-1.el7ev
glusterfs-server-3.12.2-32.el7rhgs

How reproducible:
-----------------------
Everytime

Steps to Reproduce:
-----------------------
1.Log in to the cockpit UI and edit the parameters required for gluster deployment.
2.Reach out to review tab and user can see that the changes are not reflected.
3.Go to the cli and run command " vi /var/lib/ovirt-hosted-engine-setup/gdeploy/gdeployConfig.conf " the changes are not reflected here .

Actual results:
-----------------------
Gdeploy is not generate as per requirement

Expected results:
-----------------------
Gdeploy should generate as per requirement.

Comment 1 Mugdha Soni 2019-01-24 11:10:01 UTC
Created attachment 1523071 [details]
The configuration of parameters that is set according to requirement.

Comment 2 Sahina Bose 2019-01-30 12:29:50 UTC
Is there a difference in gdeploy version between RHEL and RHV-H?

Comment 3 Parth Dhanjal 2019-01-31 06:31:22 UTC
(In reply to Sahina Bose from comment #2)
> Is there a difference in gdeploy version between RHEL and RHV-H?

Sahina, This issue is caused by the condition to create the gdeploy file.
The changes made until volumes step are reflected in the file. But the changes made in the bricks step aren't reflected.
This is simply because the file is being generated just as you enter the bricks step with the default values and any other changes aren't reflected.
This patch will be fixed along with the ansible -> gdeploy patch. I've addressed the issue of file creation.

Comment 5 SATHEESARAN 2019-02-21 03:02:59 UTC
The dependent bug is already ON_QA, moving this bug too to ON_QA

Comment 6 Mugdha Soni 2019-02-21 05:33:47 UTC
Tested with the following
1. RHV 4.2.8
2. cockpit-ovirt-dashboard-0.11.39-1.el7ev

The changes made in all the tabs during gluster deployment are reflected in gdeploy config file in review tab and in location " /var/lib/ovirt-hosted-engine-setup/gdeploy/gdeployConfig.conf"

Hence , moving the bug to verified.