Bug 1584174

Summary: [day2] The gdeploy conf file is overwritten during the expand cluster operation.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Mugdha Soni <musoni>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED NOTABUG QA Contact: Mugdha Soni <musoni>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhhiv-1.5CC: rhs-bugs, sankarshan, sasundar
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1584175 (view as bug list) Environment:
Last Closed: 2018-06-02 02:39:34 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: 1584175    
Bug Blocks:    
Attachments:
Description Flags
screenshot of the over written file name none

Description Mugdha Soni 2018-05-30 12:31:09 UTC
Created attachment 1445829 [details]
screenshot of the over written file name

Description of problem:
---------------------------------------
The gdeploy conf file is over written in expand cluster and create volume operations.The conf file should not be overwritten as the previous data will be lost whicj might be useful.


Version-Release number of selected component (if applicable):
---------------------------------------------------------------
cockpit-ovirt-dashboard-0.11.999-0.0.master.el7.noarch

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

Steps to Reproduce:
----------------------------------------
1.Successfully deploy gluster and hosted engine.
2.Reach out to the gluster management wizard under hosted engine and click on ' expand cluster ' button .
3.Fill in all the parametrs required in  tab host , packages,volume and bricks.
4.The issue can be found in the gdeploy conf file under the review tab.

Actual results:
-----------------------------------------
The gdeploy conf file is overwritten.

Expected results:
-----------------------------------------
The gdeploy conf file should not use the same name everytime and should not be overwritten.

Additional info:

Comment 1 SATHEESARAN 2018-06-02 02:39:34 UTC
The additional timestamp file is created before overwriting the conf file.