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: ASSIGNED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: CephFS
Version: 5.0
Hardware: All
OS: All
high
medium
Target Milestone: ---
: 5.0
Assignee: Venky Shankar
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-05-05 02:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 49837 0 None None None 2021-05-04 05:17:31 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.


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