Created attachment 957164 [details] sosreport and logs from the host Description of problem: Resuming a VM from paused state fails on engine, with an exception. The VM is resumed successfully on vdsm. The operation is reported as failure. Version-Release number of selected component (if applicable): rhev 3.5 vt10 rhevm-3.5.0-0.20.el6ev.noarch vdsm-4.16.7.4-1.el6ev.x86_64 libvirt-0.10.2-46.el6_6.1.x86_64 qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64 How reproducible: Always Steps to Reproduce: 1. Create a VM, start it in pause mode 2. Resume the VM 3. Actual results: Operation reproted as failure in engine: 2014-11-13 13:49:25,923 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand] (org.ovirt.thread.pool-7-thread-21) [12a519d2] Failed in ResumeBrokerVDS method, for vds: green-vdsa; host: 10.35.10 2.10 2014-11-13 13:49:25,924 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand] (org.ovirt.thread.pool-7-thread-21) [12a519d2] Command ResumeBrokerVDSCommand(HostName = green-vdsa, HostId = d18319 be-31c4-4e7b-b55d-ec0976221542, vmId=322519e4-9039-431f-9b49-a16b124163a7) execution failed. Exception: ClassCastException: java.lang.Boolean cannot be cast to java.util.Map 2014-11-13 13:49:25,924 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ResumeBrokerVDSCommand] (org.ovirt.thread.pool-7-thread-21) [12a519d2] FINISH, ResumeBrokerVDSCommand, log id: 31b0cfe7 2014-11-13 13:49:25,924 ERROR [org.ovirt.engine.core.vdsbroker.ResumeVDSCommand] (org.ovirt.thread.pool-7-thread-21) [12a519d2] VDS::pause Failed resume vm 322519e4-9039-431f-9b49-a16b124163a7 in vds = d18319be-31 c4-4e7b-b55d-ec0976221542 : green-vdsa, error = java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.util.Map 2014-11-13 13:49:25,924 INFO [org.ovirt.engine.core.vdsbroker.ResumeVDSCommand] (org.ovirt.thread.pool-7-thread-21) [12a519d2] FINISH, ResumeVDSCommand, return: Unknown, log id: 54f445e0 2014-11-13 13:49:25,924 INFO [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-7-thread-21) [12a519d2] Lock freed to object EngineLock [exclusiveLocks= key: 322519e4-9039-431f-9b49-a16b124163a7 valu e: VM , sharedLocks= ] 2014-11-13 13:49:25,924 ERROR [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-7-thread-21) [12a519d2] Command org.ovirt.engine.core.bll.RunVmCommand throw Vdc Bll exception. With error message VdcB LLException: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.util.Map (Failed with error ENGINE and code 5001) 2014-11-13 13:49:25,945 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-21) [12a519d2] Correlation ID: 12a519d2, Job ID: b7d240e2-e571-4ff9-bfbd-8724361 66052, Call Stack: null, Custom Event ID: -1, Message: Failed to resume VM vm-2 (Host: green-vdsa, User: admin). But the VM is resumed successfully right after without user intervention: 2014-11-13 13:49:25,949 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-27) VM vm-2 322519e4-9039-431f-9b49-a16b124163a7 moved from Paused --> PoweringUp 2014-11-13 13:49:47,320 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-75) VM vm-1 9105ff91-6079-450f-89ac-492408326f8d moved from PoweringUp --> Up 2014-11-13 13:50:20,885 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-48) VM vm-2 322519e4-9039-431f-9b49-a16b124163a7 moved from PoweringUp --> Up [root@green-vdsa yum.repos.d]# vdsClient -s 0 getVdsStats | grep -i vmCount vmCount = 2 Expected results: Operation should not fail on engine Additional info: sosreport and logs from the host
*** This bug has been marked as a duplicate of bug 1163089 ***