drakkar-lig / walt-python-packages

Home of walt-node, walt-server, walt-client and walt-common python packages.
https://walt-project.liglab.fr
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

"walt node reboot" could be improved for the user #24

Closed eduble closed 4 years ago

eduble commented 5 years ago

Usually, the end user just wants to reboot nodes, and does not mind how this is performed (hard- (PoE-based) or soft-based).

As a result the command walt node reboot <node-set> should simply do what we currently do when the --hard switch is specified:

  1. try soft-reboot
  2. try hard-reboot for nodes where soft reboot failed

We could still propose the --hard switch, but that would mean "use hard-reboot only". For specific low-level issues, if the user thinks power cycling the node could solve the problem, it could still be useful.