ceph-ansible/roles/ceph-iscsi-gw/templates
Guillaume Abrioux 8f5abc6d3e container/systemd: ensure /var/log/ceph exists
This adds a `ExecStartPre=-/usr/bin/mkdir -p /var/log/ceph` in all
systemd service templates for all ceph daemon.
This is specific to RHCS after a Leapp upgrade is done. Indeed, the
`/var/log/ceph` seems to be removed after the upgrade.
In order to work around this issue let's ensure the directory is present
before trying to start the containers with podman.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1949489

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit bab403b603)
2021-04-14 20:05:24 +02:00
..
iscsi-gateway.cfg.j2 ceph-iscsi: set the pool name in the config file 2020-11-25 09:19:03 -05:00
rbd-target-api.service.j2 container/systemd: ensure /var/log/ceph exists 2021-04-14 20:05:24 +02:00
rbd-target-gw.service.j2 container/systemd: ensure /var/log/ceph exists 2021-04-14 20:05:24 +02:00
tcmu-runner.service.j2 container/systemd: ensure /var/log/ceph exists 2021-04-14 20:05:24 +02:00