Actions
Bug #24456
closedcaught exceptions are not being logged
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
There are a couple of places where this pattern is used:
try: self.prepare(args) except Exception: logger.error('lvm prepare was unable to complete') logger.info('will rollback OSD ID creation') rollback_osd(args, self.osd_id) raise
In some cases, an exception can be thrown in rollback_osd, so the original exception is lost. This needs to be logged with `logger.exception`
Updated by Andrew Schoen almost 6 years ago
- Status changed from New to In Progress
- Assignee set to Andrew Schoen
Updated by Andrew Schoen almost 6 years ago
- Status changed from In Progress to Resolved
Actions