Project

General

Profile

Actions

Bug #58195

open

mgr/snap_schedule: catch all exceptions to avoid crashing module

Added by Milind Changire over 1 year ago. Updated 10 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Tags:
backport_processed
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/snap_schedule
Labels (FS):
task(easy)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Any unknown exception causes the module to be unloaded and unresponsive.
So, it'll be ideal to catch all exceptions and report them at the command-line instead of crashing with a traceback.


Related issues 3 (1 open2 closed)

Copied to CephFS - Backport #61793: pacific: mgr/snap_schedule: catch all exceptions to avoid crashing moduleResolvedMilind ChangireActions
Copied to CephFS - Backport #61794: reef: mgr/snap_schedule: catch all exceptions to avoid crashing moduleIn ProgressMilind ChangireActions
Copied to CephFS - Backport #61795: quincy: mgr/snap_schedule: catch all exceptions to avoid crashing moduleResolvedMilind ChangireActions
Actions

Also available in: Atom PDF