diff --git a/daemon-common/ceph.py b/daemon-common/ceph.py index 7bef5952..92a84c81 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 {}/{}'.format(size, pool, name)) + retcode, stdout, stderr = common.run_os_command('rbd create --size {} --image-feature layering,exclusive-lock,object-map {}/{}'.format(size, pool, name)) if retcode: return False, 'ERROR: Failed to create RBD volume "{}": {}'.format(name, stderr)