Created attachment 717543 [details] vdsm+engine logs Description of problem: Suspend to VM that has only direct LUN disks is failing with 'CanDoAction of action HibernateVm failed' from engine. There is an active storage domain in the pool so there is a place where the VM state can be save to. Therefore, there should not be a problem with VM suspension. Version-Release number of selected component (if applicable): rhevm-backend-3.2.0-10.16.master.el6ev.noarch vdsm-4.10.2-12.0.el6ev.x86_64 How reproducible: 100% Steps to Reproduce: In a iscsi/FC DC with one or more host(s) and an active storage domain: 1. Run a VM with only direct LUN disk 2. Suspend the VM Actual results: The action is failing with "Cannot suspend VM that has no image disks." in the UI and: 2013-03-27 18:30:38,035 WARN [org.ovirt.engine.core.bll.HibernateVmCommand] (ajp-/127.0.0.1:8702-3) CanDoAction of action HibernateVm failed. Reasons:VAR__TYPE__VM,VAR__ACTION__HIBERNATE,VM_CANNOT_SUSPEND_VM_WITH OUT_IMAGE_DISKS Expected results: There is a place where VM state can be save to (the active storage domain in the pool), so Suspension to VM with direct LUN disk should work. Additional info: see logs attached.
this was caused because of the fix for Bug 841504 I don't see a reason to block suspend for vm without image disks as done there
merged u/s 57854c59ba2906fefa0a0e8b54f85acb9052400b
2013-05-12 11:02:19,935 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HibernateVDSCommand] (pool-3-thread-47) START, HibernateVDSCommand(HostName = green-vdsb, HostId = 04fdb222-b58a-11e2-ae1a-001a4a169734, vmI d=cb731aa6-0e2c-4a22-85c1-71bcd878b6d0, hibernationVolHandle=2b938e4a-70ea-4901-900e-68dbb1d17670,8a9f5a97-761a-42fa-be31-973e001ed4b6,d44b6064-cea2-4044-934c-457e8447874c,14cdaba9-9315-463f-b2c8-4f71da24a2aa,48df b251-6d11-431e-89cf-45268980e1bd,c6db6948-c186-4093-b9fa-3aa06b5a541d), log id: 13fed20e 2013-05-12 11:02:19,967 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HibernateVDSCommand] (pool-3-thread-47) FINISH, HibernateVDSCommand, log id: 13fed20e suspension to vm with only direct lun succeeded. Verified on RHEVM-3.2 - SF16 rhevm-3.2.0-10.25.beta3.el6ev.noarch vdsm-4.10.2-18.0.el6ev.x86_64
3.2 has been released