]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: fix up log rotation stopper
authorGreg Farnum <gfarnum@redhat.com>
Fri, 12 Jun 2015 18:05:42 +0000 (11:05 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Fri, 12 Jun 2015 18:19:24 +0000 (11:19 -0700)
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
tasks/ceph.py

index 28930b8e5901615a44b526404d0c66ad510be34b..21dc2686a6be81a0616ee33bcb7e918cb925bd9f 100644 (file)
@@ -91,7 +91,7 @@ def ceph_log(ctx, config):
             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):