dell / csm

Dell Container Storage Modules (CSM)
Apache License 2.0
71 stars 16 forks source link

[FEATURE]: CSM Replication: Volumes Not Deleted on Target Array #665

Closed ChristianAtDell closed 1 year ago

ChristianAtDell commented 1 year ago

Bug Description

When deleting source-side block-type PVC/PV after usage, the corresponding Volume on the source side array (ex: PowerStore) is deleted. However, the target-side Volume remains on the storage array even after its associated target-side PV is deleted from Kubernetes. This artifact should be deleted on both arrays, not just the source side array.

Logs

N/A.

Logs for target-side driver do not indicate delete volume methods are being called. Source-side driver does include calls to delete the volume.

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

  1. Provision a replicated volume with appropriate Storage Class fields set to Delete (Remote PV, retention policy, etc).
  2. Delete the source-side PVC.
  3. Source side Volume will be deleted from storage array.
  4. Target side Volume will not be deleted from storage array.

Expected Behavior

Target side volume should be deleted from storage array alongside its source-side equivalent.

CSM Driver(s)

CSI Powerstore v2.5

Installation Type

Helm v3

Container Storage Modules Enabled

Replication v1.3.1

Container Orchestrator

1.26.0

Operating System

RHEL 8.4

csmbot commented 1 year ago

@ChristianAtDell: Thank you for submitting this issue!

The issue is currently awaiting triage. Please make sure you have given us as much context as possible.

If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.


We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at ses.csm.engineering@dell.com.