Bug 1319881 - Hosted-engine CPU type list should match the list on the engine
Summary: Hosted-engine CPU type list should match the list on the engine
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Plugins.General
Version: 1.3.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.5
: 1.3.5.0
Assignee: Simone Tiraboschi
QA Contact: Shira Maximov
URL:
Whiteboard:
: 1206701 (view as bug list)
Depends On:
Blocks: 1321997
TreeView+ depends on / blocked
 
Reported: 2016-03-21 18:02 UTC by Marina Kalinin
Modified: 2017-05-11 09:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-21 14:41:47 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 55042 0 master MERGED cpu: sync support for latest 3.6 CPUs 2016-03-25 14:48:35 UTC
oVirt gerrit 55251 0 ovirt-hosted-engine-setup-1.3 MERGED cpu: sync support for latest 3.6 CPUs 2016-03-25 14:49:01 UTC

Description Marina Kalinin 2016-03-21 18:02:33 UTC
Description of problem:
Right now, hosted-engine does not support all CPU types for the hypervisors that are supported by the engine.

Engine list:
~~~
SELECT * from vdc_options where option_value like '%Haswel%' and version='3.6';

option_id    | 575
option_name  | ServerCPUList
option_value | 
3:Intel Conroe Family:vmx,nx,model_Conroe:Conroe:x86_64; 
4:Intel Penryn Family:vmx,nx,model_Penryn:Penryn:x86_64; 
5:Intel Nehalem Family:vmx,nx,model_Nehalem:Nehalem:x86_64; 
6:Intel Westmere Family:aes,vmx,nx,model_Westmere:Westmere:x86_64; 
7:Intel SandyBridge Family:vmx,nx,model_SandyBridge:SandyBridge:x86_64; 
8:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 
9:Intel Haswell Family:vmx,nx,model_Haswell:Haswell:x86_64; 
10:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 
11:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 
2:AMD Opteron G1:svm,nx,model_Opteron_G1:Opteron_G1:x86_64; 
3:AMD Opteron G2:svm,nx,model_Opteron_G2:Opteron_G2:x86_64; 
4:AMD Opteron G3:svm,nx,model_Opteron_G3:Opteron_G3:x86_64; 
5:AMD Opteron G4:svm,nx,model_Opteron_G4:Opteron_G4:x86_64; 
6:AMD Opteron G5:svm,nx,model_Opteron_G5:Opteron_G5:x86_64; 
3:IBM POWER8:powernv,model_POWER8:POWER8:ppc64;
version      | 3.6
~~~

Hosted-engine list in ovirt-hosted-engine-setup/vdsmd/cpu.py:
~~~
    # CPU list from ovirt-engine: git grep ServerCPUList | grep 3.5
    CPU_FAMILIES = (
        {'model': 'model_Haswell', 'name': 'Intel Haswell Family'},
        {'model': 'model_SandyBridge', 'name': 'Intel SandyBridge Family'},
        {'model': 'model_Westmere', 'name': 'Intel Westmere Family'},
        {'model': 'model_Nehalem', 'name': 'Intel Nehalem Family'},
        {'model': 'model_Penryn', 'name': 'Intel Penryn Family'},
        {'model': 'model_Conroe', 'name': 'Intel Conroe Family'},
        {'model': 'model_Opteron_G5', 'name': 'AMD Opteron G5'},
        {'model': 'model_Opteron_G4', 'name': 'AMD Opteron G4'},
        {'model': 'model_Opteron_G3', 'name': 'AMD Opteron G3'},
        {'model': 'model_Opteron_G2', 'name': 'AMD Opteron G2'},
        {'model': 'model_Opteron_G1', 'name': 'AMD Opteron G1'},
    )

~~~

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-1.3.3.4-1.el7ev.noarch
3.6.3


What is missing:
3:IBM POWER8:powernv,model_POWER8:POWER8:ppc64;
8:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 
10:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 
11:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 


I believe those need to be added ASAP.

Comment 1 Simone Tiraboschi 2016-03-22 09:21:46 UTC
(In reply to Marina from comment #0)
> What is missing:
> 3:IBM POWER8:powernv,model_POWER8:POWER8:ppc64;

We don't build hosted-engine for ppc64

> 8:Intel Haswell-noTSX
> Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 
> 10:Intel Broadwell-noTSX
> Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 
> 11:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 

OK

Comment 2 Shira Maximov 2016-04-12 11:19:32 UTC
verified on: 
ovirt-hosted-engine-setup-1.3.5.0-1.el7ev.noarch
ovirt-hosted-engine-ha-1.3.5.2-1.el7ev.noarch

verification steps:

look at Hosted-engine list in ovirt-hosted-engine-setup/vdsmd/cpu.py: 
and search for  the following CPU types:

8:Intel Haswell-noTSX Family:vmx,nx,model_Haswell-noTSX:Haswell-noTSX:x86_64; 
10:Intel Broadwell-noTSX Family:vmx,nx,model_Broadwell-noTSX:Broadwell-noTSX:x86_64; 
11:Intel Broadwell Family:vmx,nx,model_Broadwell:Broadwell:x86_64; 


The cpu types exists it the file:

'model': 'model_Haswell-noTSX',
'name': 'Intel Haswell-noTSX Family'

'model': 'model_Broadwell-noTSX',
'name': 'Intel Broadwell-noTSX Family

'model': 'model_Broadwell',
 'name': 'Intel Broadwell Family'

Comment 3 Simone Tiraboschi 2016-04-13 12:57:29 UTC
*** Bug 1206701 has been marked as a duplicate of this bug. ***


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