Bug 1351454 - [RFE] Device delete does not delete vg directory created under "/var/lib/heketi/mounts"
Summary: [RFE] Device delete does not delete vg directory created under "/var/lib/heke...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Michael Adam
QA Contact: Jonathan Holloway
URL:
Whiteboard:
Depends On:
Blocks: OCS-3.11.1-Engineering-Proposed-BZs OCS-3.11.1-devel-triage-done
TreeView+ depends on / blocked
 
Reported: 2016-06-30 06:37 UTC by Neha
Modified: 2019-05-29 08:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-23 19:08:16 UTC
Embargoed:


Attachments (Terms of Use)

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


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