From bf99751ce1a3f9a2cb7bc7b1d78e01dcdb8dbbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 9 Oct 2017 10:41:14 +0200 Subject: [PATCH] osd: bindmount /run/udev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ensures that "udevadm" is able to check the status of udev's event queue. Signed-off-by: Sébastien Han --- roles/ceph-osd/templates/ceph-osd-run.sh.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 index bd854ae0a..7cb5f25c8 100644 --- a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 +++ b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 @@ -32,6 +32,7 @@ expose_partitions "$1" {% endif -%} -v /dev:/dev \ -v /etc/localtime:/etc/localtime:ro \ + -v /run/udev:/run/udev:ro \ -v /var/lib/ceph:/var/lib/ceph \ -v /etc/ceph:/etc/ceph \ $DOCKER_ENV \