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

Unmounting CSI-S3 volumes results in errors in kubelet #335

Open
srikumar003 opened this issue Mar 6, 2024 · 1 comment
Open

Unmounting CSI-S3 volumes results in errors in kubelet #335

srikumar003 opened this issue Mar 6, 2024 · 1 comment
Labels
bug Something isn't working s3 Issues relating to S3/CSI-S3 integration

Comments

@srikumar003
Copy link
Collaborator

Issue surfaced by @starpit. Unmounting CSI-volumes results in the following errors appearing in the kubelet logs:

: E0304 16:11:05.124817 11037 reconciler_common.go:169] “operationExecutor.UnmountVolume failed (controllerAttachDetachEnabled false) for volume \“workdir\” (UniqueName: \“[kubernetes.io/csi/ch.ctrox.csi.s3-driver^pvc-e7d1c230-6891-4f98-be7f-689848357a04](http://kubernetes.io/csi/ch.ctrox.csi.s3-driver%5Epvc-e7d1c230-6891-4f98-be7f-689848357a04)\“) pod \“27c8697f-d40b-4a1a-b0c4-c191b015619f\” (UID: \“27c8697f-d40b-4a1a-b0c4-c191b015619f\“) : UnmountVolume.NewUnmounter failed for volume \“workdir\” (UniqueName: \“[kubernetes.io/csi/ch.ctrox.csi.s3-driver^pvc-e7d1c230-6891-4f98-be7f-689848357a04](http://kubernetes.io/csi/ch.ctrox.csi.s3-driver%5Epvc-e7d1c230-6891-4f98-be7f-689848357a04)\“) pod \“27c8697f-d40b-4a1a-b0c4-c191b015619f\” (UID: \“27c8697f-d40b-4a1a-b0c4-c191b015619f\“) : [kubernetes.io/csi](http://kubernetes.io/csi): unmounter failed to load volume data file [/var/data/kubelet/pods/27c8697f-d40b-4a1a-b0c4-c191b015619f/volumes/kubernetes.io~csi/pvc-e7d1c230-6891-4f98-be7f-689848357a04/mount]: [kubernetes.io/csi](http://kubernetes.io/csi): failed to open volume data file [/var/data/kubelet/pods/27c8697f-d40b-4a1a-b0c4-c191b015619f/volumes/kubernetes.io~csi/pvc-e7d1c230-6891-4f98-be7f-689848357a04/vol_data.json]: open /var/data/kubelet/pods/27c8697f-d40b-4a1a-b0c4-c191b015619f/volumes/kubernetes.io~csi/pvc-e7d1c230-6891-4f98-be7f-689848357a04/vol_data.json: no such file or directory” err=“UnmountVolume.NewUnmounter failed for volume \“workdir\” (UniqueName: \“[kubernetes.io/csi/ch.ctrox.csi.s3-driver^pvc-e7d1c230-6891-4f98-be7f-689848357a04](http://kubernetes.io/csi/ch.ctrox.csi.s3-driver%5Epvc-e7d1c230-6891-4f98-be7f-689848357a04)\“) pod \“27c8697f-d40b-4a1a-b0c4-c191b015619f\” (UID: \“27c8697f-d40b-4a1a-b0c4-c191b015619f\“) : [kubernetes.io/csi](http://kubernetes.io/csi): unmounter failed to load volume data file [/var/data/kubelet/pods/27c8697f-d40b-4a1a-b0c4-c191b015619f/volumes/kubernetes.io~csi/pvc-e7d1c230-6891-4f98-be7f-689848357a04/mount]: [kubernetes.io/csi](http://kubernetes.io/csi): failed to open volume data file [/var/data/kubelet/pods/27c8697f-d40b-4a1a-b0c4-c191b015619f/volumes/kubernetes.io~csi/pvc-e7d1c230-6891-4f98-be7f-689848357a04/vol_data.json]: open /var/data/kubelet/pods/27c8697f-d40b-4a1a-b0c4-c191b015619f/volumes/kubernetes.io~csi/pvc-e7d1c230-6891-4f98-be7f-689848357a04/vol_data.json: no such file or

when i log in to the node and look for that path… it truly doesn’t exist. but the directory does:
ls /host/var/data/kubelet/pods/d6a38336-a6b1-4f3a-92d2-b0198971391b/volumes/kubernetes.io~csi/pvc-3616d887-9376-42e5-a6a8-baec51ea2684/
vol_data.json

Cluster details:

Client Version: 4.12.9
Kustomize Version: v4.5.7
Server Version: 4.14.12
Kubernetes Version: v1.27.10+28ed2d7
@srikumar003
Copy link
Collaborator Author

Seems related to this issue in Kubernetes CSI: kubernetes/kubernetes#116847

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working s3 Issues relating to S3/CSI-S3 integration
Projects
None yet
Development

No branches or pull requests

1 participant