Bug 1351454

Summary: [RFE] Device delete does not delete vg directory created under "/var/lib/heketi/mounts"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Neha <nerawat>
Component: heketiAssignee: Michael Adam <madam>
Status: CLOSED CURRENTRELEASE QA Contact: Jonathan Holloway <jholloway>
Severity: low Docs Contact:
Priority: low    
Version: rhgs-3.1CC: hchiramm, jmulligan, pprakash, rtalur, tcarlin
Target Milestone: ---Keywords: FutureFeature, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-23 19:08:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1641685, 1641915    

Description Neha 2016-06-30 06:37:46 UTC
heketi device delete does not delete corresponding pvs and vgs from the system.

Should also remove vg directory created under /var/lib/heketi/mounts


upstream issue: https://github.com/heketi/heketi/issues/402

Comment 2 Neha 2016-07-04 10:23:28 UTC
My bad, it does delete the vgs and pvs from the nodes. 

But it does not delete the vg directory created under "/var/lib/heketi/mounts". Modifying BZ accordingly.

Comment 3 Humble Chirammal 2016-07-04 11:29:41 UTC
(In reply to Neha from comment #2)
> My bad, it does delete the vgs and pvs from the nodes. 
> 
> But it does not delete the vg directory created under
> "/var/lib/heketi/mounts". Modifying BZ accordingly.

Thanks for confirming it delete the PV/VG. But, mount points can be chosen by administrator if needed. In that case, these mount points are outside the control of heketi. Keeping the bugzilla open for Luis's thoughts.

Comment 4 Luis Pabón 2016-07-06 16:29:01 UTC
Yes, because they could come back.  This is a great RFE