Bug 841504

Summary: [engine-core] direct lun: unable to suspend vm: Reasons:ACTION_TYPE_FAILED_DISK_SPACE_LOW (need to fix error message)
Product: Red Hat Enterprise Virtualization Manager Reporter: Haim <hateya>
Component: ovirt-engineAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Leonid Natapov <lnatapov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: abaron, amureini, derez, dron, dyasny, iheim, lpeer, mkublin, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: SI17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:58:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Haim 2012-07-19 08:42:08 UTC
Description of problem:

vm is running with direct lun disk, user simply tries to suspend the vm, and hit the following error: low disk space on storage server.

this is basically not true since the disk is not really related to the storage domain ... if this operation is not supported which i suspect is not true as well, please handle with proper error messages\gray-out suspend button.

- start vm with direct lun disk 
- suspend vm


2012-07-19 10:59:07,413 WARN  [org.ovirt.engine.core.bll.HibernateVmCommand] (ajp-/0.0.0.0:8009-10) CanDoAction of action HibernateVm failed. Reasons:ACTION_TYPE_FAILED_DISK_SPACE_LOW,VAR__TYPE__VM,VAR__ACTION_
_HIBERNATE

Comment 3 Liron Aravot 2012-08-05 07:47:06 UTC
submitted the following patch to resolve this issue:
http://gerrit.ovirt.org/#/c/6797/

Comment 4 Allon Mureinik 2012-08-29 07:26:42 UTC
Merged Change-Id: I11fb32b54cf159fb63e172504342861493d2aa77

Comment 5 Leonid Natapov 2012-09-11 15:17:34 UTC
si17. fixed.