Bug 901996

Summary: engine: live storage migration fails with CanDoAction on live snapshot because of low disk space without any alert in event log
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Tal Nisan <tnisan>
Status: CLOSED WONTFIX QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: abaron, acanan, acathrow, amureini, dyasny, hateya, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-20 10:37:31 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:
Attachments:
Description Flags
log and screen shot none

Description Dafna Ron 2013-01-20 11:30:59 UTC
Created attachment 683531 [details]
log and screen shot

Description of problem:

I wanted to live move disks but there is low storage space on my domain.
the live migration and the failure are both not reported in event log. 

Version-Release number of selected component (if applicable):

sf3

How reproducible:

100%

Steps to Reproduce:
1. create a VM with preallocated disks leaving only 10% free space on your domain
2. run the vm
3. try to live move the disks to a second domain. 
  
Actual results:

the live migration will fail with CanDoAction but the event log is not reporting failure. 

Expected results:

we should report failure 

Additional info: log


2013-01-20 13:09:57,276 WARN  [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (pool-3-thread-45) [71c03db8] CanDoAction of action CreateAllSnapshotsFromVm failed. Reasons:VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_F
AILED_DISK_SPACE_LOW

Comment 2 Yair Zaslavsky 2013-01-20 12:39:50 UTC
IMHO, adding this new event should is more storage related (i.e - providing new event in storage flow of live storage migration).

Comment 3 Allon Mureinik 2013-01-20 21:22:38 UTC
Currently, we only fire such a audit log msg as a result of polling storage domains, not in CDA.

Resetting devel-ack until further discussion with qa/pm