Instead of printing the (useless) traceback, just print a warning about
ignoring the failure. The traceback makes it harder to search for the
real problem in the teuthology log.
Fixes: https://tracker.ceph.com/issues/43718
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
self.log('triggering scrub')
try:
self.manager.raw_cluster_cmd('mon', 'scrub')
- except Exception:
- log.exception("Saw exception while triggering scrub")
+ except Exception as e:
+ log.warning("Ignoring exception while triggering scrub: %s", e)
if self.thrash_delay > 0.0:
self.log('waiting for {delay} secs before continuing thrashing'.format(