Bug 1524170 - Wrong CPU type is passed during the HE wizard installation deploy and hosted engine failing
Summary: Wrong CPU type is passed during the HE wizard installation deploy and hosted ...
Keywords:
Status: CLOSED DUPLICATE of bug 1516113
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Hosted Engine
Version: ---
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Phillip Bailey
QA Contact: dguo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-10 13:14 UTC by Michael Burman
Modified: 2017-12-11 02:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-11 02:10:01 UTC
oVirt Team: Integration
Embargoed:


Attachments (Terms of Use)
hosted engine setup (30.96 KB, application/x-gzip)
2017-12-10 13:15 UTC, Michael Burman
no flags Details

Description Michael Burman 2017-12-10 13:14:18 UTC
Description of problem:
Wrong CPU type is passed during the HE wizard installation deploy and hosted engine failing. 

Expecting to get model_Conroe , but sending Conroe

hosted-engine failed to deploy because wrong CPU type are passed - 

2017-12-10 14:45:49,426+0200 DEBUG otopi.plugins.gr_he_setup.vdsmd.cpu cpu._customization:178 Compatible CPU models are: [u'model_Conroe', u'model_coreduo', u'model_core2duo', u'model_Penryn', u'model_n270']
2017-12-10 14:45:49,427+0200 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:204 DIALOG:SEND       ### The following CPU types are supported by this host:
2017-12-10 14:45:49,427+0200 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:204 DIALOG:SEND       ###       - model_Penryn: Intel Penryn Family
2017-12-10 14:45:49,428+0200 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logString:204 DIALOG:SEND       ###       - model_Conroe: Intel Conroe Family
2017-12-10 14:45:49,429+0200 DEBUG otopi.context context._executeMethod:143 method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in _executeMethod
    method['method']()
  File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-setup/vdsmd/cpu.py", line 233, in _customization
    ohostedcons.VDSMEnv.VDSM_CPU
RuntimeError: Invalid CPU type specified: Conroe

- The type that passed is Conroe, but expecting to get model_Conroe

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-2.2.0-0.4.master.git0b67c21.el7ev.noarch
cockpit-151-1.el7.x86_64

How reproducible:
100

Steps to Reproduce:
1. Try to deploy HE via cockpit wizard installation

Actual results:
Failed with CPU type invalid type

Expected results:
Must work and correct value should pass

Comment 1 Michael Burman 2017-12-10 13:15:43 UTC
Created attachment 1365588 [details]
hosted engine setup

Comment 2 Phillip Bailey 2017-12-11 02:05:19 UTC
A patch [1] was already merged that fixed this issue. I'll have to check to make sure that it made it into the version you're testing. 

[1] https://gerrit.ovirt.org/#/c/84521/

Comment 3 Phillip Bailey 2017-12-11 02:10:01 UTC

*** This bug has been marked as a duplicate of bug 1516113 ***


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