Skip to content

VolumeSnapshot is not getting deleted in false state, but gets deleted if valid VolumeSnapshot is created in same namespace.  #673

Open
@monimeht

Description

@monimeht

Describe the bug

VolumeSnapshot is not getting deleted in false state, but gets deleted if valid VolumeSnapshot is created in same namespace.

How to Reproduce?

  1. Create sc version =2
  2. create pvc.
  3. create volumesnapshotclass , with incorrect snapwindow value like "one"
  4. create volumesnapshot using above. (volumesnapshot created with false state)
  5. delete volumesnapshot. (not getting deleted)
  6. Create another volumesnapshot with valid parameters in volumesnapsot class.
  7. Delete the above volumesnapshot .
  8. Observe that the volumesnapshot with false state got deleted.

Expected behavior

VolumeSnapshot should get deleted.

Data Collection and Debugging

find attached the steps executed on cluster.
Bug_vol_snap_delete.txt

Builds used:
quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-operator:v2.5.0-100322
quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-driver:v2.5.0-100322

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Snapshot ControllerIssue is in snapshot controllerCustomer Impact: Minor(1) misleading msgs, operational oddities not affecting workload. Failure of non critical servicesCustomer Probability: Low(1) Issue only occurs during failure condition - disk, server, network, test assert, ...Severity: 3Indicates the the issue is on the priority list for next milestone.Type: BugIndicates issue is an undesired behavior, usually caused by code error.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions