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 <gabrioux@redhat.com>
(cherry picked from commit
48b369e2caf3222bf594dc09f87b5969a53dfbe7)
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