-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
RPi4/Buster node password rejected #746
Comments
It is probably a good idea to run legacy iptables on the RPi4, but the issue can be resolved by removing or updating /var/lib/rancher/k3s/server/node-passwd (https://rancher.com/docs/k3s/latest/en/configuration/#node-registration) |
Sorry, from the docs and the logs it should be |
first of all, many thanks for pointing me in some direction - I moved the file out of that directory ( as a way of "removing" but with the option to replace in case I misunderstood) and restarted all the RPi's - no effect. I also uninstalled the workers and then reinstalled them (now with that file gone) no effect. Am I misunderstanding something? |
Ah, thanks for trying that out. Apologies, the issue is that both nodes have the hostname |
ahhh that was it. I had set up raspberry pi's before and somehow forgot to do that. I'll make sure I make a note to not repeat the same mistake. Thank you Erik for your patience and help! |
Sorry to add a little noise, but I was having those exact symptoms due to a completely different problem: #802 Let me add this reference here just in case some future users end up here with this "Node password rejected" error (which was exactly what I was having). My problem was related to the credentials being stored in the server and not cleaned up because some dirty operations and errors, which is what is discussed in this other #802 issue. I knew nothing about that credential file in the server and thus I was completely missing the point. Maybe this will happen to somebody else and they will end up here, just like me. Sorry for the noise to everyone involved in this issue. \shrug |
Describe the bug
When installing k3s on a cluster of RPi4 (RaspberryPi 4) devices the worker nodes are unable to register.
To Reproduce
Steps to reproduce the behavior: followed these steps exactly:
K3S_URL
andK3S_TOKEN
inputs)sudo kubectl get nodes
)Expected behavior
expect to see master and worker nodes
Screenshots
Top image is worker and Bottom image is master
Output of journalctl for both worker (top) and master(bottom)
Additional context
outputs
I thought that maybe something specific to Raspian Buster may have to do with it (since the RPi4's only run on Buster, not Stretch) so I also applied suggested "fixes" mentioned #703 and in kubernetes/kubernetes#71305
(still to no avail even after restart)
The text was updated successfully, but these errors were encountered: