]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
osd: bind mount /var/run/udev/
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 5 Feb 2019 08:25:20 +0000 (09:25 +0100)
committerSébastien Han <seb@redhat.com>
Tue, 5 Feb 2019 17:14:28 +0000 (18:14 +0100)
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>
roles/ceph-osd/templates/ceph-osd-run.sh.j2

index ac2c5759de868301e5a6532818c6e3ead2547d83..5678d62bfad305da8ac56141be80af6271d219d2 100644 (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 -%}