Git Product home page Git Product logo

Comments (3)

ZhengRui avatar ZhengRui commented on June 14, 2024 1

Using "redis://host.docker.internal" instead of "redis://localhost" solved the issue. This could be Kind specific since it use docker to run the k8s cluster.

from juicefs-csi-driver.

zwwhdls avatar zwwhdls commented on June 14, 2024

Hi @ZhengRui ,

Can you check whether pod in Kind can reach redis in your local machine and what redis url did you set in secret?

from juicefs-csi-driver.

ZhengRui avatar ZhengRui commented on June 14, 2024

yeah, by looking at the logs it is indeed the connection issue to redis

kubectl -n kube-system logs juicefs-csi-node-xf44b -c juicefs-plugin

I0818 07:10:45.239654       1 driver.go:29] Driver: csi.juicefs.com version v0.10.3 commit ee1fb2ab0d59fb23a8efb9cdda40ef9b0a67eaee date 2021-08-12T03:18:26Z
I0818 07:10:45.970044       1 controller.go:45] Controller: /bin/sh: 1: /sbin/modprobe: not found
JuiceFS version 4.5.3 (2021-08-10 2752f6a)
I0818 07:10:46.550574       1 node.go:58] Node: /bin/sh: 1: /sbin/modprobe: not found
JuiceFS version 4.5.3 (2021-08-10 2752f6a)
I0818 07:10:46.553987       1 driver.go:73] Listening for connection on address: &net.UnixAddr{Name:"/csi/csi.sock", Net:"unix"}
I0818 07:10:48.510445       1 node.go:246] NodeGetInfo: called with args
I0818 07:11:46.760338       1 node.go:229] NodeGetCapabilities: called with args
I0818 07:11:46.772789       1 node.go:229] NodeGetCapabilities: called with args
I0818 07:11:46.796003       1 node.go:90] NodePublishVolume: volume_id is pvc-57017dc3-6f9c-4e88-878c-5fcf087c5e27
I0818 07:11:46.796199       1 node.go:101] NodePublishVolume: volume_capability is mount:<fs_type:"ext4" > access_mode:<mode:MULTI_NODE_MULTI_WRITER >
I0818 07:11:46.796829       1 node.go:107] NodePublishVolume: creating dir /var/lib/kubelet/pods/2a04ce2a-748f-4003-8059-d4fb78315556/volumes/kubernetes.io~csi/pvc-57017dc3-6f9c-4e88-878c-5fcf087c5e27/mount
I0818 07:11:46.797352       1 node.go:123] NodePublishVolume: volume context: map[storage.kubernetes.io/csiProvisionerIdentity:1629270647561-8081-csi.juicefs.com subPath:pvc-57017dc3-6f9c-4e88-878c-5fcf087c5e27]
I0818 07:11:46.797731       1 node.go:137] NodePublishVolume: mounting juicefs with secret [storage access-key bucket metaurl name secret-key], options []
I0818 07:11:46.798000       1 juicefs.go:496] ceFormat: cmd "/usr/local/bin/juicefs", args []string{"format", "--storage=oss", "--bucket=https://bucketname.oss-cn-shenzhen.aliyuncs.com", "--access-key=LTAI4GD66qWXUfFKxwXA94c8", "--secret-key=[secret]", "[metaurl]", "volumename"}
I0818 07:11:49.267622       1 juicefs.go:177] JfsMount: format output is '2021/08/18 07:11:47.267459 juicefs[48] <INFO>: Meta address: redis://localhost
2021/08/18 07:11:47.933389 juicefs[48] <WARNING>: parse info: dial tcp [::1]:6379: connect: connection refused
2021/08/18 07:11:48.455521 juicefs[48] <INFO>: Data uses oss://jfs-zerry/projects-pool/
2021/08/18 07:11:49.252775 juicefs[48] <FATAL>: format: dial tcp [::1]:6379: connect: connection refused
'
E0818 07:11:49.268785       1 driver.go:60] GRPC error: rpc error: code = Internal desc = Could not mount juicefs: rpc error: code = Internal desc = Could not format juicefs: exit status 1

from juicefs-csi-driver.

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.