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.29] - Kine emulated etcd version is not set correctly #11224

Closed
brandond opened this issue Nov 4, 2024 · 1 comment
Closed

[Release-1.29] - Kine emulated etcd version is not set correctly #11224

brandond opened this issue Nov 4, 2024 · 1 comment
Assignees
Milestone

Comments

@brandond
Copy link
Member

brandond commented Nov 4, 2024

Backport fix for Kine emulated etcd version is not set correctly

@endawkins
Copy link

Validated on branch release-1.29 with commit 7ebc4a1 / version v1.29.10

Environment Details

Infrastructure

  • Cloud
  • Hosted

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

Linux ip-172-31-30-115 6.8.0-1016-aws #17-Ubuntu SMP Mon Sep  2 13:48:07 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

Cluster Configuration:

1 server

Config.yaml:

config.yaml 1:

write-kubeconfig-mode: 644
config.yaml 2:

write-kubeconfig-mode: 644
cluster-init: true

Additional files

N/A

Testing Steps

  1. Copy config.yaml
$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s
  1. Install k3s with kine
  2. Check etcd logs journalctl -u k3s | grep feature_support_checker and (cluster-init: true) journalctl -u k3s | grep etcd-version

Replication Results:
See: #11220 (comment)

Validation Results:

  • k3s version used for validation:
k3s -v
k3s version v1.29.10+k3s-7ebc4a19 (7ebc4a19)
go version go1.22.8
$ sudo journalctl -u k3s.service | grep feature_support_checker
ubuntu@ip-<IP_ADDRESS>:~$

Additional context / logs:
With config.yaml containing cluster-init: true

$ sudo journalctl -u k3s.service | grep etcd-version
"msg":"starting an etcd server","etcd-version":"3.5.16","git-sha":"HEAD"

@github-project-automation github-project-automation bot moved this from To Test to Done Issue in K3s Development Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done Issue
Development

No branches or pull requests

2 participants