]> 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 11:00:37 +0000 (11:00 +0000)
commita9b337ba660da641f36c79a92e0aace217175ff0
tree0e90800f7b21731c593e6789d6b76e341ddcbfac
parent83a67648d87b2d6576bcf25feea5afd2e2448384
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>
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