From 7ade0328072896e99817b070b6a82448024bfb84 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 5 Feb 2019 09:25:20 +0100 Subject: [PATCH] osd: bind mount /var/run/udev/ without this, the command `ceph-volume lvm list --format json` hangs and takes a very long time to complete. Signed-off-by: Guillaume Abrioux --- 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 ac2c5759d..5678d62bf 100644 --- a/roles/ceph-osd/templates/ceph-osd-run.sh.j2 +++ b/roles/ceph-osd/templates/ceph-osd-run.sh.j2 @@ -92,6 +92,7 @@ fi -v /var/lib/ceph:/var/lib/ceph:z \ -v /etc/ceph:/etc/ceph:z \ -v /var/run/ceph:/var/run/ceph:z \ + -v /var/run/udev/:/var/run/udev/:z \ {% if ansible_distribution == 'Ubuntu' -%} --security-opt apparmor:unconfined \ {% endif -%}