tinkerbell / roadmap

Official Tinkerbell Roadmap
Apache License 2.0
7 stars 3 forks source link

Support device restart or kexec as part of workflows #29

Open chrisdoherty4 opened 1 year ago

chrisdoherty4 commented 1 year ago

Summary

When provisioning devices users inevitably need to restart the device (or kexec). To date, users achieve a restart through an action which can lead to incorrect status reporting on Workflows.

When the restart action is run it instructs the kernel to perform a system restart. The restart process races against the action exiting and Tink Worker reporting the action was successful. In the case of kexec, we rarely - if ever - see the action transition to a success state. This generally leaves workflows to timeout which is misleading for users.

This issue is to track the introduction of restart/kexec to workflows as a built in feature removing the need to include an action. Other proposals are welcome.

dln commented 1 year ago

We just ran into this when setting tinkerbell up. :smile:

+1 for a specific "restart action", since that'll keep it OS independent as well.

jacobweinstock commented 7 months ago

We might want to also add a power off builtin.