Bug 1895028 - [gcp-pd-csi-driver-operator] Volumes created by CSI driver are not deleted on cluster deletion
Summary: [gcp-pd-csi-driver-operator] Volumes created by CSI driver are not deleted on...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Tomas Smetana
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-05 15:30 UTC by Fabio Bertinatto
Modified: 2021-07-27 22:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:34:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
volume with labels (75.01 KB, image/png)
2021-03-31 09:52 UTC, Chao Yang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:34:30 UTC

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


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