-
-
Notifications
You must be signed in to change notification settings - Fork 362
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
[Bug]: Process /usr/local/bin/k3s
could not be executed while applying terraform script
#1145
Comments
I have the same problem since today. Came out of nowhere. It also happens when scaling up. If you start /usr/local/bin/k3s manually with the root user, the agent connects successfully to the cluster. The systemd service does not seem to get the right permissions. |
Downgrading to previous versions of the module does not solve the issue |
Seems to be a problem with selinux. module "kube-hetzner" {
postinstall_exec = ["restorecon -v /usr/local/bin/k3s"]
...
} |
I confirm this bug and the workaround. I wonder what has changed... |
Had the same bug happen for me, the workaround with the postinstall_exec, did it. |
It probably something to do with SELINUX and the OS updates. |
@Silvest89 Indeed, I will correct it tonight, see which SELinux rules are needed. |
Thankd for the debug folks, it's fixed in v2.11.4. |
Description
When applying the config it fails with the following error that k3s could not be executed.
Kube.tf file
Screenshots
Platform
Mac
The text was updated successfully, but these errors were encountered: