Bug 692089 - [vdsm][storage]Vdsm doesn't clean-up stale lvs after copyImage operation fails
Summary: [vdsm][storage]Vdsm doesn't clean-up stale lvs after copyImage operation fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Igor Lvovsky
QA Contact: Moran Goldboim
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-30 12:00 UTC by Moran Goldboim
Modified: 2013-03-01 04:53 UTC (History)
8 users (show)

Fixed In Version: vdsm-4.9-65.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 07:09:56 UTC
Target Upstream Version:


Attachments (Terms of Use)
vdsm log (1.03 MB, application/x-tar)
2011-03-30 12:00 UTC, Moran Goldboim
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1782 0 normal SHIPPED_LIVE new packages: vdsm 2011-12-06 11:55:51 UTC

Description Moran Goldboim 2011-03-30 12:00:04 UTC
Created attachment 488747 [details]
vdsm log

Description of problem:
If creating a template operation fails vdsm doesn't remove the LV created, thus lots of "garbage" can be accumulated on the VG 

Version-Release number of selected component (if applicable):
vdsm-4.9-57.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.create a template
2.restart vdsm during the operation
3.
  
Actual results:
the lv created left on the VG

Expected results:


Additional info:

Comment 2 RHEL Program Management 2011-04-04 02:11:27 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 Igor Lvovsky 2011-05-04 14:50:54 UTC
http://gerrit.usersys.redhat.com/#change,311

Comment 5 Dafna Ron 2011-05-17 11:06:55 UTC
verified on vdsm-4.9-65.el6.x86_64 with ic117

rollback cleans "garbage" from storage:


vgs during template create: 

[root@blond-vdsg ~]# vgs
   VG                                   #PV #LV #SN Attr   VSize  VFree 
  5bd17ddd-1cdc-4b25-bbbf-330b7c150d01   1  20   0 wz--n- 99.75g 49.25g


vgs after operation failed: 

[root@blond-vdsg ~]# vgs
   VG                                   #PV #LV #SN Attr   VSize  VFree 
  5bd17ddd-1cdc-4b25-bbbf-330b7c150d01   1  18   0 wz--n- 99.75g 60.38g

Comment 6 errata-xmlrpc 2011-12-06 07:09:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2011-1782.html


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