Bug 883921 - Floating disks created although template creation failed
Summary: Floating disks created although template creation failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: All
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Liron Aravot
QA Contact: Elad
URL:
Whiteboard: storage
Depends On:
Blocks: 1019461
TreeView+ depends on / blocked
 
Reported: 2012-12-05 15:24 UTC by Vered Volansky
Modified: 2016-05-05 04:37 UTC (History)
9 users (show)

Fixed In Version: is1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vdsm.log (15.32 MB, text/x-log)
2012-12-05 15:24 UTC, Vered Volansky
no flags Details
engine.log (665.31 KB, text/x-log)
2012-12-05 16:01 UTC, Vered Volansky
no flags Details


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

Description Vered Volansky 2012-12-05 15:24:14 UTC
Created attachment 658266 [details]
vdsm.log

Description of problem:
When template creation from vm fails, the vm's disks are duplicated and remain floating in the system.

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

How reproducible:


Steps to Reproduce:
1.Create a template from a vm with disks and fail one of the images.
  
Actual results:
Template creation is failed, no new templates in the system.
The vm's disks all have floating copies.

Expected results:
If there's no template, there shouldn't be a disk.

Additional info:
logs, look at around 16:00, Dec 5.

Comment 1 Vered Volansky 2012-12-05 16:01:30 UTC
Created attachment 658271 [details]
engine.log

Comment 2 Liron Aravot 2013-02-13 15:14:41 UTC
on failure all the added images will be removed from the db and there will be an attempt to remove it from the storage to avoid storage leak.

http://gerrit.ovirt.org/#/c/12027/

Comment 3 Haim 2013-02-28 17:33:20 UTC
Vered, once floating disk being created, can they being removed from the system?

Comment 5 Elad 2013-07-14 15:14:28 UTC
Template's disks are being deleted after failure in template creation.

Verified on RHEV3.3 (IS5):
vdsm-4.11.0-121.git082925a.el6.x86_64
rhevm-3.3.0-0.6.master.el6ev.noarch

Comment 6 Itamar Heim 2014-01-21 22:21:17 UTC
Closing - RHEV 3.3 Released

Comment 7 Itamar Heim 2014-01-21 22:26:42 UTC
Closing - RHEV 3.3 Released


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