From 154f055f03960c050dc0cdae717d0cc8a68b5371 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Fri, 12 Jun 2015 11:05:42 -0700 Subject: [PATCH] ceph: fix up log rotation stopper Signed-off-by: Greg Farnum (cherry picked from commit 451c5ca79de14a8462a76dc8287be1f4fd72fa1b) --- tasks/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/ceph.py b/tasks/ceph.py index 28930b8e5..21dc2686a 100644 --- a/tasks/ceph.py +++ b/tasks/ceph.py @@ -91,7 +91,7 @@ def begin(self): self.thread = gevent.spawn(self.invoke_logrotate) def end(self): - self.stopping = True + self.stop_event.set() self.thread.get() def write_rotate_conf(ctx, daemons):