Bug 1538613

Summary: Gdeploy conf file missing firewalld configuration and other setting when lvmcache chose
Product: [oVirt] cockpit-ovirt Reporter: Sahina Bose <sabose>
Component: GdeployAssignee: Gobinda Das <godas>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: high    
Version: 0.11.3CC: bugs, lveyde
Target Milestone: ovirt-4.2.2Flags: rule-engine: ovirt-4.2?
sasundar: planning_ack?
sabose: devel_ack+
sasundar: testing_ack+
Target Release: 0.11.12   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.11.12-0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-18 12:25:40 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:
Attachments:
Description Flags
gdeploy with lvmcache option
none
gdeploy conf none

Description Sahina Bose 2018-01-25 12:45:25 UTC
Description of problem:
When choosing to configure lvmcache from UI, the gdeploy config is missing sections related to firewalld config, starting glusterd, slice config etc.

This causes deployment to fail

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Select lvm cache option in the Bricks tab of cockpit gdeploy configuration


Additional info:
Attached the gdeploy conf with and without lvmcache

Comment 1 Sahina Bose 2018-01-25 12:47:58 UTC
Created attachment 1386049 [details]
gdeploy with lvmcache option

Comment 2 Sahina Bose 2018-01-25 12:48:38 UTC
Created attachment 1386050 [details]
gdeploy conf

Comment 3 SATHEESARAN 2018-04-17 11:20:08 UTC
Tested with  rhvh-4.2.2.1-0.20180410.0 and cockpit-ovirt-dashboard-0.11.20-1.el7ev.noarch

When lvmcache is enabled on all the hosts, then firewalld section is available in the generated gdeploy configuration file

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

Comment 4 Sandro Bonazzola 2018-04-18 12:25:40 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.