dell / csm

Dell Container Storage Modules (CSM)
Apache License 2.0
70 stars 15 forks source link

[BUG]: Powerflex snapshots are created as ReadWrite snapshots #1302

Closed kumarp20 closed 5 months ago

kumarp20 commented 5 months ago

Bug Description

When a snapshot is requested, it should be created as ReadOnly. Only when a clone is requested, the powerflex ReadWrite snapshot should be created.

Logs

no logs

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

  1. Create a volume using powerflex csi driver; pvc using a powerflex storage class.
  2. Create a snapshot of the pvc.
  3. Check the access mode of the snapshot created either using Powerflex GUI or powerflex api.
  4. The access mode is seen to be "ReadWrite"

Expected Behavior

Snapshot should be created with "ReadOnly" access mode.

CSM Driver(s)

poweflex csi driver version 2.10

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

kubernetes

Operating System

RHEL 8.9

csmbot commented 5 months ago

@kumarp20: 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 respond appropriately.


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

tdawe commented 5 months ago

link: 23556

kumarp20 commented 5 months ago

Fixed by PR: https://github.com/dell/csi-powerflex/pull/309