Bug 807154 - [ovirt] [web-admin] expose more informative error when vm is failed to run on events tabs
Summary: [ovirt] [web-admin] expose more informative error when vm is failed to run on...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Einav Cohen
QA Contact:
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-27 07:52 UTC by Haim
Modified: 2016-01-28 21:54 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-12 10:43:40 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Haim 2012-03-27 07:52:21 UTC
Description of problem:

- started several vms after hibernation
- noticed that one of the vms failed to run
- opened events tab in vm context (click on vm, events tab)
- got the following message: 
  Failed to run VM $vmname on host $hostname

- opened console to $hostname, but didn't notice any errors. 
- opened engine logs, looked for $vmname and saw the following log:


2012-03-27 09:42:22,002 INFO  [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-5-thread-50) [1a4ac1a6] Vm Running failed - vm 1b52d502-880a-4c39-83bd-8e71a108ddcd:IgorFix-06 already running
2012-03-27 09:42:22,002 INFO  [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (pool-5-thread-50) [1a4ac1a6] FINISH, CreateVmVDSCommand, return: Suspended, log id: 18f6395b
2012-03-27 09:42:22,009 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (pool-5-thread-39) [7b61cf1a] START, CreateVDSCommand(vdsId = fec2f7b6-71db-11e1-8631-9b877a97bb15, vmId=abd99d69-448d-4df1-b6d9-889283a703bf, vm=org.ovirt.engine.core.common.businessentities.VM@2342a9ba), log id: 6af37ecf
2012-03-27 09:42:22,018 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (pool-5-thread-50) [1a4ac1a6] Failed to run desktop IgorFix-06, rerun
2012-03-27 09:42:22,061 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (pool-5-thread-43) [1a4ac1a6] START, IsValidVDSCommand(storagePoolId = 552256b8-3266-4930-9d13-f9c7ff636f35, ignoreFailoverLimit = false, compatabilityVersion = null), log id: 1108d6ae
2012-03-27 09:42:22,063 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IsValidVDSCommand] (pool-5-thread-43) [1a4ac1a6] FINISH, IsValidVDSCommand, return: true, log id: 1108d6ae
2012-03-27 09:42:22,079 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (pool-5-thread-50) [53f81d66] Running command: RunVmCommand internal: false. Entities affected :  ID: abd99d69-448d-4df1-b6d9-889283a703bf Type: VM
2012-03-27 09:42:22,093 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (pool-5-thread-43) [1a4ac1a6] START, IsVmDuringInitiatingVDSCommand(vmId = 1b52d502-880a-4c39-83bd-8e71a108ddcd), log id: 38d916d0
2012-03-27 09:42:22,093 INFO  [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (pool-5-thread-43) [1a4ac1a6] FINISH, IsVmDuringInitiatingVDSCommand, return: true, log id: 38d916d0
2012-03-27 09:42:22,093 WARN  [org.ovirt.engine.core.bll.RunVmCommand] (pool-5-thread-43) [1a4ac1a6] CanDoAction of action RunVm failed. Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IS_RUNNING

please propagate correct errors to event tab

Comment 1 Itamar Heim 2012-12-12 10:43:40 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


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