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] Fix a couple of tailscale integration issues #7781

Closed
manuelbuil opened this issue Jun 14, 2023 · 2 comments
Closed

[Release 1.25] Fix a couple of tailscale integration issues #7781

manuelbuil opened this issue Jun 14, 2023 · 2 comments
Assignees
Milestone

Comments

@manuelbuil
Copy link
Contributor

Backports: #7771 #7772

@ShylajaDevadiga
Copy link
Contributor

Validated on k3s version v1.25.11-rc1+k3s1 (a0954e5), logs show useful message when auth key is expired or invalid

Environment Details

Infrastructure
Cloud EC2 instance

Node(s) CPU architecture, OS, and Version:
SLES 15 SP3

Cluster Configuration:
Single node

Config.yaml:

write-kubeconfig-mode: 644
token: secret
cluster-init: true
vpn-auth: "name=tailscale,joinKey=tskey-auth-PASSKEY"

Steps to reproduce the issue and validate the fix

  1. Copy config.yaml
  2. Install tailscale
  3. Install k3s passing the invalid authkey
  4. Check logs

Before fix:

Jun 16 07:46:31 ip-172-31-6-131 k3s[18018]: time="2023-06-16T07:46:31Z" level=info msg="Starting VPN: tailscale"
Jun 16 07:46:32 ip-172-31-6-131 k3s[18018]: exit status 1

After fix:

un 16 07:46:28 ip-172-31-5-25 k3s[17766]: time="2023-06-16T07:46:28Z" level=info msg="Starting VPN: tailscale"
Jun 16 07:46:28 ip-172-31-5-25 k3s[17766]: time="2023-06-16T07:46:28Z" level=fatal msg="tailscale up failed: backend error: invalid key: API key kE7PfU6CNTRL not valid\n: exit status 1"

@github-project-automation github-project-automation bot moved this from To Test to Done Issue in K3s Development Jun 16, 2023
@ShylajaDevadiga
Copy link
Contributor

Related issue: #7772

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

2 participants