Bug 1578644

Summary: [day2] Removal of the unwanted sections from the config file of create volume operation.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Mugdha Soni <musoni>
Component: rhhiAssignee: Sahina Bose <sabose>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhhiv-1.5CC: godas, 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:
: 1578646 (view as bug list) Environment:
Last Closed: 2018-11-08 05:39:18 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: 1578646    
Bug Blocks: 1520836    
Attachments:
Description Flags
conf fille none

Description Mugdha Soni 2018-05-16 05:21:15 UTC
Description of problem:
-------------------------------------------------------------
There is presence of unwanted sections in the config file of the "create volume" as these are all host level services /parameters.These sections include :-
1.Vdsm  tool configure command.
2.Firewalld services
3.Blacklisting all disks scripts(script 3)
4.Gluster hooks
5.SE linux
7.chronyd services
8.command usrmod(shell 3)

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.After the deployment of hosted engine go to the "hosted engine" tab in cockpit UI and click on "create volume".

3.Fill in all the required parameters for addition of creating an extra volume and then validate the config file.

4. In the config file user can have the presence of these unwanted sections.

Actual results:
-------------------------------------------------------------------
Presence of these unwanted sections.

Expected results:
-------------------------------------------------------------------
Absence of these unwanted sections.


Additional info:
----------------------------------------
[service1]
action=enable
service=chronyd

[service2]
action=restart
service=chronyd

[shell2]
action=execute
command=vdsm-tool configure --force

[script3]
action=execute
file=/usr/share/gdeploy/scripts/blacklist_all_disks.sh
ignore_script_errors=no

[selinux]
yes

[firewalld]
action=add
ports=111/tcp,2049/tcp,54321/tcp,5900/tcp,5900-6923/tcp,5666/tcp,16514/tcp,54322/tcp
services=glusterfs

[script2]
action=execute
file=/usr/share/gdeploy/scripts/disable-gluster-hooks.sh

[shell3]
action=execute
command=usermod -a -G gluster qemu

Comment 2 Mugdha Soni 2018-07-11 10:01:37 UTC
Created attachment 1458038 [details]
conf fille

Comment 3 Mugdha Soni 2018-07-11 10:02:01 UTC
Tested with the following:
(a)rhvh-4.2.5.0-0.20180702.0+1
(b)cockpit-ovirt-dashboard-0.11.29-1.el7ev.noarch(3
(c)gdeploy-2.0.2-27.el7rhgs.noarch

The unwanted sections were removed from the create volume conf file so moving this bug to verified.

Comment 5 errata-xmlrpc 2018-11-08 05:39:18 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-2018:3523