From: Mike Currin Date: Thu, 24 Dec 2020 07:25:24 +0000 (+0200) Subject: Path for ceph config missing in crash template X-Git-Tag: v4.0.43~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=360a2d2b3013f8e38dd388c9ccc91873287931ca;p=ceph-ansible.git Path for ceph config missing in crash template The path where ceph.conf is located (/etc/ceph) missing in the Docker container bind mounts, this throws errors Signed-off-by: Mike Currin (cherry picked from commit 4cbc9a48c9cd025df7dcd438c5bcf975868638c0) --- diff --git a/roles/ceph-crash/templates/ceph-crash.service.j2 b/roles/ceph-crash/templates/ceph-crash.service.j2 index 624420023..fd9468921 100644 --- a/roles/ceph-crash/templates/ceph-crash.service.j2 +++ b/roles/ceph-crash/templates/ceph-crash.service.j2 @@ -20,6 +20,7 @@ ExecStart=/usr/bin/{{ container_binary }} run --rm --name ceph-crash-%i \ --net=host \ -v /var/lib/ceph:/var/lib/ceph:z \ -v /etc/localtime:/etc/localtime:ro \ +-v /etc/ceph:/etc/ceph:z \ --entrypoint=/usr/bin/ceph-crash {{ ceph_docker_registry }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }} {% if container_binary == 'podman' %} ExecStop=-/usr/bin/sh -c "/usr/bin/{{ container_binary }} rm -f `cat /%t/%n-cid`"