Bug 1053751 - Alert user of insufficient storage space when VM clone is failed on this issue
Summary: Alert user of insufficient storage space when VM clone is failed on this issue
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.5.0
Assignee: Vered Volansky
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks: 960934
TreeView+ depends on / blocked
 
Reported: 2014-01-15 17:34 UTC by Allon Mureinik
Modified: 2016-02-10 19:07 UTC (History)
9 users (show)

Fixed In Version:
Clone Of: 917682
Environment:
Last Closed: 2014-11-07 14:31:27 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
screenshot (171.24 KB, image/jpeg)
2014-10-20 12:23 UTC, Vered Volansky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26733 0 None None None Never
oVirt gerrit 26734 0 None None None Never

Description Allon Mureinik 2014-01-15 17:34:49 UTC
+++ This bug was initially created as a clone of Bug #917682 +++

Description of problem:
If you create a clone from snapshot and if the target SD has not sufficent space, the error message is cryptic

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-3.2.0-4.fc18.noarch

How reproducible:
always

Steps to Reproduce:
1. create vm
2. create snapshot
3. create clone from snapshot selecting SD with unsufficient space
  
Actual results:
You get a cryptic error
https://docs.google.com/file/d/0BwoPbcrMv8mvaW9OVW84WVI1dkU/edit?usp=sharing

Expected results:

suggest oVirt to at least behave this way:

1) pre-calculate necessary space and in case of problems don't start
the clone operation but open a warning message window to the user impeding it

If during 1) all was ok but in the mean time it went KO (eg unexpected new
storage allocated that made impossible clone completion)
2) notify the user with the actual problem (insufficient space) and
not those crypic messages....
------

The same validation is missing (or at least implemented incorrectly) for cloning a VM from a template

Comment 1 Vered Volansky 2014-06-26 12:27:16 UTC
Storage validation is now done as part of the bz917682 fix.
Added related patches.

Keeping the bug for the user message issue (point #2 in comment #0), and changing the name accordingly.

Comment 2 Vered Volansky 2014-10-20 12:23:21 UTC
Created attachment 948526 [details]
screenshot

Comment 3 Vered Volansky 2014-10-20 12:24:29 UTC
When reproduced the second step, got a good message in the event log:
"Critical, Low disk space. loop domain has 0 GB of free space" .
Attached screenshot, moving to modified.

Comment 4 Allon Mureinik 2014-11-07 14:31:27 UTC
This patch has included in the build for a LONG while (this the alpha build).
Not sure why the bot missed it, but closing as 3.5.0 has been realesaed


Note You need to log in before you can comment on or make changes to this bug.