From: Noah Watkins Date: Thu, 28 Feb 2019 00:05:19 +0000 (-0800) Subject: cv: expose host ipc namespace to ceph-volume container X-Git-Tag: v4.0.0rc1~70 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=15812970f033206b8680cc68351952d49cc18314;p=ceph-ansible.git cv: expose host ipc namespace to ceph-volume container this is needed to properly handle semaphore synchronization for udev actions via dmcrypt/cryptsetup. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1683770 Signed-off-by: Noah Watkins --- diff --git a/library/ceph_volume.py b/library/ceph_volume.py index a1cb5f38c..1b51140e7 100644 --- a/library/ceph_volume.py +++ b/library/ceph_volume.py @@ -189,7 +189,7 @@ def container_exec(binary, container_image): ''' container_binary = os.getenv('CEPH_CONTAINER_BINARY') command_exec = [container_binary, 'run', - '--rm', '--privileged', '--net=host', + '--rm', '--privileged', '--net=host', '--ipc=host', '-v', '/run/lock/lvm:/run/lock/lvm:z', '-v', '/var/run/udev/:/var/run/udev/:z', '-v', '/dev:/dev', '-v', '/etc/ceph:/etc/ceph:z',