datashim icon indicating copy to clipboard operation
datashim copied to clipboard

Mount error with CSI-S3 volumes in OpenShift

Open srikumar003 opened this issue 11 months ago • 0 comments

Issue surfaced by @starpit. Thanks!

When mounting CSI-S3 volumes in pods in OpenShift, the following error turns up intermittently:

start failed in pod (d6a38336-a6b1-4f3a-92d2-b0198971391b): CreateContainerConfigError: stat /v ar/data/kubelet/pods/d6a38336-a6b1-4f3a-92d2-b0198971391b/volumes/kubernetes.io~csi/pvc-3616d887-9376-42e5-a6a8-baec51ea2684/mount: no such file or directory

This results in the pod not starting.

The use case that triggered this error was having 2 different datasets in 2 different namespaces pointing to the same S3/COS bucket. One dataset could be used without issue while using the other dataset threw this error.

Cluster details:

Client Version: 4.12.9
Kustomize Version: v4.5.7
Server Version: 4.14.12
Kubernetes Version: v1.27.10+28ed2d7

srikumar003 avatar Mar 06 '24 21:03 srikumar003