Skip to content

Commit

Permalink
1-Creating /etc/ceph/ directory, before distributing conf file on cli…
Browse files Browse the repository at this point in the history
…ents. 2-Introduced conf file directory for mkimage function.

Closes ceph#78
  • Loading branch information
VishwanathMaram authored and Mark Nelson committed Feb 9, 2016
1 parent 7d1ffa2 commit abedf37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/ceph.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit abedf37

Please sign in to comment.