Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 917682

Summary: storage allocation checks when cloning a snapshot
Product: [Retired] oVirt Reporter: Gianluca Cecchi <gianluca.cecchi>
Component: ovirt-engine-coreAssignee: Vered Volansky <vered>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2CC: amureini, ecohen, gklein, iheim, mgoldboi, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-3.5.0-alpha1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1053751 (view as bug list) Environment:
Last Closed: 2014-10-17 12:28:06 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:
Bug Depends On:    
Bug Blocks: 960934    
Attachments:
Description Flags
error in webadmin gui when insufficient space none

Description Gianluca Cecchi 2013-03-04 14:49:35 UTC
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....

Additional info:

1) could be further enhanced proposing the user a window with the storage domains able to satisfy his/her request based on VM storage requirements for the VM he/she is going to clone, and not forcing the user to manually go inside "resource allocation" section of "clone vm" window with a drop-down list of storage domains, but without the actual free space at the moment that is a crucial info.


Also, the storage main page in webadmin gui could contain a column reporting  the overall configured storage for that storage domain, and not only the free space column.

Thanks for attention,
Gianluca

Comment 1 Gianluca Cecchi 2013-03-04 14:53:09 UTC
Created attachment 705003 [details]
error in webadmin gui when insufficient space

I also attach the image pointe by google drive link provided before...

Comment 4 Sandro Bonazzola 2014-03-04 09:26:16 UTC
This is an automated message.
Re-targeting all non-blocker bugs still open on 3.4.0 to 3.4.1.

Comment 5 Kevin Alon Goldblatt 2014-07-09 11:31:59 UTC
I tried creating a clone of a snapshot which included preallocated disks. I chose as a target a storage domain that was limited by quota. An error message was displayed immediately on attempting to create the clone, indicating that there was insufficient space. Moving to Verified

Comment 6 Sandro Bonazzola 2014-10-17 12:28:06 UTC
oVirt 3.5 has been released and should include the fix for this issue.