Bug 2227810 - 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: ---
: 5.3z6
Assignee: Milind Changire
QA Contact: sumr
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks: 2258797
TreeView+ depends on / blocked
 
Reported: 2023-07-31 14:53 UTC by Milind Changire
Modified: 2024-02-08 16:50 UTC (History)
7 users (show)

Fixed In Version: ceph-16.2.10-225.el8cp
Doc Type: Bug Fix
Doc Text:
.The modules capture all exceptions to stay operational 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:
: 2227812 2227813 (view as bug list)
Environment:
Last Closed: 2024-02-08 16:50:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-7113 0 None None None 2023-07-31 14:53:50 UTC
Red Hat Product Errata RHSA-2024:0745 0 None None None 2024-02-08 16:50:08 UTC

Description Milind Changire 2023-07-31 14:53:06 UTC
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:

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

Comment 2 Venky Shankar 2023-08-09 13:50:09 UTC
Milind, please post an MR.

Comment 3 Scott Ostapovicz 2023-08-17 14:14:20 UTC
Retargeted to 5.3 z6 as this issue was not completed in the 5.3 z5 window.

Comment 11 sumr 2024-01-03 10:56:17 UTC
Verified BZ as per QA Test plan on ceph build  16.2.10-225.el8cp.

Logs - http://magna002.ceph.redhat.com/ceph-qe-logs/suma/bz_verify/bz_2227810_verification.log

FYI : Issues seen during fix verification have been raised as BZs - 2256583,2256573

Comment 16 errata-xmlrpc 2024-02-08 16:50:04 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 (Moderate: Red Hat Ceph Storage 5.3 Security 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/RHSA-2024:0745


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