Bug 1489016 - installation of 3.6 host into 3.6 compatibility cluster fails
Summary: installation of 3.6 host into 3.6 compatibility cluster fails
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-host-deploy
Classification: oVirt
Component: General
Version: 1.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Ondra Machacek
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On: 1460954
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-06 15:19 UTC by Radim Hrazdil
Modified: 2017-09-07 10:07 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-09-07 10:07:34 UTC
oVirt Team: Infra
Embargoed:


Attachments (Terms of Use)

Description Radim Hrazdil 2017-09-06 15:19:55 UTC
Description of problem:
When installing 3.6 host into 3.6 comp. cluster on 4.2 engine, the installation fails on Ansible host-deploy role: 
TASK [ovirt-host-deploy-firewalld : Check if VDSM version is supported for FirewallD] ***
fatal: [xx.xx.xx.xx]: FAILED! => {"changed": false, "failed": true, "msg": "VDSM version 4.17.32 is not supported for FirewallD."}


Version-Release number of selected component (if applicable):
engine: Version 4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos
host: http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
      Cent OS 7

How reproducible:
100%

Steps to Reproduce:
1. On 4.2 engine create 3.6 datacenter and 3.6 cluster.
2. try to install host with 3.6 packages (link above) into the 3.6 cluster
3. 

Actual results:
Host testhost installation fails with message: "Failed to execute Ansible host-deploy role."

Expected results:
Host should install successfully

Additional info:

Comment 1 Sandro Bonazzola 2017-09-07 05:46:21 UTC
(In reply to Radim Hrazdil from comment #0)
> Description of problem:
> When installing 3.6 host into 3.6 comp. cluster on 4.2 engine, the
> installation fails on Ansible host-deploy role: 
> TASK [ovirt-host-deploy-firewalld : Check if VDSM version is supported for
> FirewallD] ***
> fatal: [xx.xx.xx.xx]: FAILED! => {"changed": false, "failed": true, "msg":
> "VDSM version 4.17.32 is not supported for FirewallD."}

Martin, this seems to be a ovirt-engine bug, trying to enable firewalld stuff on non-4.2 clusters.

Comment 2 Martin Perina 2017-09-07 07:02:52 UTC
1. It's not possible to set firewall type to firewalld for 3.6 cluster (I've just check this in webadmin).

2. For cluster levels 4.0 - 4.2 you can set firewall type to firewalld, but if your host is not 4.2 (checked by VDSM version), then of course installation fails with above error message

So here are questions:

1. How exactly were you able to to create 3.6 cluster with firewalld type?
2. Could you please attach complete engine logs?

Comment 3 Radim Hrazdil 2017-09-07 09:33:19 UTC
I accidentaly added the host into 4.2 cluster instead of 3.6. Just tried it again with fresh host and it works ok. Please close.


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