Replies: 1 comment
-
|
That is just an example Plan intended to be used as a starting point. if you have suggestions on how to improve it or make it work better for use cases like yours, a PR would be welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey Guys, im using the upgrader and if i force a reboot everything works fine.
I am working on the MicroOS based example that can be found in this repository and here is my plan and my script:
otherwise im using the vanilla manifest provided in the repository here:
https://raw.githubusercontent.com/rancher/system-upgrade-controller/master/manifests/system-upgrade-controller.yaml
note that the original script contains
[ -f /run/reboot-needed ] && rebootmgrctl reboot nowwhich means it should only reboot if something changes.Well i run dup on provisioning and therefore the node is up to date and nothing happens but a bit of cleanup. BUT my node hangs.
The job fails because it seems to be expecting a reboot and the only way to fix it was to remove
[ -f /run/reboot-needed ]from the script in order to have it reboot the instance (then the taint disappears and the jobs succeeds).Now to my actual questions:
Is this desired behavior?
Should i really hard reboot the node even if its not needed?
What can i do to prevent this?
Beta Was this translation helpful? Give feedback.
All reactions