Bug 1572335 - Adding new host to new Ovirt install fails with ERROR: Exception caught: org.fedoraproject.FirewallD1.Exception: INVALID_SERVICE: 'ovirt-imageio' not among existing services
Summary: Adding new host to new Ovirt install fails with ERROR: Exception caught: org....
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Host-Deploy
Version: 4.2.2.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Martin Perina
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-26 17:49 UTC by donald
Modified: 2018-04-27 19:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-27 19:20:13 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)

Description donald 2018-04-26 17:49:01 UTC
Description of problem:
Adding 

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

How reproducible:
everytime

Steps to Reproduce:
1. I tried to add new host to new Ovirst install. Fails
2. I checked the /var/log/ovirt-engine/host_deploy logs and found that it is getting this error:
Permanent and Non-Permanent(immediate) operation

2018-04-26 12:30:55,250 p=28980 u=ovirt |  ok: [ny-ovirt02.nhl.com] => (item={u'service': u'vdsm'}) => {
    "changed": false,
    "item": {
        "service": "vdsm"
    }
}

MSG:

Permanent and Non-Permanent(immediate) operation

2018-04-26 12:30:56,182 p=28980 u=ovirt |  failed: [ny-ovirt02.nhl.com] (item={u'service': u'ovirt-imageio'}) => {
    "changed": false,
    "item": {
        "service": "ovirt-imageio"
    }
}

MSG:

ERROR: Exception caught: org.fedoraproject.FirewallD1.Exception: INVALID_SERVICE: 'ovirt-imageio' not among existing services Permanent and Non-Permanent(immediate) operation, Services are defined by port/tcp relationship and named as they are in /etc/services (on most systems)

3. I tried [root@ny-ovirt02 ~]# firewall-cmd --permanent --zone=public --add-service=ovirt-imageio
Error: INVALID_SERVICE: 'ovirt-imageio' not among existing services

Actual results:
failure

Expected results:
pass

Additional info:
It seems like it is trying to install a service that does not exist.

Comment 1 Martin Perina 2018-04-27 08:38:12 UTC
Which distribution are you using? CentOS 7.4+ which includes firewalld-4.4.4 or newer is required ...

Comment 2 donald 2018-04-27 16:36:51 UTC
Thanks for the ip. The host was at 7.3. I updated it and the install way successful.

Comment 3 donald 2018-04-27 16:37:21 UTC
(In reply to donald from comment #2)
> Thanks for the ip. The host was at 7.3. I updated it and the install way
> successful.
Thanks for the tip!


Note You need to log in before you can comment on or make changes to this bug.