Skip to content

Commit

Permalink
remove bad osd pool create cmd
Browse files Browse the repository at this point in the history
Mark's comments: Ran this through lots of cluster creations and performance
tests last night.  It appears to be working well in the tests that I have
run.

Closes #110
  • Loading branch information
bengland2 authored and Mark Nelson committed Aug 10, 2016
1 parent c06fdca commit 637c430
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cluster/ceph.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,10 +482,6 @@ def mkpool(self, name, profile_name, base_name=None):
prefill_object_size = profile.get('prefill_object_size', 0)
prefill_time = profile.get('prefill_time', 0)

# common.pdsh(settings.getnodes('head'), 'sudo ceph -c %s osd pool delete %s %s --yes-i-really-really-mean-it' % (self.tmp_conf, name, name)).communicate()
common.pdsh(settings.getnodes('head'), 'sudo %s -c %s osd pool create %s %d %d %s' % (self.ceph_cmd, self.tmp_conf, name, pg_size, pgp_size, erasure_profile),
continue_if_error=False).communicate()

if replication and replication == 'erasure':
common.pdsh(settings.getnodes('head'), 'sudo %s -c %s osd pool create %s %d %d erasure %s' % (self.ceph_cmd, self.tmp_conf, name, pg_size, pgp_size, erasure_profile),
continue_if_error=False).communicate()
Expand Down

0 comments on commit 637c430

Please sign in to comment.