Bug 1003165

Summary: [host-deploy] expecting to see Hardware does not support virtualization error at event tab
Product: Red Hat Enterprise Virtualization Manager Reporter: Humble Chirammal <hchiramm>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2.0CC: acathrow, alonbl, bazulay, dougsland, ecohen, iheim, lpeer, Rhev-m-bugs, rjones, yeylon
Target Milestone: ---   
Target Release: 3.3.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 11:23:47 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:

Description Humble Chirammal 2013-08-31 11:09:10 UTC
Description of problem:

The RHEV-H installation was failed and 'EVENT' tab in RHEV-M showed below error message:

"Host dhcp209-156.gsslab.pnq.redhat.com installation failed. Command returned failure code 1 during SSH session 'root.209.156'."

Unfortunately it is not possible to find/understand the root cause of the failure from above message, it always looked a general error for almost all failed attempts.

The error captured in host deploy otopi logs gives the exact reason:

2013-08-31 18:54:02 DEBUG otopi.context context._executeMethod:130 method exception
Traceback (most recent call last):
  File "/tmp/ovirt-16ra6eYtqZ/pythonlib/otopi/context.py", line 120, in _executeMethod
    method['method']()
  File "/tmp/ovirt-16ra6eYtqZ/otopi-plugins/ovirt-host-deploy/vdsm/hardware.py", line 205, in _validate_virtualization
    _('Hardware does not support virtualization')
RuntimeError: Hardware does not support virtualization
2013-08-31 18:54:02 ERROR otopi.context context._executeMethod:139 Failed to execute stage 'Setup validation': Hardware does not support virtualization
2013-08-31 18:54:02 DEBUG otopi.context context.dumpEnvironment:391 ENVIRONMENT DUMP - BEGIN
2013-08-31 18:54:02 DEBUG otopi.context context.dumpEnvironment:401 ENV BASE/error=bool:'True'
2013-08-31 18:54:02 DEBUG otopi.context context.dumpEnvironment:403 ENVIRONMENT DUMP - END
2013-08-31 18:54:02 INFO otopi.context context.runSequence:332 Stage: Pre-termination
2013-08-31 18:54:02 DEBUG otopi.context context.runSequence:336 STAGE pre-terminate
2013-08-31 18:54:02 DEBUG otopi.context context._executeMethod:116 Stage pre-terminate METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate


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

rhevm-webadmin-portal-3.2.0-11.37.el6ev.noarch

How reproducible:

N/A

Steps to Reproduce:

N/A

Actual results:

Hypervisor bootstrapping failed, but 'EVENTS' tab didnt give any clue.

Expected results:

The error message should carry some information about the exact root cause.

Comment 1 Richard W.M. Jones 2015-09-09 15:10:39 UTC
Why was the bug closed?  I'm using oVirt 3.5 and get exactly the
same problem.  It took me ages to work out that I had to locate some
file (in /var/log/ovirt-engine/host-deploy for future reference).

Also, how can I get it to ignore this:

  File "/tmp/ovirt-PvssgRGapK/otopi-plugins/ovirt-host-deploy/vdsm/hardware.py", line 68, in _validate_virtualization
    _('Hardware does not support virtualization')
RuntimeError: Hardware does not support virtualization

It's a test VM, I literally do not care.

Comment 2 Alon Bar-Lev 2015-09-09 15:30:48 UTC
(In reply to Richard W.M. Jones from comment #1)
> Why was the bug closed?  I'm using oVirt 3.5 and get exactly the
> same problem.  It took me ages to work out that I had to locate some
> file (in /var/log/ovirt-engine/host-deploy for future reference).
> 
> Also, how can I get it to ignore this:
> 
>   File
> "/tmp/ovirt-PvssgRGapK/otopi-plugins/ovirt-host-deploy/vdsm/hardware.py",
> line 68, in _validate_virtualization
>     _('Hardware does not support virtualization')
> RuntimeError: Hardware does not support virtualization
> 
> It's a test VM, I literally do not care.

not sure if your issue is same as this one. but you should see this error both in host event tab (click on host, and at lower panel click events), in /var/log/ovirt-engine/engine.log and in /var/log/ovirt-engine/host-deploy/*.log specific file name is available within event tab as well.