ceph-ansible/roles/ceph-iscsi-gw/templates
Guillaume Abrioux bab403b603 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>
2021-04-14 16:37:33 +02:00
..
iscsi-gateway.cfg.j2 ceph-iscsi: set the pool name in the config file 2020-11-24 20:41:54 +01:00
rbd-target-api.service.j2 container/systemd: ensure /var/log/ceph exists 2021-04-14 16:37:33 +02:00
rbd-target-gw.service.j2 container/systemd: ensure /var/log/ceph exists 2021-04-14 16:37:33 +02:00
tcmu-runner.service.j2 container/systemd: ensure /var/log/ceph exists 2021-04-14 16:37:33 +02:00