Project

General

Profile

Feature #5851

BE: API end point for OSD/PG relations

Added by Noah Watkins about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

History

#1 Updated by Noah Watkins about 8 years ago

  • Tracker changed from Fix to Feature

#2 Updated by Noah Watkins about 8 years ago

  • Subject changed from BE: API end point to filter PGs by state to BE: API end point for OSD/PG relations

Start with a pg and view osds that overlap, and vice versa. We should also be able to filter by PG state.

#3 Updated by Noah Watkins about 8 years ago

  • translation missing: en.field_story_points set to 2.00

#4 Updated by Noah Watkins about 8 years ago

  • translation missing: en.field_story_points changed from 2.00 to 3.00

#5 Updated by Noah Watkins about 8 years ago

  • translation missing: en.field_story_points changed from 3.00 to 4.00

#6 Updated by Noah Watkins about 8 years ago

  • Status changed from New to Resolved

API support for dashboard drill down should now be available on the
mira cluster. There were three new data sources that needed to be
available to support all the views in the dashboard drill down
illustrated in the attached of tracker ticket
http://tracker.ceph.com/issues/5735.

1. OSD filtering by PG state

/osd?pg_states=state[,state[,...]]

2. PG states by OSD

Each OSD now reports the number of PGs whose acting set maps to the
OSD, categorized by PG state. Each OSD JSON dictionary will have the
following new field:

"pg_states": {
"active": 353,
"clean": 353,
"scrubbing": 1
},

3. Pools by OSD

Each OSD now reports the set of pools that map to the OSD (or rather,
pools that have pgs that have acting sets containing the OSD).

"pools": [
".rgw.buckets",
".rgw"
],

This seems to cover everything needed for all the frames in the
dashboard. Let me know if I'm missing some piece of information!

Also available in: Atom PDF