Created attachment 918179 [details]
engine.log - fail to run once VM
Description of problem:
In GUI doing a Run Once VM with "Run Stateless" enabled fails. No error is displayed and the VM doesn't start.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a VM with bootable disk.
2. Run Once -> check "Run Stateless" -> OK
New event shows up "Starting VM <vm> was initiated by user@domain.", but the
VM doesn't start.
Traceback is thrown in engine.log (see attached).
VM is started as stateless. No errors.
2014-07-15 15:58:59,200 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (org.ovirt.thread.pool-8-thread-33) Cant find constructor for type org.ovirt.engine.core.bll.RunVmOnceCommand with parameter types: [class org.ovirt.engine.core.common.action.RunVmOnceParams, class org.ovirt.engine.core.bll.context.CommandContext]
2014-07-15 15:58:59,273 ERROR [org.ovirt.engine.core.bll.tasks.CommandAsyncTask] (org.ovirt.thread.pool-8-thread-33) [within thread]: endAction for action type RunVmOnce threw an exception.: java.lang.NullPointerException
Verified in ovirt-engine-3.5.0-0.0.master.20140821064931.gitb794d66.el6.noarch (rc1.1).
1. In GUI create VM with bootable disk.
2. Select VM -> Run Once -> check "Run Stateless" -> OK
VM is ran as stateless. No errors are in engine.log.
oVirt 3.5 has been released and should include the fix for this issue.