Skip to content

Agent registration does not create node-password secret #5389

Answered by braunsonm
braunsonm asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to find out why my agents weren't joining - because I was recovering from a disaster and had to restore a server node first, Rancher's webhook was not running (but was installed) because it does not tolerate the server taints.

Since Rancher's webhook was not running, it was actually blocking RKE2's ability to check/create the node-password secret. As soon as I tolerated the taints to get that pod running, the agent joined and a node-password was created. It does not explain why the servers were able to join and did not create node-passwords but it at least allows me to continue.

It's rather bad that a misbehaving ValidatingWebhook can interfere with kube-system and therefore af…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@braunsonm
Comment options

@braunsonm
Comment options

Answer selected by braunsonm
@brandond
Comment options

@braunsonm
Comment options

@brandond
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5388 on February 08, 2024 18:50.