Skip to content
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

K3s install timing out waiting for Node Token generation #5

Open
mozanich opened this issue Feb 19, 2020 · 4 comments
Open

K3s install timing out waiting for Node Token generation #5

mozanich opened this issue Feb 19, 2020 · 4 comments

Comments

@mozanich
Copy link

The install runs smoothly until reaching Task [k3s-config: Wait until node token is generated] on my server node. Everything stops there, and returns the message:

fatal: [192.168.1.175]: FAILED! => {"changed": false, "elapsed": 300, "msg": "Timeout when waiting for file /var/lib/rancher/k3s/server/node-token"}

"sudo k3s kubectl get node -0 wide" on the server node returns:
The connection to the server localhost:8080 was refused - did you specify the right host or port?

systemctl status shows that the k3s-server is loaded and active on the server node.

The inventory file is set up correctly.

@BronOS
Copy link

BronOS commented Jun 4, 2020

same issue

@maxisme
Copy link

maxisme commented Jun 13, 2020

+1

@FredPi17
Copy link

+1

@erncyp
Copy link

erncyp commented Oct 11, 2021

I had this problem as well. It turns out I did not have my hosts file set properly. I had a typo in the name of my groups [k3-server] instead of [k3s-server]. You claim your inventory file is set up correctly, so its probably not the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants