+++ 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
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.
Created attachment 948526 [details] screenshot
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.
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