From: Guillaume Abrioux Date: Thu, 14 Oct 2021 07:46:36 +0000 (+0200) Subject: cephadm: mount rootfs in osd containers X-Git-Tag: v17.1.0~472^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F43536%2Fhead;p=ceph.git cephadm: mount rootfs in osd containers See ceph-volume tracker for details [1] [1] https://tracker.ceph.com/issues/52926 Fixes: https://tracker.ceph.com/issues/51592 Signed-off-by: Guillaume Abrioux --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index 180d06e3b0e9..d36dcf978b24 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -2420,6 +2420,7 @@ def get_container_mounts(ctx, fsid, daemon_type, daemon_id, if not os.path.exists(selinux_folder): os.makedirs(selinux_folder, mode=0o755) mounts[selinux_folder] = '/sys/fs/selinux:ro' + mounts['/'] = '/rootfs' try: if ctx.shared_ceph_folder: # make easy manager modules/ceph-volume development