-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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-killall.sh
script does not work for user defined data-dir
#10471
Milestone
Comments
Validated using k3s version v1.30.3-rc1+k3s1 (086d9ca)Environment DetailsInfrastructure Node(s) CPU architecture, OS, and Version: Config.yaml:
Steps to reproduce the issue and validate the fix
Closing this issue as validated on standalone k3s install. |
This was referenced Aug 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environmental Info:
K3s Version:
v1.29.6+k3s1
Node(s) CPU architecture, OS, and Version: N/A
Cluster Configuration: N/A
Describe the bug:
The
rke2-killall.sh
script hardcodes/var/lib/rancher/rke2
when removing pod manifests and unmounting & removing the directory:This can cause Rancher provisioned RKE2 clusters with a different
data-dir
to fail during an etcd resotre, as it runs the killall script.Steps To Reproduce:
data-dir
through RancherExpected behavior:
data-dir
assets are properly removed.Actual behavior:
Attempts to remove non-existent assets in
/var/lib/rancher/k3s
Additional context / logs:
The text was updated successfully, but these errors were encountered: