Project

General

Profile

Actions

Feature #59588

open

Add omit_usage query param to dashboard API endpoint for getting RBD info

Added by Cory Snyder about 1 year ago. Updated 9 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
Component - RBD
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
pacific quincy reef
Reviewed:
Affected Versions:
Pull request ID:

Description

The endpoint that gets information about an RBD also returns usage information when an RBD has the 'fast-diff' feature enabled. We've found that gathering usage information via the diff call can be problematic on some very large / old RBDs - it can take many minutes to return. Our use case for calling this API doesn't require the usage information, so we'd like to add a query parameter to indicate that usage information should not be gathered. That is, we'd like to add a "omit_usage" query parameter to the endpoint for getting RBD info [1] such that the default behavior remains unchanged.

[1] https://docs.ceph.com/en/latest/mgr/ceph_api/index.html#get--api-block-image


Related issues 3 (2 open1 closed)

Copied to Dashboard - Backport #62621: pacific: Add omit_usage query param to dashboard API endpoint for getting RBD infoResolvedCory SnyderActions
Copied to Dashboard - Backport #62622: reef: Add omit_usage query param to dashboard API endpoint for getting RBD infoNewCory SnyderActions
Copied to Dashboard - Backport #62623: quincy: Add omit_usage query param to dashboard API endpoint for getting RBD infoNewCory SnyderActions
Actions

Also available in: Atom PDF