-
Notifications
You must be signed in to change notification settings - Fork 31
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
Pod cannot be deleted if the S3 PVC fails to mount #309
Comments
Hey @geniass, sorry for the late response. I've applied your manifest (by replacing your bucket and region with mine) and it worked fine for me. The error message you got suggest that there was a faulty mount from a previous run, and it didn't get unmounted somehow. We perform unmounting in our For us to debug your issue, would you be able to share logs from the CSI Driver when you experience this error? You can get the logs via |
Sorry forgot to respond to this. This is pretty much all I can see in the logs:
|
It looks like the mount operation in |
/kind bug
What happened?
Mounting an s3 volume into a pod fails (FailedMount k8s event). Then the kubelet is unable to delete the pod because the vol_data.json file is missing. The pod hangs in the Terminating state forever.
Kubelet logs get flooded with:
What you expected to happen?
S3 volume should be unmounted and the pod should terminate normally.
How to reproduce it (as minimally and precisely as possible)?
S3 PV and PVC:
Create a pod that mounts an s3 pvc:
There will be a Warning event that the s3 PVC could not be mounted:
Anything else we need to know?:
Environment
kubectl version
):The text was updated successfully, but these errors were encountered: