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

[release-1.25] Bootstrap of HA cluster fails with when agent bootstrap token used as server token #7499

Closed
brandond opened this issue May 9, 2023 · 1 comment
Assignees
Milestone

Comments

@brandond
Copy link
Member

brandond commented May 9, 2023

@bguzman-3pillar
Copy link

Validated on 3ce8dd1

$ k3s -v
k3s version v1.25.9+k3s-3ce8dd17 (3ce8dd17)
go version go1.19.8

Environment Details

Infrastructure

  • Cloud
  • Hosted

Node(s) CPU architecture, OS, and Version:

Ubuntu

Cluster Configuration:

1 server

Config.yaml:

$ cat config.yaml 
write-kubeconfig-mode: 0644
debug: true
token: g2lo7d.z8q7uhpl1fk7cwtz
cluster-init: true

Testing Steps

Install k3s in commit version
Generate a k3s token in format: xxxxxxx.yyyyyy
Start server with the token in config.yaml
Check logs for error message

Validation Results:

panic: failed to normalize server token; must be in format K10<CA-HASH>::<USERNAME>:<PASSWORD> or <PASSWORD>

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

No branches or pull requests

3 participants