Created attachment 925811 [details] engine.log Description of problem: Second suspend of a vm doesn't work Version-Release number of selected component (if applicable): u/s engine eda3e46222d597b0844d7bba5b809282bda010d9 . vdsm nightly - vdsm-4.16.1-0.gita4d9abf.fc20.x86_64 Steps to Reproduce: 1. Create a new VM and run it (without actual OS installation, default settings apart from nic - ovirtmgmt). 2. Hibernate (suspend). 3. Run. 4. Hibernate. Actual results: NPE, bad user message. Will logs and screenshot of the error message. Expected results: Hibernate. Logs should contain vm creation - named 'vm', as well as 'vm111' creation.
Created attachment 925816 [details] vdsm.log
This happened to me on a virt flow, but looks like infra NPE: 2014-08-11 17:49:18,020 ERROR [org.ovirt.engine.core.bll.HibernateVmCommand] (http--0.0.0.0-8080-2) [2d17e3c8] Error during CanDoActionFailure.: java.lang.NullPointerException at org.ovirt.engine.core.bll.tasks.AsyncTaskManager.isCurrentTaskLookedFor(AsyncTaskManager.java:378) [bll.jar:] at org.ovirt.engine.core.bll.tasks.AsyncTaskManager.entityHasTasks(AsyncTaskManager.java:783) [bll.jar:] at org.ovirt.engine.core.bll.tasks.TaskManagerUtil.entityHasTasks(TaskManagerUtil.java:50) [bll.jar:] at org.ovirt.engine.core.bll.HibernateVmCommand.canDoAction(HibernateVmCommand.java:255) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.internalCanDoAction(CommandBase.java:746) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.canDoActionOnly(CommandBase.java:321) [bll.jar:] at org.ovirt.engine.core.bll.MultipleActionsRunner.execute(MultipleActionsRunner.java:78) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runMultipleActionsImpl(Backend.java:547) [bll.jar:] at org.ovirt.engine.core.bll.Backend.runMultipleActions(Backend.java:517) [bll.jar:]
Created attachment 925819 [details] screenshot of user error message Error while executing action: vm: General command validation failure.
smells like coco. Oved, can you please check out?
Verified in: oVirt Engine Version: 3.5.0-0.0.master.20140821064931.gitb794d66.el6 Multiple suspend works also with vms with/without disks and systems.
oVirt 3.5 has been released and should include the fix for this issue.