Comments (3)
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.
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.
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)
- [FEATURE] easily warmup data for JuiceFS pv HOT 3
- [QUESTION] Are Existing Directories Deleted When PV Is Deleted? HOT 12
- [BUG] mount pod starts before the secret is created to use.
- [BUG] when I
- [BUG] SetQuota failed when I set env SENTINEL_PASSWORD
- Optimize the logic for handling moundpod.
- [BUG] When a large number of pods created using juicefs sc are deleted within a similar period of time, the juicefs-csi-controller-0 will crash HOT 4
- pod cloud not mount juicefs HOT 2
- [BUG] juicefs pvc挂载失败 HOT 10
- Mount Pod stuck in Pending state: PVC is not bound HOT 14
- [Proposal] Provide a simple way to reload the daemonset configurations
- [Proposal] use CRD to quickly enable more features
- [BUG] Use PVC as cache path, The Second Mount Pod stuck in Init:0/1 state HOT 4
- [BUG] default image cannot be pulled when using latest docker HOT 2
- [FEATURE] better csi dashboard time display HOT 2
- pathPattern not active HOT 11
- [FEATURE] Customize the deployment of csi-node without affecting the netowrk mode of mount pod HOT 1
- [FEATURE] csi dashboard roadmap
- [FEATURE] faster automatic recovery
- Inadequate Chinese language support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juicefs-csi-driver.