]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/deepsea: log salt job failures
authorTim Serong <tserong@suse.com>
Thu, 14 Mar 2019 11:48:44 +0000 (22:48 +1100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Tue, 2 Apr 2019 14:24:53 +0000 (16:24 +0200)
commit7c65559063b9933943474ce43d4a52ffbe3ac6d1
tree78fae8c5ed1325ac81947c2725f6162524ef8a84
parent4e44edd9cea1afe8494f43395b3af125e8dd4684
mgr/deepsea: log salt job failures

If a request to salt succeeds, but the event comes back with some internal
failure (e.g.: an exception was thrown inside the salt runner), we need to
log this so the admin can find out what on earth went wrong.

Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit 78c3d65ca9092bdab51ae1e6b6beb3ee37e72938)
src/pybind/mgr/deepsea/module.py