From 8c4c1aba38d00ba4bf141ea7eb32b5c4403c1bbc Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 28 Feb 2021 01:57:30 -0500 Subject: [PATCH] Revert "Add object-map to default RBD volume features" This reverts commit 00e9cca6f04a6d137a70f2995317bba46f1f935e. This causes RBD mapping to fail on Debian 10. Reverting but keeping in history for future reference. --- daemon-common/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon-common/ceph.py b/daemon-common/ceph.py index 92a84c81..7bef5952 100644 --- a/daemon-common/ceph.py +++ b/daemon-common/ceph.py @@ -486,7 +486,7 @@ def add_volume(zk_conn, pool, name, size): size = '{}B'.format(size) # 2. Create the volume - retcode, stdout, stderr = common.run_os_command('rbd create --size {} --image-feature layering,exclusive-lock,object-map {}/{}'.format(size, pool, name)) + retcode, stdout, stderr = common.run_os_command('rbd create --size {} --image-feature layering,exclusive-lock {}/{}'.format(size, pool, name)) if retcode: return False, 'ERROR: Failed to create RBD volume "{}": {}'.format(name, stderr)