Created attachment 618191[details]
log
Description of problem:
I removed a large number of vms (created 100 vms selected and deleted about 10-15 at a time) + restart of engine will cause the following error in engine log:
2012-09-27 17:56:08,874 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-4-thread-40) CommandsFactory [parameter: VdcActionParametersBase]: Failed to get type information using reflection for Action: RemoveVm: java.lang.RuntimeException: could not find matching constructor for Command class class org.ovirt.engine.core.bll.RemoveVmCommand
Version-Release number of selected component (if applicable):
si19
Steps to Reproduce:
1. create 100vms
2. select 10-15 each time and remove them until you remove all vms
3. restart engine
Actual results:
2012-09-27 17:56:08,874 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-4-thread-40) CommandsFactory [parameter: VdcActionParametersBase]: Failed to get type information using reflection for Action: RemoveVm: java.lang.RuntimeException: could not find matching constructor for Command class class org.ovirt.engine.core.bll.RemoveVmCommand
Expected results:
no exception should happen
Additional info:log
The problem is a following : we have a code at CommandBase which should update
task with parameters of parent command the code is unneeded, the fix is easy, benefit a bug will be solved and we will reduce at least two updates of DB on each task.
The patch for upstream:
http://gerrit.ovirt.org/#/c/8291/
verified on si24.4
there is a different issue - the disks are staying in locked state even though we write that they are moved to illegal. new bug will be opened.
Created attachment 618191 [details] log Description of problem: I removed a large number of vms (created 100 vms selected and deleted about 10-15 at a time) + restart of engine will cause the following error in engine log: 2012-09-27 17:56:08,874 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-4-thread-40) CommandsFactory [parameter: VdcActionParametersBase]: Failed to get type information using reflection for Action: RemoveVm: java.lang.RuntimeException: could not find matching constructor for Command class class org.ovirt.engine.core.bll.RemoveVmCommand Version-Release number of selected component (if applicable): si19 Steps to Reproduce: 1. create 100vms 2. select 10-15 each time and remove them until you remove all vms 3. restart engine Actual results: 2012-09-27 17:56:08,874 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (pool-4-thread-40) CommandsFactory [parameter: VdcActionParametersBase]: Failed to get type information using reflection for Action: RemoveVm: java.lang.RuntimeException: could not find matching constructor for Command class class org.ovirt.engine.core.bll.RemoveVmCommand Expected results: no exception should happen Additional info:log