]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
nuke: log what pid we are killing when we kill it
authorSage Weil <sage@newdream.net>
Wed, 18 Jul 2012 18:04:30 +0000 (11:04 -0700)
committerSage Weil <sage@newdream.net>
Wed, 18 Jul 2012 18:04:30 +0000 (11:04 -0700)
teuthology/nuke.py

index db4e514ac4b59a233424056c0010a7ab1437b77a..536ebbda7359100550e331bc2d243e6732f32616 100644 (file)
@@ -278,6 +278,7 @@ def main():
     if ctx.pid:
         if ctx.archive:
             import os
+            log.info('Killing teuthology process at pid %d', ctx.pid)
             os.system('grep -q %s /proc/%d/cmdline && sudo kill %d' % (
                     ctx.archive,
                     ctx.pid,