Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error getting deleter volume plugin for volume "csi-s3-manual": no deletable volume plugin matched #129

Open
schlichtanders opened this issue Jul 23, 2024 · 0 comments

Comments

@schlichtanders
Copy link

schlichtanders commented Jul 23, 2024

Hi there,

I am having issues with deletion of the manual PV after the respective PVC got deleted (because the pod got deleted).

I set persistentVolumeReclaimPolicy: Delete so that the deletion of the pod automatically frees all resources. But it fails at the PV.

# Statically provisioned PVC:
# An existing bucket or path inside bucket manually created
# by the administrator beforehand will be bound to the PVC,
# and it won't be removed when you remove the PV
apiVersion: v1
kind: PersistentVolume
metadata:
  name: csi-s3-manual
  # cluster wide object, no namespace
spec:
  storageClassName: csi-s3
  capacity:
    storage: 10Gi
  accessModes:
    - ReadWriteOnce
  claimRef:
    namespace: mynamespace
    name: csi-s3-manual-pvc
  persistentVolumeReclaimPolicy: Delete
  csi:
    driver: ru.yandex.s3.csi
    controllerPublishSecretRef:
      name: csi-s3-secret
      namespace: kube-system
    nodePublishSecretRef:
      name: csi-s3-secret
      namespace: kube-system
    nodeStageSecretRef:
      name: csi-s3-secret
      namespace: kube-system
    volumeAttributes:
      capacity: 10Gi
      mounter: geesefs
      options: --memory-limit 1000 --dir-mode 0777 --file-mode 0666
    volumeHandle: mybucket/mypath

kubectl describe shows the following Event

Events:
  Type     Reason              Age   From                         Message
  ----     ------              ----  ----                         -------
  Warning  VolumeFailedDelete  37s   persistentvolume-controller  error getting deleter volume plugin for volume "csi-s3-manual": no deletable volume plugin matched

Any help or fix is highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant