Commit Graph

5 Commits

Author SHA1 Message Date
Sébastien Han
74a7cdda6b mgr/pybind/snap_schedule: do not fail when no fs snapshot schedules are available
When listing for available snapshot schedules, we should not an error in case
there is none. We should just return 0 with an empty dict.

Fixes: https://tracker.ceph.com/issues/49837
Signed-off-by: Sébastien Han <seb@redhat.com>
2021-04-26 08:57:28 +02:00
Patrick Donnelly
6b461745af
qa: log snapshot changes during verification
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-23 18:24:42 -07:00
Patrick Donnelly
6b58fc35da
pybind/mgr/snap_schedule: log database updates for debugging
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-23 18:24:42 -07:00
Patrick Donnelly
25a513da06
qa: improve assertion check to aid debugging
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-23 18:24:41 -07:00
Venky Shankar
a8c8b3ade2 tests: add snap schedule tests
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-11-17 08:39:09 -05:00