From 98365b0fcf40d74bcacca20d38a1130b8599b570 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 19 Jun 2019 09:41:33 -0400 Subject: [PATCH] Correct bugs around snapshots --- client-common/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-common/ceph.py b/client-common/ceph.py index 4fac82d7..a31ddbfd 100644 --- a/client-common/ceph.py +++ b/client-common/ceph.py @@ -1352,7 +1352,7 @@ def get_list_volume(zk_conn, pool, limit): def add_snapshot(zk_conn, pool, volume, name): # Tell the cluster to create a new snapshot - add_snapshot_string = 'snapshot_add {},{}'.format(pool. volume, name) + add_snapshot_string = 'snapshot_add {},{},{}'.format(pool, volume, name) zkhandler.writedata(zk_conn, {'/ceph/cmd': add_snapshot_string}) # Wait 1/2 second for the cluster to get the message and start working time.sleep(0.5)