delete the unreachable node from server-side and only re-add it when it is available and explicitly desired #12783
Unanswered
boppanasreevishnu
asked this question in
Q&A
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When some agent node is unreachable, I am deleting the node via kubectl delete node and then I am deleting the secret of the unreachable node this method is working fine but I am facing issue when I want to add the node back after it is available, Once the node becomes available, I am cleaning the node by running rke2-killall.sh and deleting the rancher folders in /var/lib and /etc then trying to add back node but it is throwing error "response to 1xx.xxx.xxx.xx:45606: unable to verify password for node slave1: hash does not match" because the " cat /etc/rancher/node/password " is being changed when the node is launched again and this newly changed password is not matching with the slave1 hash which was already present in server node how to fix this issue ?
Timeline
Problem Summary: The RKE2 server still has the old hash for slave1's /etc/rancher/node/password stored internally. When the node tries to connect with its new /etc/rancher/node/password, the server sees a mismatch and rejects it with "hash does not match."
Beta Was this translation helpful? Give feedback.
All reactions