Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1547196

Summary: Unable to add rhvh rhvh-4.2.1.3-0.20180218.0 to engine 4.2.2-0.1.el7
Product: Red Hat Enterprise Virtualization Manager Reporter: Tareq Alayan <talayan>
Component: ovirt-engineAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED WONTFIX QA Contact: Pavol Brilla <pbrilla>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.2CC: bugs, dguo, lsurette, michal.skrivanek, mperina, pbalogh, ratamir, rbalakri, Rhev-m-bugs, srevivo, talayan, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-23 13:08:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs
none
hypervisor-log none

Description Tareq Alayan 2018-02-20 17:22:56 UTC
Created attachment 1398346 [details]
logs

Description of problem:

add host failed 
Version-Release number of selected component (if applicable):
vdsm-4.20.18-1.el7ev.x86_64
ovirt-engine-4.2.2-0.1.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. add host 
2.
3.

Actual results:
Host host_mixed_2 does not comply with the cluster golden_env_mixed_1 emulated machine. The cluster emulated machine is pc-i440fx-rhel7.5.0 and the host emulated machines are pc-i440fx-rhel7.1.0,pc-q35-rhel7.3.0,rhel6.3.0,pc-i440fx-rhel7.0.0,rhel6.1.0,pc-i440fx-rhel7.4.0,rhel6.6.0,rhel6.2.0,pc,pc-i440fx-rhel7.3.0,q35,pc-i440fx-rhel7.2.0,rhel6.4.0,pc-q35-rhel7.4.0,rhel6.0.0,rhel6.5.0.

Expected results:
host up

Additional info:

Comment 1 Tareq Alayan 2018-02-20 17:23:49 UTC
Created attachment 1398356 [details]
hypervisor-log

Comment 2 Raz Tamir 2018-02-20 19:42:29 UTC
Seems like a regression https://bugzilla.redhat.com/show_bug.cgi?id=1287126

Comment 3 Yaniv Kaul 2018-02-21 07:39:13 UTC
Can you provide just a bit more information? What is the host OS? Does it happen always? Does it happen with both RHEL 7.5 and RHEL 7.4 hosts? What is the cluster set to? etc...

Comment 4 Petr Balogh 2018-02-23 09:26:39 UTC
Yaniv, I think that host OS is mentioned in the title of the bug. RHVH: rhvh-4.2.1.3-0.20180218.0 and I can see it happens always when I am trying to add new rhvh as a host to engine.

Release of engine is: 4.2.2-1 which is also mentioned in the title.

Compatibility Version of cluster: 4.2

Comment 5 Petr Balogh 2018-02-23 12:49:35 UTC
engine-config -g ClusterEmulatedMachines                                                     
ClusterEmulatedMachines: pc-i440fx-rhel7.2.0,pseries-rhel7.2.0 version: 3.6                                          
ClusterEmulatedMachines: pc-i440fx-rhel7.2.0,pseries-rhel7.2.0 version: 4.0                                          
ClusterEmulatedMachines: pc-i440fx-rhel7.3.0,pseries-rhel7.3.0 version: 4.1                                          
ClusterEmulatedMachines: rhel6.2.0 version: 3.0                                                                      
ClusterEmulatedMachines: rhel6.3.0 version: 3.1                                                                      
ClusterEmulatedMachines: rhel6.4.0 version: 3.2
ClusterEmulatedMachines: rhel6.5.0 version: 3.3
ClusterEmulatedMachines: rhel6.5.0,pseries version: 3.4
ClusterEmulatedMachines: rhel6.5.0,pseries version: 3.5
ClusterEmulatedMachines: pc-i440fx-rhel7.5.0,pseries-rhel7.5.0 version: 4.2


After I updated ClusterEmulatedMachines:
engine-config -s ClusterEmulatedMachines=pc-i440fx-rhel7.5.0,pseries-rhel7.5.0,pc-i440fx-rhel7.4.0,pseries-rhel7.4.0

I have:
pc-i440fx-rhel7.5.0,pseries-rhel7.5.0,pc-i440fx-rhel7.4.0,pseries-rhel7.4.0 version: 4.2

For already existing cluster I still cannot add host, because I see that 
Emulated Machine: pc-i440fx-rhel7.5.0
This is from UI..

New created cluster after adding one host has:
Emulated Machine: pc-i440fx-rhel7.4.0

And host is up there..

Don't know if there is way to change it in already created cluster?

Comment 6 Michal Skrivanek 2018-02-23 13:01:05 UTC
sorry, I missed this since this was filed on infra and not virt (Cluster stuff is virt, adding a host is infra, so I understand it's a tough call:-)

RHEL 7.4 based hosts can no longer be added/activated in a 4.2 cluster as of rhvm-setup-plugins-4.2.3-1.el7ev (bug 1540871)
It will happen for all pre-release builds of RHV 4.2

Comment 7 Michal Skrivanek 2018-02-23 13:04:46 UTC
This is a RHV-only bug

Comment 10 Michal Skrivanek 2018-02-23 13:08:26 UTC
all 4.2.2 build should now be on 7.5. Hosts on 7.4 are no longer allowed in 4.2 cluster.

Comment 11 Michal Skrivanek 2018-02-23 13:28:45 UTC
to be exact, the requirement is on qemu-kvm-rhev-2.10, the image in question has qemu-kvm-rhev-2.9.0-16.el7_4.13 which is not correct

Comment 12 Michal Skrivanek 2018-02-26 09:09:22 UTC
*** Bug 1548960 has been marked as a duplicate of this bug. ***

Comment 13 Franta Kust 2019-05-16 12:55:08 UTC
BZ<2>Jira re-sync