OSD

POST /api/osd/{svc_id}/reweight

    Reweights the OSD temporarily.

    Note that ‘ceph osd reweight’ is not a persistent setting. When an OSD
    gets marked out, the osd weight will be set to 0. When it gets marked
    in again, the weight will be changed to 1.

    Because of this ‘ceph osd reweight’ is a temporary solution. You should
    only use it to keep your cluster running while you’re ordering more
    hardware.

    - Craig Lewis (http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-June/040967.html)
    

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/osd/{svc_id}/reweight
  • Auth
    HTTP bearer

Path parameters

svc_idstring required

Request body

weightstring required

Response

Resource created.

object required

Changes

No recorded changes to this operation across all 68 revisions of this API.