ceph-ansible/roles/ceph-rgw/templates
Guillaume Abrioux 5f6050bed1 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:04:54 +02:00
..
ceph-radosgw.service.j2 container/systemd: ensure /var/log/ceph exists 2021-04-14 20:04:54 +02:00
ceph-rgw.service.d-overrides.j2 Allow ceph service systemd overrides to be specified 2017-08-16 17:57:06 +01:00