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

Document the non-zero exit code that is displayed after RKE2 processes #191

Open
caroline-suse-rancher opened this issue Apr 12, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@caroline-suse-rancher
Copy link
Contributor

Some of our customers and users have expressed interest in having the RKE2 exit behavior better documented. The exit code is non-zero, which some have argued is confusing and unclear. The ask here is for this behavior to be explained in an accessible and public area within our RKE2 documentation.

@brandond brandond transferred this issue from rancher/rke2 Apr 12, 2024
@brandond
Copy link
Member

There are a bunch of controllers that trigger a fatal exit when the context is cancelled by the process receiving a shutdown signal. This results in the process exiting with a non-zero return code. It hasn’t been a priority to find and resolve all of the places where this occurs (many of them being in wrangler or core Kubernetes) as the issue is purely cosmetic in that systemctl status shows failed instead of exited when the service is stopped. Systemd also does not like that the container processes remain running after the main rke2 process exits, but that is a separate issue.

@brandond brandond added the documentation Improvements or additions to documentation label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants