]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_manager: fix ceph tell mon.*
authorSage Weil <sage@inktank.com>
Sun, 16 Jun 2013 20:11:50 +0000 (13:11 -0700)
committerSage Weil <sage@inktank.com>
Sun, 16 Jun 2013 20:11:50 +0000 (13:11 -0700)
Need -- to make cli stop parsing (or quote the options).
Otherwise, the options will be parsed/applied to the cli's
librados instance.

teuthology/task/ceph_manager.py

index c0ff30ad5f338e505994f5051ff2730bceafc5bc..bfd37d0d510adaffe36635af2a0252814b383a62 100644 (file)
@@ -35,7 +35,7 @@ class Thrasher:
         if self.config is None:
             self.config = dict()
         # prevent monitor from auto-marking things out while thrasher runs
-        manager.raw_cluster_cmd('tell', 'mon.*', 'injectargs',
+        manager.raw_cluster_cmd('--', 'tell', 'mon.*', 'injectargs',
                                 '--mon-osd-down-out-interval', '0')
         self.thread = gevent.spawn(self.do_thrash)