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

keadm join failed #5394

Open
SherlockShemol opened this issue Jan 25, 2024 · 2 comments
Open

keadm join failed #5394

SherlockShemol opened this issue Jan 25, 2024 · 2 comments
Labels
kind/question Indicates an issue that is a support question.

Comments

@SherlockShemol
Copy link

What happened and what you expected to happen:
I follow the instruction to install cri-dockerd CNI Plugin.But when I run sudo keadm join --cloudcore-ipport="THE-EXPOSED-IP":10000 --token=*** --remote-runtime-endpoint=unix:///var/run/cri-dockerd.sock I got

I0125 18:54:05.372842   30010 command.go:901] 1. Check KubeEdge edgecore process status
I0125 18:54:05.383817   30010 command.go:901] 2. Check if the management directory is clean
I0125 18:54:06.603632   30010 join.go:107] 3. Create the necessary directories
I0125 18:54:06.634391   30010 join.go:184] 4. Pull Images
Pulling docker.io/kubeedge/pause:3.6 ...
Successfully pulled docker.io/kubeedge/pause:3.6
Pulling docker.io/kubeedge/installation-package:v1.15.1 ...
Successfully pulled docker.io/kubeedge/installation-package:v1.15.1
Pulling docker.io/library/eclipse-mosquitto:1.6.15 ...
Successfully pulled docker.io/library/eclipse-mosquitto:1.6.15
I0125 18:54:06.696830   30010 join.go:184] 5. Copy resources from the image to the management directory
E0125 18:54:07.152975   30010 remote_runtime.go:176] "RunPodSandbox from runtime service failed" err="rpc error: code = Unknown desc = failed to set up sandbox container \"6a68bb735abd0b331a67ad26a8effedb781d1f2a53d3cd27f617c4dfd13cabc5\" network for pod \"edgecore\": networkPlugin cni failed to set up pod \"edgecore_kubeedge\" network: plugin type=\"loopback\" failed (add): failed to Statfs \"/proc/30170/ns/net\": no such file or directory"
Error: edge node join failed: copy resources failed: rpc error: code = Unknown desc = failed to set up sandbox container "6a68bb735abd0b331a67ad26a8effedb781d1f2a53d3cd27f617c4dfd13cabc5" network for pod "edgecore": networkPlugin cni failed to set up pod "edgecore_kubeedge" network: plugin type="loopback" failed (add): failed to Statfs "/proc/30170/ns/net": no such file or directory
execute keadm command failed:  edge node join failed: copy resources failed: rpc error: code = Unknown desc = failed to set up sandbox container "6a68bb735abd0b331a67ad26a8effedb781d1f2a53d3cd27f617c4dfd13cabc5" network for pod "edgecore": networkPlugin cni failed to set up pod "edgecore_kubeedge" network: plugin type="loopback" failed (add): failed to Statfs "/proc/30170/ns/net": no such file or directory

I have searched for several solution but can't solve it. Could you please help me or give me some hint?
How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.27.3
  • KubeEdge version(e.g. cloudcore --version and edgecore --version):
@SherlockShemol SherlockShemol added the kind/question Indicates an issue that is a support question. label Jan 25, 2024
@Shelley-BaoYue
Copy link
Collaborator

The cni plugin has been decoupled from the edgecore installation process, you can try the latest v1.15.2.

@SherlockShemol
Copy link
Author

The cni plugin has been decoupled from the edgecore installation process, you can try the latest v1.15.2.cni 插件已与 edgecore

Thank you very much.I'll try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Indicates an issue that is a support question.
Projects
None yet
Development

No branches or pull requests

2 participants