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 8 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 #1

Updated by Cory Snyder 8 months ago

  • Pull request ID set to 51294
Actions #2

Updated by Nizamudeen A 8 months ago

  • Category set to Component - RBD
  • Status changed from New to Pending Backport
Actions #3

Updated by Nizamudeen A 8 months ago

looks like the PR got merged sometime ago without properly updating the tracker. We'll need to do the backporting and bring this to previous releases

Actions #4

Updated by Backport Bot 8 months ago

  • Copied to Backport #62621: pacific: Add omit_usage query param to dashboard API endpoint for getting RBD info added
Actions #5

Updated by Backport Bot 8 months ago

  • Copied to Backport #62622: reef: Add omit_usage query param to dashboard API endpoint for getting RBD info added
Actions #6

Updated by Backport Bot 8 months ago

  • Copied to Backport #62623: quincy: Add omit_usage query param to dashboard API endpoint for getting RBD info added
Actions #7

Updated by Backport Bot 8 months ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF