]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_manager: fix typo
authorSage Weil <sage@inktank.com>
Sat, 3 May 2014 04:06:48 +0000 (21:06 -0700)
committerJosh Durgin <josh.durgin@inktank.com>
Sat, 3 May 2014 04:18:38 +0000 (21:18 -0700)
From ce7fa1839f4b3e3db675b2d68a2bb57849f58c1e. Tested this time.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/task/ceph_manager.py

index 7ed01d070d68d71c07484c84da4bf87bee249f6a..0a16375ff6cdb957d43beab389845daf961a7452 100644 (file)
@@ -132,7 +132,7 @@ class Thrasher:
             osd = random.choice(self.in_osds)
         val = random.uniform(.1, 1.0)
         self.log("Reweighting osd %s to %f" % (str(osd), val))
-        self.raw_cluster_cmd('osd', 'reweight', str(osd), val)
+        self.ceph_manager.raw_cluster_cmd('osd', 'reweight', str(osd), val)
 
     def primary_affinity(self, osd=None):
         if osd is None: