From f7a14c0fe5fe92fc6ebaf37322748918a57afef8 Mon Sep 17 00:00:00 2001 From: Avra Sengupta Date: Thu, 2 Apr 2015 12:51:34 +0530 Subject: snapshot/scheduler: Fix the snapshot create command. The create command being executed was sent with wrong parameters. Change-Id: I9b3cf23b3a02cf8309d50bf70439ad02b37f191a BUG: 1208067 Signed-off-by: Avra Sengupta Reviewed-on: http://review.gluster.org/10114 Reviewed-by: Aravinda VK Tested-by: Gluster Build System --- extras/snap_scheduler/gcron.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extras') diff --git a/extras/snap_scheduler/gcron.py b/extras/snap_scheduler/gcron.py index 763eb1460b8..f7e8a4924ed 100755 --- a/extras/snap_scheduler/gcron.py +++ b/extras/snap_scheduler/gcron.py @@ -60,7 +60,8 @@ def takeSnap(volname=""): cli = ["gluster", "snapshot", "create", - "%s-snapshot-%s %s" % (volname, timeStr, volname)] + "%s-snapshot-%s" % (volname, timeStr), + "%s" % (volname)] log.debug("Running command '%s'", " ".join(cli)) p = subprocess.Popen(cli, stdout=subprocess.PIPE, -- cgit