Bug 1393835 - [RFE] Cannot change HE cpu family to accommodate a hypervisor with lesser cpu family
Summary: [RFE] Cannot change HE cpu family to accommodate a hypervisor with lesser cp...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 2.1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: Nikolai Sednev
URL:
Whiteboard:
: 1431211 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-10 12:35 UTC by nijin ashok
Modified: 2019-12-16 07:21 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-06 12:46:35 UTC
oVirt Team: SLA
Target Upstream Version:


Attachments (Terms of Use)

Description nijin ashok 2016-11-10 12:35:04 UTC
Description of problem:

It's not possible to add a hypervisor with lesser cpu family in an existing hosted engine environment. As an example, if you are having an environment configured with "Sandy Bridge" and if later if we are adding a hypervisor which supports upto "Westmere" family, then the installation will fails with error "Invalid CPU type specified". However there is no option to change the current environment cpu type to Westmere as the answer.conf lies in the shared storage.

We can workaround it by manually providing hosted-engine --deploy --config-append <answer.conf>. However from RHV 4.0 , cpu type also exist in the vm.conf and HE VM is tarted with qemu-kvm -cpu <cpu-family> which is configured in the OVF_STORE. So the HE VM will fail to start in new hypervisor with error "unsupported configuration: guest and host CPU are not compatible:"

Editing the HE VM cpu type is locked in the RHEV-M portal. So it's not possible to change the cpu type which is configured during the installation.


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

ovirt-hosted-engine-setup-2.0.2.2-2.el7ev.noarch
rhevm-4.0.4.4-0.1.el7ev.noarch


How reproducible:

100%

Steps to Reproduce:

1. Install a hosted engine environment.

2. Add a new hosted engine host which does not support the existing cpu family in the HE environment.

3. Installation fails with error "Invalid CPU type specified". If we workaround it manually by "--config-append" , it's not possible to edit the HE cpu family from portal so that the vm.conf get synced with new information.

Actual results:

Cannot change HE cpu family to  accommodate a hypervisor with lesser cpu family

Expected results:

Should be able to add new hypervisor by setting the lowest cpu family of the cluster.


Additional info:

Comment 1 Doron Fediuck 2016-11-23 12:00:42 UTC
For now this is not allowed since the VM may crash when moving to a host with a lower cpu family.

Comment 4 Doron Fediuck 2017-03-13 14:58:39 UTC
*** Bug 1431211 has been marked as a duplicate of this bug. ***

Comment 5 Simone Tiraboschi 2017-03-13 17:33:55 UTC
Workaround: lower the CPU type in the cluster definition and change the VM core number for the engine VM to force an OVF_STORE update.
Reboot the engine VM to start with the new CPU.

Comment 7 nijin ashok 2017-06-13 05:35:25 UTC
(In reply to Simone Tiraboschi from comment #5)
> Workaround: lower the CPU type in the cluster definition and change the VM
> core number for the engine VM to force an OVF_STORE update.
> Reboot the engine VM to start with the new CPU.

This works fine and I was able to add the HE host with lower cpu family. I will document this in a KCS.

However the answer.conf in the conf_volume is still having the old cpu family . Not sure if it create any issue.

Comment 13 Franta Kust 2019-05-16 13:03:07 UTC
BZ<2>Jira Resync


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