From 15812970f033206b8680cc68351952d49cc18314 Mon Sep 17 00:00:00 2001 From: Noah Watkins Date: Wed, 27 Feb 2019 16:05:19 -0800 Subject: [PATCH] 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 --- library/ceph_volume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.39.5