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

Systemd Start RKE2 task fails sometimes #235

Open
Eric-Domeier opened this issue May 29, 2024 · 1 comment · May be fixed by #240
Open

Systemd Start RKE2 task fails sometimes #235

Eric-Domeier opened this issue May 29, 2024 · 1 comment · May be fixed by #240

Comments

@Eric-Domeier
Copy link

The starting of the RKE2-server task should be handled with handlers, ran into issue where ansible fails even though the systemd service eventually started.

@aleiner
Copy link
Contributor

aleiner commented Jun 5, 2024

The rke2-server and rke2-agent services will continually loop trying to start if there is a failure.

The issue with moving to a handler, which I agree is a good idea, is that the first server has to start in the middle of the play in order to grab the token for all over servers and agents. The best way to accomplish this is to rework some of the code to allow the handler to control the initial (and all subsequent re)start of RKE2. Will review with @mddamato

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants