Created attachment 920566 [details] vdsm+engine logs Description of problem: Engine throws NullPointerException when attempting vm.register(action=params.Action(cluster=params.Cluster(name='Default')) on a registered vm. 2014-07-24 16:45:51,270 ERROR [org.ovirt.engine.core.bll.ImportVmFromConfigurationCommand] (ajp--127.0.0.1-8702-6) [7f59c7f6] Error during CanDoActionFailure.: java.lang.NullPointerException and a long traceback Version-Release number of selected component (if applicable): oVirt beta.1 How reproducible: 100% Steps to Reproduce: 1.register a registered vm Actual results: engine throws NullPointerException Expected results: this operation should be disabled by CanDoAction and not throw any exceptions Additional info:
I tried to reproduce this from the GUI and from the REST, it result a CDA message every time: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <action> <cluster id="5231b101-2039-44ff-a4b2-462caa281375"/> <status> <state>failed</state> </status> <fault> <reason>Operation Failed</reason> <detail>[Import VM failed - VM Id already exist in the system. Please remove the VM (DFDFD) from the system first]</detail> </fault> </action>
(In reply to Maor from comment #1) > I tried to reproduce this from the GUI and from the REST, it result a CDA > message every time: > > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > <action> > <cluster id="5231b101-2039-44ff-a4b2-462caa281375"/> > <status> > <state>failed</state> > </status> > <fault> > <reason>Operation Failed</reason> > <detail>[Import VM failed - VM Id already exist in the system. > Please remove the VM (DFDFD) from the system first]</detail> > </fault> > </action> Returning to QA to verify in RC2. If you're able to reproduce this, please provide new steps to reproduce.
verified on vt4
oVirt 3.5 has been released and should include the fix for this issue.