This message was deleted.
# rke2
a
This message was deleted.
p
Hi on the
local
cluster check if the Secret in
fleet-default
called
custom-<id>-machine-plan
has
0
data
Copy code
kubectl -n fleet-default get secrets | grep <YOUR_MACHINE_ID>
d
Hi @prehistoric-gpu-28362 - sorry for the late reply. The secret actually has data
p
Hi, it's ok, not the same issue I'm seeing then.
I think the fleet-agent and fleet-controller pods might be the ones you're interested in but I don't know for sure.
d
I'll have a look, thanks
Seems like the rancher-system-agent is unable to connect to the cluster:
error while connecting to Kubernetes cluster: the server has asked for the client to provide credentials
p
That sounds like it could ranchers certs though I've not encountered that before so don't know how to fix it, sorry.
d
I could fix my issue by manually copying the machine plan bash script to the node and run it by hand. After adding a few nodes, the cluster was somewhat stable and I could just run the registration command again on the outstanding nodes. Rancher detected the nodes as "known" and added it to the cluster with no issues.
🙌 1
w
I ran into this issue after migrating Rancher to a new cluster. Even after restoring the secrets things were still wonky, but manually running the script from the appropriate machine-bootstrap secret did the trick. Thanks for sharing your solution, @agreeable-sugar-99934 !
d
Even if I'm not @agreeable-sugar-99934, you're welcome @wooden-easter-8724 😉
w
Wow, how embarrassing 😳 sorry about that!
267 Views