I’m faced with a situation where I need to reboot a node after installing infiniband drivers from Mellanox repos.
I’m looking for advice on when (which hook) and how best reboot a node as part of me installing the OFED kernel driver. I need to put the reboot inside of a subordinate charm.
I want to wait for all other activities from the principal charm to finish before booting.
Also, I only have access to bash (not python/reactive)
Also, this is a centos7 charm as part of the SLURM charms we are working on.
Any advice and hopefully some code examples greatly appreciated.