canonical / charm-sysconfig

A subordinate charm to apply system settings like grub configurations or systemd configurations.
Apache License 2.0
0 stars 5 forks source link

when reboot required, unit status should be something else than "active" #32

Closed dashmage closed 9 months ago

dashmage commented 9 months ago

When the charm is deployed and the unit requires a reboot, then unit status as blocked or something would make sense than just being "active".

sysconfig/0* active idle 10.X.X.Z reboot required. Changes in: /etc/systemd/system.conf, /etc/default/grub.d/90-sysconfig.cfg


Imported from Launchpad using lp2gh.

dashmage commented 9 months ago

(by peppepetra) Can we also add an nrpe check that goes at least into Warning if a reboot is needed? This will help the operator noticing it.

dashmage commented 9 months ago

(by raychan96) This bug had been fixed as part of the commit in this bug: https://code.launchpad.net/~dparv/charm-sysconfig/+git/charm-sysconfig/+merge/412504.