Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 919842

Summary: Failures when trying to run stateless VM
Product: [Retired] oVirt Reporter: Arik <ahadas>
Component: ovirt-engine-coreAssignee: Barak <bazulay>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2CC: acathrow, bazulay, eedri, iheim, jkt, lpeer, michal.skrivanek, mlipchuk, oramraz, Rhev-m-bugs, yeylon, yzaslavs
Target Milestone: m1   
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 07:33:43 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:
Attachments:
Description Flags
engine log none

Description Arik 2013-03-10 12:33:22 UTC
Description of problem:
When trying to run VM which is attached to pool, the command fails. the following error appears in the log:
2013-03-10 13:40:46,226 INFO  [org.ovirt.engine.core.bll.RunVmCommand] (pool-10-thread-49) [2ef709a4] Ending command successfully: org.ovirt.engine.core.bll.RunVmCommand
2013-03-10 13:40:46,228 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-10-thread-49) [2ef709a4] Cant find constructor for type org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand with parameter types: [class org.ovirt.engi
ne.core.common.action.ImagesActionsParametersBase]
2013-03-10 13:40:46,228 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-10-thread-49) [2ef709a4] CommandsFactory [parameter: VdcActionParametersBase]: Failed to get type information using reflection for Action: CreateAllSnapshots
FromVm: java.lang.RuntimeException: could not find matching constructor for Command class class org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand


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


How reproducible:
100%

Steps to Reproduce:
1. create pool with 3 VMs
2. edit the pool and set few prestarted VMs
3.
  
Actual results:
The VM can't start, the task is repeatedly failing

Expected results:
There should be few VMs running, as specified in the prestarted VMs field

Additional info:
it seems to be related to previous patch that was merged lately: d0256c79f3acc6465a388a4328ec726886cc6a7e

Comment 1 Arik 2013-03-10 12:34:48 UTC
Created attachment 707852 [details]
engine log

Comment 3 mkublin 2013-03-11 09:32:37 UTC
The bug is upstream

Comment 5 Maor 2013-03-11 09:56:07 UTC
*** Bug 917736 has been marked as a duplicate of this bug. ***

Comment 6 mkublin 2013-03-12 07:38:35 UTC
merged, it us upstream bug. What status should be?

Comment 7 Maor 2013-03-14 08:34:37 UTC
*** Bug 917736 has been marked as a duplicate of this bug. ***

Comment 8 Yaniv Kaul 2013-03-14 09:44:22 UTC
(In reply to comment #3)
> The bug is upstream

Moving to upstream.

Comment 10 Itamar Heim 2013-08-21 16:41:03 UTC
as RC is built, moving to ON_QA (hopefully did not catch incorrect bugs when doing this)

Comment 11 Itamar Heim 2013-09-23 07:33:43 UTC
closing as this should be in 3.3 (doing so in bulk, so may be incorrect)