Bug 1003165 - [host-deploy] expecting to see Hardware does not support virtualization error at event tab
Summary: [host-deploy] expecting to see Hardware does not support virtualization error...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 3.3.1
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-31 11:09 UTC by Humble Chirammal
Modified: 2015-09-22 13:09 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-31 11:23:47 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)

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.


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