Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1895028

Summary: [gcp-pd-csi-driver-operator] Volumes created by CSI driver are not deleted on cluster deletion
Product: OpenShift Container Platform Reporter: Fabio Bertinatto <fbertina>
Component: StorageAssignee: Tomas Smetana <tsmetana>
Storage sub component: Operators QA Contact: Chao Yang <chaoyang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, jsafrane, piqin
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:34:10 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:
Attachments:
Description Flags
volume with labels none

Description Fabio Bertinatto 2020-11-05 15:30:57 UTC
Volumes created by the CSI driver are not deleted on cluster deletion. This happens because the CSI driver doesn't tag the volumes like the in-tree plugin does.

This might need patches in both the CSI driver and the operator.

Comment 5 Tomas Smetana 2021-01-11 11:10:03 UTC
Upstream CSI driver PR:
https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pull/693

The operator patch is ready but can only be merged once the PR gets downstreamed. Next would be the installer change.

Comment 6 Tomas Smetana 2021-02-16 12:46:28 UTC
Upstream PR merged, downstream: https://github.com/openshift/gcp-pd-csi-driver/pull/11

Comment 7 Tomas Smetana 2021-02-18 12:47:57 UTC
GCP PD CSI Operator PR: https://github.com/openshift/gcp-pd-csi-driver-operator/pull/14

Comment 9 Tomas Smetana 2021-03-30 12:32:09 UTC
The installer bug has been merged as well: https://github.com/openshift/installer/pull/4717, I'm moving this to MODIFIED manually since it encompasses multiple PRs.

Comment 11 Chao Yang 2021-03-31 09:52:10 UTC
Created attachment 1768014 [details]
volume with labels

Comment 12 Chao Yang 2021-04-02 04:59:33 UTC
Volume is deleted when cluster is deleted.

Comment 15 errata-xmlrpc 2021-07-27 22:34:10 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2021:2438