Bug 2227813 - mgr/snap_schedule: catch all exceptions to avoid crashing module
Summary: mgr/snap_schedule: catch all exceptions to avoid crashing module
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 7.0z2
Assignee: Milind Changire
QA Contact: sumr
Disha Walvekar
URL:
Whiteboard:
Depends On:
Blocks: 2270485
TreeView+ depends on / blocked
 
Reported: 2023-07-31 14:59 UTC by Milind Changire
Modified: 2024-05-09 17:12 UTC (History)
7 users (show)

Fixed In Version: ceph-18.2.0-172.el9cp
Doc Type: Bug Fix
Doc Text:
Previously, the modules would crash when unknown or unexpected exceptions were not captured at the time of development, leading to module crash and loss of functionality. With this fix, the module captures all exceptions. The resulting traceback is also dumped to the console or the log file to report unexpected events. As a result, the module continues to stay operational, providing a better user experience.
Clone Of: 2227810
: 2264836 (view as bug list)
Environment:
Last Closed: 2024-05-07 12:09:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 58195 0 None None None 2023-11-15 09:49:19 UTC
Red Hat Issue Tracker RHCEPH-7115 0 None None None 2023-07-31 15:02:24 UTC
Red Hat Product Errata RHBA-2024:2743 0 None None None 2024-05-07 12:09:57 UTC

Description Milind Changire 2023-07-31 14:59:57 UTC
+++ This bug was initially created as a clone of Bug #2227810 +++

Description of problem:
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.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from RHEL Program Management on 2023-07-31 20:23:15 IST ---

Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 1 RHEL Program Management 2023-07-31 15:00:08 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 15 Amarnath 2024-04-16 05:53:56 UTC
Hi Milind,

Could you please confirm if this BZ needs to be added to the 7.0z2 release notes? If so, please provide the doc type and the doc text.

Regards,
Amarnath

Comment 17 errata-xmlrpc 2024-05-07 12:09:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 7.0 Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2024:2743


Note You need to log in before you can comment on or make changes to this bug.