]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
handler: show unit logs on error
authorSébastien Han <seb@redhat.com>
Tue, 27 Nov 2018 09:45:05 +0000 (10:45 +0100)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Tue, 27 Nov 2018 12:44:15 +0000 (12:44 +0000)
commit2fca8555ccc599455fff45ef3226e477ae6f2a22
treec2758893a0f7be772c565afa97c7e7084ac08e4e
parent59524c7246e2ab1ed534342076c21b02bf3df30d
handler: show unit logs on error

This will tremendously help debugging daemons that fail on restart by
showing the systemd unit logs.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit a9b337ba660da641f36c79a92e0aace217175ff0)
roles/ceph-handler/templates/restart_mds_daemon.sh.j2
roles/ceph-handler/templates/restart_mgr_daemon.sh.j2
roles/ceph-handler/templates/restart_mon_daemon.sh.j2
roles/ceph-handler/templates/restart_nfs_daemon.sh.j2
roles/ceph-handler/templates/restart_osd_daemon.sh.j2
roles/ceph-handler/templates/restart_rbd_mirror_daemon.sh.j2
roles/ceph-handler/templates/restart_rgw_daemon.sh.j2