From c71e44834fb93252f15b4f8ed7addc7b6fdea9bb Mon Sep 17 00:00:00 2001 From: lub Date: Sun, 15 Dec 2019 22:44:01 +0100 Subject: [PATCH] make osd containers privileged for dm activation --- osd/docker-compose.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/osd/docker-compose.yml b/osd/docker-compose.yml index 82e9a3c..d38bdc3 100644 --- a/osd/docker-compose.yml +++ b/osd/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.0" services: - ceph_osd_${OSD_ID}: + ceph_osd: container_name: ceph_osd_${OSD_ID} image: docker.io/ceph/daemon:latest-nautilus #copy hostname of the host to correctly calculate CRUSH map positions @@ -15,8 +15,7 @@ services: - /ceph/osd_${OSD_ID}/etc/ceph/:/etc/ceph/ - /dev/:/dev/ command: osd_ceph_volume_activate - cap_add: - - SYS_ADMIN + privileged: true networks: - ceph networks: