Bug 1010691

Summary: all-in-one: do not perform all in one installation if there are no cpu capabilities
Product: [Retired] oVirt Reporter: Ohad Basan <obasan>
Component: ovirt-engine-installerAssignee: Alex Lourie <alourie>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: medium    
Version: 3.3CC: acathrow, eedri, iheim, obasan, sbonazzo, yeylon
Target Milestone: ---   
Target Release: 3.3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 14:24:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ohad Basan 2013-09-22 15:06:29 UTC
Description of problem:
Currently there is a failure in the validation flow,
meaning, the all-in-one plugin is running (creating a dc and trying to create a cluster)
even if cpu capabilities are missing from the machine.

Comment 1 Itamar Heim 2013-09-23 21:21:20 UTC
ohad - is this with fedora 19? you need latest fedora qemu/libvirt for this to work.
I don't think its worth handling this use case otherwise (unless i'm missing something)

Comment 2 Ohad Basan 2013-09-24 07:32:36 UTC
actually it happened to me on a centos 6.4 machine.

Comment 3 Itamar Heim 2013-09-24 10:54:39 UTC
how come there are not cpu capabilities?

Comment 4 Ohad Basan 2013-09-24 11:41:26 UTC
because I accidently ran the setup on a vm
obviously it can't run all in one
but the setup should notify me and quit when this happens.

Comment 5 Sandro Bonazzola 2013-09-24 15:00:26 UTC
(In reply to Ohad Basan from comment #4)
> because I accidently ran the setup on a vm
> obviously it can't run all in one
> but the setup should notify me and quit when this happens.

I think that if nested VM is working (vdsm-hook-nestedvt), you should be able to install AIO also inside a VM (nested VM doesn't work on my laptop with emulated CPU westmere).
It just seems that the all-in-one/cpu plugin doesn't detect correctly the VM's cpu.

Comment 6 Alex Lourie 2013-09-24 15:25:29 UTC
Ohad

Please reproduce and attach logs of the failure.

Also, if you could change the code to pring that cpu value, that would be great too. Use something like

self.logger.debug('The value of cpu is \'{cpu}\''.format(cpu=cpu))

Thanks.

Comment 7 Sandro Bonazzola 2013-10-21 13:24:13 UTC
Still missing the backport to 3.3 branch

Comment 8 Sandro Bonazzola 2013-11-07 08:59:38 UTC
Targeting to 3.3.2 sincce it's not in 3.3.1 branch.

Comment 9 Sandro Bonazzola 2013-12-13 16:02:10 UTC
rc build done, moving to ON_QA, packages will be available on updates-testing repository.

Comment 10 Sandro Bonazzola 2013-12-19 14:24:48 UTC
oVirt 3.3.2 has been released resolving the problem described in this bug report.