Bug 1956619 - mgr/pybind/snap_schedule: do not fail when no fs snapshots are available
Summary: mgr/pybind/snap_schedule: do not fail when no fs snapshots are available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.0
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: 5.0
Assignee: Sébastien Han
QA Contact: Hemanth Kumar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-04 05:17 UTC by Venky Shankar
Modified: 2021-08-30 08:30 UTC (History)
8 users (show)

Fixed In Version: ceph-16.2.0-70.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:30:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 50538 0 None None None 2021-05-21 03:03:28 UTC
Red Hat Issue Tracker RHCEPH-1284 0 None None None 2021-08-30 00:22:20 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:30:28 UTC

Description Venky Shankar 2021-05-04 05:17:31 UTC
When calling the json output, we should not return any error but just an empty dict:

# ceph fs snap-schedule list / format=json
Error ENOENT: SnapSchedule for / not found
# echo $?
2

Comment 1 RHEL Program Management 2021-05-04 05:17:37 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 9 Sébastien Han 2021-07-07 15:05:08 UTC
It's expected, the patch was only for the json output.

Comment 10 Sébastien Han 2021-07-07 16:05:34 UTC
Removing Venky's needinfo. Hemanth please move this to VERIFIED based on https://bugzilla.redhat.com/show_bug.cgi?id=1956619#c9. Thanks!

Comment 12 Hemanth Kumar 2021-07-09 08:53:08 UTC
Moving to verified based on Comment#9

Comment 14 errata-xmlrpc 2021-08-30 08:30:12 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 5.0 bug fix and enhancement), 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-2021:3294


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