Bug 1887468 - [RHEL][IBM] OCS un-install should cleanup the local volume paths
Summary: [RHEL][IBM] OCS un-install should cleanup the local volume paths
Keywords:
Status: CLOSED DUPLICATE of bug 1887574
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 4.7.0
Assignee: aos-storage-staff@redhat.com
QA Contact: Qin Ping
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-12 14:43 UTC by Raghavendra Talur
Modified: 2020-10-13 14:36 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1870061
Environment:
Last Closed: 2020-10-13 14:36:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Raghavendra Talur 2020-10-12 14:46:05 UTC
In a OCS setup with disks provisioned through LSO, we find that after uninstalling OCS, the LSO devices still have the symlinks listed under /mnt/local-storage. 

They should be removed once the consumer has freed that devices.

Comment 2 Jan Safranek 2020-10-13 14:36:23 UTC
We could delete the symlinks, if something (user?) deletes LocalVolumeSet AND all related PVs are not used (bound). If they're bound to an existing PVCs, we don't delete anything as there may be some data on it.
To fully fix this BZ, we need a way how to track PVs from diskmaker, which is topic for 4.7 (at the earliest), tracked as: https://issues.redhat.com/browse/STOR-390

*** This bug has been marked as a duplicate of bug 1887574 ***


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