]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
handler: fix bug in osd handlers
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 18 Jul 2019 12:06:23 +0000 (14:06 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 18 Jul 2019 16:49:14 +0000 (16:49 +0000)
commitbbfd6965e0fd80492fd99644ff167fd9a3f639ca
tree9f1986f723d79994aecf5208c124135020838a62
parent4aa4496fc1de85a064f9d31629824e4f2e0d1201
handler: fix bug in osd handlers

fbf4ed42aee8fa5fd18c4c289cbb80ffeda8f72e introduced a bug when
container binary is podman.
podman doesn't support ps -f using regular expression, the container id
is never set in the restart script causing the handler to fail.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1721536
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 618dbf271d04723bf35483a3aa62ef9019f2d390)
roles/ceph-handler/templates/restart_osd_daemon.sh.j2