I have created a simple test charm, using ubuntu focal and the lxd provider, and can verify that
juju-reboot works as expected in that configuration.
Moving over to a MAAS cloud, and using centos7 as the os/series,
juju-reboot seems to shut down the unit-agents, but doesn’t reboot the node.
juju-reboot --now yield the same result, with the node never rebooting.
Any ideas on what is going on here, or how I might go about introspecting this further?
I ran another test, deploying my reboot test charm on a centos7 and on ubuntu focal using MAAS, and found that the focal node reboots as expected and the centos7 node (as expected) does not reboot.