From abedf374c3e0568d63ff7c29aea4c34e42dce870 Mon Sep 17 00:00:00 2001 From: VishwanathMaram Date: Sun, 7 Feb 2016 18:21:20 -0800 Subject: [PATCH] 1-Creating /etc/ceph/ directory, before distributing conf file on clients. 2-Introduced conf file directory for mkimage function. Closes #78 --- cluster/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/ceph.py b/cluster/ceph.py index 256aeaa4..1a7f80f9 100644 --- a/cluster/ceph.py +++ b/cluster/ceph.py @@ -552,7 +552,7 @@ def rbd_unmount(self): common.pdsh(settings.getnodes('clients'), 'sudo service rbdmap stop').communicate() def mkimage(self, name, size, pool, order): - common.pdsh(settings.getnodes('head'), '%s -c %s create %s --size %s --pool %s --order %s' % (self.rbd_cmd, self.tmp_conf, name, size, poo l, order)).communicate() + common.pdsh(settings.getnodes('head'), '%s -c %s create %s --size %s --pool %s --order %s' % (self.rbd_cmd, self.tmp_conf, name, size, pool, order)).communicate() class RecoveryTestThread(threading.Thread): def __init__(self, config, cluster, callback, stoprequest, haltrequest):