Project

General

Profile

Feature #43958

librbd: Add support for RBD Snapshot purge in python bindings

Added by Tiago Melo 9 months ago. Updated 9 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Would be nice to have access to this functionality in the python bindings,
so we can use it in the ceph dashboard.

https://docs.ceph.com/docs/giant/rbd/rbd-snapshot/#purge-snapshots


Related issues

Blocks mgr - Bug #36404: mgr/dashboard: Can not delete RBD with snapshots Resolved
Follows mgr - Feature #43959: mgr/dashboard: Disable deletion of RBDs with snapshots Rejected

History

#1 Updated by Tiago Melo 9 months ago

  • Blocks Bug #36404: mgr/dashboard: Can not delete RBD with snapshots added

#2 Updated by Tiago Melo 9 months ago

  • Follows Feature #43959: mgr/dashboard: Disable deletion of RBDs with snapshots added

#3 Updated by Jason Dillaman 9 months ago

  • Status changed from New to Need More Info

I don't think there is a C/C++ API for this. The rbd CLI just lists the existing snapshots on an image and deletes them. Why can't the dashboard just do that as well?

#4 Updated by Tiago Melo 9 months ago

  • Status changed from Need More Info to Rejected

I though the CLI command might do more than just that.
In that case, I will implement that in the dashboard.
Thanks.

Also available in: Atom PDF