Bug 1119796
Summary: | Cannot Run Once VM as stateless (Cant find constructor for type org.ovirt.engine.core.bll.RunVmOnceCommand & NPE) | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Pavel Novotny <pnovotny> | ||||
Component: | ovirt-engine-core | Assignee: | Yair Zaslavsky <yzaslavs> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.5 | CC: | gklein, iheim, oourfali, rbalakri, yeylon | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.5.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | infra | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-10-17 12:34:58 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Verified in ovirt-engine-3.5.0-0.0.master.20140821064931.gitb794d66.el6.noarch (rc1.1). Verification steps: 1. In GUI create VM with bootable disk. 2. Select VM -> Run Once -> check "Run Stateless" -> OK Result: 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. |
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): ovirt-engine-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch (beta) How reproducible: 100% Steps to Reproduce: 1. Have a VM with bootable disk. 2. Run Once -> check "Run Stateless" -> OK 3. Actual results: 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). Expected results: VM is started as stateless. No errors. Additional info: Traceback snippet: 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 ... ...