Bug 1908049

Summary: gluster.infra/roles/firewall_config : Add/Delete services to firewalld rules - FAILED
Product: [oVirt] ovirt-engine Reporter: Stephan <stephan.breitrainer>
Component: Host-DeployAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: SATHEESARAN <sasundar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4.1CC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 18:53:20 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
error none

Description Stephan 2020-12-15 18:20:03 UTC
Created attachment 1739408 [details]
error

Created attachment 1739408 [details]
error

Description of problem:

When using the cockpit ovirt dashboard (cockpit-ovirt-dashboard 0.14.15-1.el8) to deploy a single node glusterfs, the ansible playbook failes with
"ERROR: Exception caught: org.fedoraproject.FirewallD1.Exception: INVALID_SERVICE: glusterfs Permanent and Non-Permanent(immediate) operation, Services are defined by port/tcp relationship and named as they are in /etc/services (on most systems)"


Version-Release number of selected component (if applicable):
4.4.1-4.el8


How reproducible:

Every time.

Steps to Reproduce:
1. Install cockpit ovirt dashboard
2. Try to install a single node glusterfs via wizzard
3. Fails during ansible run

Actual results:

Ansible run failes

Expected results:

glusterfs single node is deployed

Additional info:

Adding the glusterfs service to /etc/services and /usr/lib/firewalld/services/glusterfs.xml may solves the issue.
It seems like the xml is missing in the package.

Comment 1 Stephan 2020-12-15 18:53:20 UTC
The previous run to install all packages has failed and skipped the glusterfs-server package (which delivers the glusterfs.xml file).

Can be closed.