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 <gabrioux@redhat.com>
pull/3571/head
Guillaume Abrioux 2019-02-05 09:25:20 +01:00 committed by Sébastien Han
parent ff5509295a
commit 7ade032807
1 changed files with 1 additions and 0 deletions

View File

@ -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 -%}