Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: mgr/snap_schedule: catch all exceptions for cli #52753

Merged
merged 1 commit into from Aug 21, 2023

Conversation

mchangir
Copy link
Contributor

@mchangir mchangir commented Aug 2, 2023

backport tracker: https://tracker.ceph.com/issues/61793


backport of #49295
parent tracker: https://tracker.ceph.com/issues/58195

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

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

Fixes: https://tracker.ceph.com/issues/58195
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit 651fb2e)
@mchangir mchangir added this to the pacific milestone Aug 2, 2023
@mchangir mchangir added the core label Aug 2, 2023
@github-actions github-actions bot added the pybind label Aug 2, 2023
@mchangir
Copy link
Contributor Author

mchangir commented Aug 3, 2023

jenkins test make check

@mchangir
Copy link
Contributor Author

mchangir commented Aug 3, 2023

jenkins test api

@mchangir
Copy link
Contributor Author

mchangir commented Aug 4, 2023

jenkins test make check

@mchangir
Copy link
Contributor Author

mchangir commented Aug 4, 2023

jenkins test api

Copy link
Member

@batrick batrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuriw yuriw merged commit 9c2728d into ceph:pacific Aug 21, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants