Skip to content

VolumeSnapshot deletion failed #1366

@nevermore-muyi

Description

@nevermore-muyi

What happened:
If a PVC is created using a VolumeSnapshot, and the VolumeSnapshot is quickly deleted while the PVC is still pending, the VolumeSnapshot deletion will fail.

What you expected to happen:
There should be a retry mechanism for deleting VolumeSnapshot.

How to reproduce it:
https://github.com/kubernetes-csi/external-snapshotter/blob/master/pkg/common-controller/snapshot_controller.go#L291

Looking at the code implementation, it doesn't retry if the deletion fails even once, which is unreasonable.

Anything else we need to know?:

Environment:

  • Driver version: Any Version
  • Kubernetes version (use kubectl version): Any Version
  • OS (e.g. from /etc/os-release): Any OS
  • Kernel (e.g. uname -a): Any
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions