ceph-salt icon indicating copy to clipboard operation
ceph-salt copied to clipboard

ceph-salt status/apply sanity check: all minion nodes should have clean "zypper ps -s"

Open smithfarm opened this issue 4 years ago • 5 comments

If "zypper ps -s" is not clean on all nodes, ceph-salt apply should not initiate the Salt Formula.

smithfarm avatar Aug 25 '20 11:08 smithfarm

Sadly, the Salt Zypper module does not seem to support this natively, so this would have to be implemented differently.

LenzGr avatar Sep 09 '20 13:09 LenzGr

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.)

smithfarm avatar Sep 09 '20 13:09 smithfarm

Working around issues of the Salt Zypper module seems strange to me.

sebastian-philipp avatar Nov 26 '20 10:11 sebastian-philipp

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 :-)

smithfarm avatar Nov 26 '20 10:11 smithfarm

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:

sebastian-philipp avatar Nov 26 '20 11:11 sebastian-philipp