https://rancher.com/ logo
Title
s

sticky-painter-30848

09/14/2022, 9:46 AM
my master node crashed so I had to reinstall it but I am not able to join the old cluster any ideas?
c

clever-analyst-23771

09/14/2022, 1:23 PM
does it throw any error? or just hang?
s

sticky-painter-30848

09/14/2022, 5:08 PM
No error as I can see, it is as if it doesn’t even tries to join the cluster. But I am very new at this so there are plenty I do not understand yet.
c

clever-analyst-23771

09/14/2022, 5:26 PM
are you connected via kubectl?
s

sticky-painter-30848

09/14/2022, 5:28 PM
No I have looked for the rke2.yaml but it doesn’t seem to be generated.
# kubectl get nodes W0914 17:27:17.531333 4076 loader.go:221] Config not found: /etc/rancher/rke2/rke2.yaml The connection to the server localhost:8080 was refused - did you specify the right host or port?
c

clever-analyst-23771

09/14/2022, 5:29 PM
your configs are off you are going to need that on that new node/host first
s

sticky-painter-30848

09/14/2022, 5:32 PM
It is as if the installation hasn’t really installed everything. The other day on another node it auto join by it self. and the only different between these two nodes is this was the first to be installed in the cluster. Which configs are you referring to?
And thank you for taking your time.
I have tried to compare this node with a functioning node and on this node several files are missing. But maybe these are syncronized once the node has joined the cluster?
c

clever-analyst-23771

09/14/2022, 5:56 PM
they should be able to stand alone I am not sure it can do it that way. did you remove the other node from the orginal cluster?
g

great-bear-19718

09/15/2022, 1:17 AM
when you re-add the node i assume you followed the join procedure?
s

sticky-painter-30848

09/15/2022, 8:05 AM
Which join procedure are you referring to? I have removed the Node as described in the documentation and then I ran the installer and chose to Join a Cluster.
I reinstalled the whole cluster.