Code Monkey home page Code Monkey logo

Comments (7)

dyrnq avatar dyrnq commented on August 15, 2024 2
root@debian:~# mount |grep gee
pvc-7451f1a3-dcd1-4c08-b57b-c146a8b66105 on /var/lib/kubelet/pods/2eb6faa5-c36e-46a8-bf79-c2d7e054ac52/volumes/kubernetes.io~csi/pvc-7451f1a3-dcd1-4c08-b57b-c146a8b66105/mount type fuse.geesefs (rw,nosuid,nodev,relatime,user_id=65534,group_id=0,default_permissions,allow_other)
root@debian:~# df /var/lib/kubelet/pods/2eb6faa5-c36e-46a8-bf79-c2d7e054ac52/volumes/kubernetes.io~csi/pvc-7451f1a3-dcd1-4c08-b57b-c146a8b66105/mount
df: /var/lib/kubelet/pods/2eb6faa5-c36e-46a8-bf79-c2d7e054ac52/volumes/kubernetes.io~csi/pvc-7451f1a3-dcd1-4c08-b57b-c146a8b66105/mount: Transport endpoint is not connected

from k8s-csi-s3.

dyrnq avatar dyrnq commented on August 15, 2024

When this error occurs, the pod is Running but the out systemd unit like geesefs-pvc can't be found use systemctl list-units --no-pager |grep gee on that pod`s node.

from k8s-csi-s3.

jidckii avatar jidckii commented on August 15, 2024

Same problem, if mount 1 pvc from many pods on many nodes.

from k8s-csi-s3.

vitalif avatar vitalif commented on August 15, 2024

Hi, I'm not sure why you experience this bug, I checked it myself and didn't reproduce it
I think logs from csi-s3 containers could help... please attach them? :-)

from k8s-csi-s3.

dyrnq avatar dyrnq commented on August 15, 2024

Hi, I'm not sure why you experience this bug, I checked it myself and didn't reproduce it I think logs from csi-s3 containers could help... please attach them? :-)

tks reply

This error does not occur just once. It needs to be executed repeatedly. It is accidental.

redo step3 ---> step4 may times, then the error occur

from k8s-csi-s3.

dyrnq avatar dyrnq commented on August 15, 2024

@vitalif this is my test case

test-csi-s3.sh.md

kubectl logs -l app=csi-s3 -c csi-s3 -n kube-system

csi-s3.log

from k8s-csi-s3.

dyrnq avatar dyrnq commented on August 15, 2024

Finally I found a solution, which can be solvedusing the following startupProbe and terminationGracePeriodSeconds: 2 for
quick fail

     #livenessProbe:
     startupProbe:
       exec:
         command:
         - ls
         - /usr/share/nginx/html/s3
       initialDelaySeconds: 2
       periodSeconds: 2
       successThreshold: 1
       failureThreshold: 1
       terminationGracePeriodSeconds: 2

from k8s-csi-s3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.