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] - rke2 server process shows up as rke2 agent in process list #6442

Closed
brandond opened this issue Jul 31, 2024 · 1 comment
Closed
Assignees

Comments

@brandond
Copy link
Member

Backport fix for rke2 server process shows up as rke2 agent in process list

@brandond brandond self-assigned this Jul 31, 2024
@brandond brandond added this to the v1.29.8+rke2r1 milestone Jul 31, 2024
@endawkins endawkins self-assigned this Aug 10, 2024
@ShylajaDevadiga
Copy link
Contributor

Validated using rke2 v1.29.8-rc1+rke2r1

Environment Details

Infrastructure
Cloud EC2 instance

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

ec2-user@ip-172-31-5-213:~> cat /etc/os-release
NAME="SLES"
VERSION="15-SP5"
VERSION_ID="15.5"
PRETTY_NAME="SUSE Linux Enterprise Server 15 SP5"

Cluster Configuration:
Two node, 1 server 1 agent

Config.yaml:

cat /etc/rancher/rke2/config,yaml
write-kubeconfig-mode: "0644"

Steps to reproduce the issue and validate the fix

  1. Copy config.yaml
  2. Install rke2

Reproduction results :

ec2-user@ip-172-31-9-127:~> sudo /usr/local/bin/rke2 -v
rke2 version v1.29.7+rke2r1 (1ec1285b040816955f38d719a4052570d4090580)
go version go1.22.5 X:boringcrypto
ec2-user@ip-172-31-9-127:~> kubectl get nodes
NAME                                         STATUS   ROLES                       AGE   VERSION
ip-172-31-8-104.us-east-2.compute.internal   Ready    <none>                      27m   v1.29.7+rke2r1
ip-172-31-9-127.us-east-2.compute.internal   Ready    control-plane,etcd,master   30m   v1.29.7+rke2r1

ec2-user@ip-172-31-9-127:~> ps -ef|grep "rke2 server"|grep -v grep

ec2-user@ip-172-31-9-127:~> ps -ef|grep "rke2 agent"|grep -v grep
root      2525     1  5 05:04 ?        00:01:38 /usr/local/bin/rke2 agent

Validation results:

ec2-user@ip-172-31-5-213:~> sudo /usr/local/bin/rke2 -v
rke2 version v1.29.8-rc1+rke2r1 (c65abe03a32406188d9ec795506b679a211272c3)
go version go1.22.5 X:boringcrypto

ec2-user@ip-172-31-5-213:~> kubectl get nodes
NAME                                          STATUS   ROLES                       AGE   VERSION
ip-172-31-15-113.us-east-2.compute.internal   Ready    <none>                      34m   v1.29.8+rke2r1
ip-172-31-5-213.us-east-2.compute.internal    Ready    control-plane,etcd,master   37m   v1.29.8+rke2r1

ec2-user@ip-172-31-5-213:~> ps -ef|grep "rke2 server"|grep -v grep
root      2524     1  3 05:04 ?        00:01:17 /usr/local/bin/rke2 server

ec2-user@ip-172-31-5-213:~> ps -ef|grep "rke2 agent"|grep -v grep

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

3 participants