ceph-salt
ceph-salt copied to clipboard
ceph-salt status/apply sanity check: all minion nodes should have clean "zypper ps -s"
If "zypper ps -s" is not clean on all nodes, ceph-salt apply
should not initiate the Salt Formula.
Sadly, the Salt Zypper module does not seem to support this natively, so this would have to be implemented differently.
Sadly, the Salt Zypper module does not seem to support this natively, so this would have to be implemented differently.
Right. This will be implemented by running zypper ps
and grepping the output for the string "No processes using deleted files found". (We are already using this in ceph-salt reboot
and ceph-salt update --reboot
to determine whether nodes need to be rebooted.)
Working around issues of the Salt Zypper module seems strange to me.
Working around issues of the Salt Zypper module seems strange to me.
Sounds like you haven't had the honor of working with this module before :-)
Working around issues of the Salt Zypper module seems strange to me.
Sounds like you haven't had the honor of working with this module before :-)
haha, not yet :smile: