]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Thrasher: log backtrace of thrown exception
authorKefu Chai <kchai@redhat.com>
Wed, 25 Feb 2015 08:10:51 +0000 (16:10 +0800)
committerDavid Zafman <dzafman@redhat.com>
Tue, 22 Nov 2016 02:33:18 +0000 (18:33 -0800)
commitf79027a229b2cbb16eaf877b06bf35ecff647bea
tree936c14910c4914974b0b6a7fa6b23a308fccaca6
parent8e5872bf6c18b410136fd76974ae11e645c09928
Thrasher: log backtrace of thrown exception

* add a wrapper to log uncaught exception to self.logger, greenlet also
  prints the backtrace and exception to stderr, but teuthology.log does
  not capture stderr. so we need to catch them by ourselves to reveal
  more info to root-cause this issue.
* log uncaught exception thrown by Thrasher.do_thrash() to self.log.

See: #10630
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 64de3cd574b200d90cb3aea0d646a6236d8fec5e)
tasks/ceph_manager.py