[BUG]: PowerScale Replication: Artifacts are not properly cleaned after deletion #523
Labels
area/csi-powerscale
Issue pertains to the CSI Driver for Dell EMC PowerScale
area/csm-replication
Issue pertains to the CSM Replication module
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
Clean up on both Kubernetes clusters and on the PowerScale storage arrays is incomplete when source PVC is deleted. Extensive manual cleanup is required between every PV provision using replication storage classes:
Logs
Storage Class on Source Cluster:
Storage Class on Target Cluster:
Creation and verification of PV/RG on source cluster:
Verification of PV/RG on target cluster:
Deletion of PVC on source Cluster, verification that RG shows as empty:
Verification that PV has been deleted on target cluster
Deletion of RG on source cluster (this hangs indefinitely)
Check RG status on target cluster
At this point, I must use kubectl edit on the target RG to delete its finalizers, or it will never delete. Once its finalizers are deleted, target RG deletes automatically (with no additional input or manual deletion). After target RG deletes successfully, source RG also finishes its deletion, so target RG deletion is holding up source.
SyncIQ policies on the storage arrays are NOT deleted after these events. Both source and target arrays have their SyncIQ policies persist.
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
See logs for full steps.
Expected Behavior
SyncIQ policies should be removed when their relevant RG is deleted.
Remote RG should not require manual deletion of finalizers.
In the event that a PV is deleted manually from clusters, its related subdirectory on storage array should never become permanently locked and undeletable to storage admin.
Local RG may want a new retention policy parameter and auto-delete when its LINK STATE becomes EMPTY, though that's more a feature request than a bug.
CSM Driver(s)
CSI Driver for PowerScale v2.4
Installation Type
Helm v3
Container Storage Modules Enabled
Replication v1.3.0
Container Orchestrator
K8s 1.24.3
Operating System
RHEL 8.4
The text was updated successfully, but these errors were encountered: