Bug 1426527

Summary: Update the gluster volume options set via generated gdeploy config file
Product: [oVirt] cockpit-ovirt Reporter: SATHEESARAN <sasundar>
Component: GdeployAssignee: Ramesh N <rnachimu>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.10.7-0.0.10CC: bugs, sabose
Target Milestone: ovirt-4.1.1Flags: rule-engine: ovirt-4.1+
rule-engine: exception+
rule-engine: planning_ack+
rnachimu: devel_ack+
sasundar: testing_ack+
Target Release: 0.10.7-0.0.13   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.10.7-0.0.13 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-21 09:43:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1277939    

Description SATHEESARAN 2017-02-24 07:50:46 UTC
Description of problem:
------------------------
With the effect of the bug BZ 1424934, the most of the required volume options are made available with 'virt' profile in Gluster.

There are most of the options which are again set redundant.
Remove these options from generated gdeploy config file

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

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

Steps to Reproduce:
--------------------
1. Finish the first 4 steps of 'Hosted Engine deployment with Gluster'
2. Observe the generated gdeploy config file in the final tab

Actual results:
---------------
Gluster volume options are set redundant, although the virt profile set the same options

Expected results:
------------------
Remove the redundant option set by gdeploy key&volume options in 'volume' section.
The updated key and value should look like :

<snip>
key=group,storage.owner-uid,storage.owner-gid,network.ping-timeout,performance.strict-o-direct,network.remote-dio
value=virt,36,36,30,on,off
brick_dirs=/gluster_bricks/vmstore/vmstore
ignore_volume_errors=no
</snip>

Comment 1 Ramesh N 2017-02-24 11:33:10 UTC
*** Bug 1426496 has been marked as a duplicate of this bug. ***

Comment 2 SATHEESARAN 2017-03-08 08:55:16 UTC
Tested with cockpit-ovirt-dashboard-0.10.7-0.0.13

Only the volume options not set on the volume through 'gluster volume profile' are set through cockpit-gdeploy