placement-groups

Manage placement groups.

get /pgs

List all PGs in a pool.

Arguments
  • filteroptionalarray

    Only show PGs which are in all of these states.

  • pooloptionalarray

    Only show PGs which are in any of these pools.

Definition
get /pgs
Attributes
  • pgsarray

    All placement groups matching the given filter.

    • pgIdstring

      -

    • statestring

      -

    • lastScrubStampinteger

      -

    • lastDeepScrubStampinteger

      -

    • actingOsdsarray

      -

    • osdsarray

      -

    • primaryinteger

      -

    • actingPrimaryinteger

      -

    • poolIdinteger

      -

  • stateSummaryobject

    Overview of placement groups in the given pools by states, to be used for filtering in further API calls.

  • poolIdsobject

    -

Example response
{ "pgs": [ { "pgId": "string", "state": "string", "lastScrubStamp": 0, "lastDeepScrubStamp": 0, "actingOsds": [ 0 ], "osds": [ 0 ], "primary": 0, "actingPrimary": 0, "poolId": 0 } ], "stateSummary": {}, "poolIds": {} }

get /pgs/{pg}/details

Arguments
  • pgrequiredstring

    -

Definition
get /pgs/{pg}/details
Attributes
Example response
{}

post /pgs/{pg}/scrub

Arguments
  • pgrequiredstring

    -

Definition
post /pgs/{pg}/scrub

post /pgs/{pg}/deep-scrub

Arguments
  • pgrequiredstring

    -

Definition
post /pgs/{pg}/deep-scrub

post /pgs/{pg}/repair

Arguments
  • pgrequiredstring

    -

Definition
post /pgs/{pg}/repair

post /pgs/{pg}/recover

Arguments
  • pgrequiredstring

    -

Definition
post /pgs/{pg}/recover

post /pgs/{pg}/backfill

Arguments
  • pgrequiredstring

    -

Definition
post /pgs/{pg}/backfill