From ddedb1a99257d1b532f089dc174ea141929a0184 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 19 Jun 2019 15:19:36 -0400 Subject: [PATCH] Set image features to supported values --- node-daemon/pvcd/CephInstance.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node-daemon/pvcd/CephInstance.py b/node-daemon/pvcd/CephInstance.py index d2476f62..57b1202a 100644 --- a/node-daemon/pvcd/CephInstance.py +++ b/node-daemon/pvcd/CephInstance.py @@ -484,8 +484,7 @@ def add_volume(zk_conn, logger, pool, name, size): try: # Create the volume sizeMiB = int(size) * 1024 - print(sizeMiB) - retcode, stdout, stderr = common.run_os_command('rbd create --size {} {}/{}'.format(sizeMiB, pool, name)) + retcode, stdout, stderr = common.run_os_command('rbd create --size {} --image-feature layering,exclusive-lock {}/{}'.format(sizeMiB, pool, name)) if retcode: print('rbd create') print(stdout)