]> git.apps.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)
committerKefu Chai <kchai@redhat.com>
Wed, 25 Feb 2015 08:10:52 +0000 (16:10 +0800)
commit64de3cd574b200d90cb3aea0d646a6236d8fec5e
tree741ecbc924b55750b709ad370c66181a8f04e83c
parentb8e3f53c48037d89681ff62d75f4a416e1dea815
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>
tasks/ceph_manager.py