From b5f81636a282616ea217130db5abe645ef5c414b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 26 Jan 2013 13:13:08 -0800 Subject: [PATCH] osdthrasher: inject pause on a live (on in) osd --- teuthology/task/ceph_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/ceph_manager.py b/teuthology/task/ceph_manager.py index 986643f831..a2ff979aee 100644 --- a/teuthology/task/ceph_manager.py +++ b/teuthology/task/ceph_manager.py @@ -125,7 +125,7 @@ class Thrasher: ) def inject_pause(self, conf_key, duration, check_after, should_be_down): - the_one = random.choice(self.in_osds) + the_one = random.choice(self.live_osds) self.log("inject_pause on {osd}".format(osd = the_one)) self.log( "Testing {key} pause injection for duration {duration}".format( -- 2.39.5