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.
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.