cephproxy

GET /ceph/{path}

Ceph dashboard API proxy

Reverse-proxies to the Ceph dashboard with a minted Ceph token; GET/HEAD need STORAGE_VIEW, writes need STORAGE_MANAGE, OPTIONS is an unauthenticated CORS preflight.

Parameters:
  • path (string) – Ceph dashboard API path

Status Codes:
HEAD /ceph/{path}

Ceph dashboard API proxy

Reverse-proxies to the Ceph dashboard with a minted Ceph token; GET/HEAD need STORAGE_VIEW, writes need STORAGE_MANAGE, OPTIONS is an unauthenticated CORS preflight.

Parameters:
  • path (string) – Ceph dashboard API path

Status Codes:
OPTIONS /ceph/{path}

Ceph dashboard API proxy

Reverse-proxies to the Ceph dashboard with a minted Ceph token; GET/HEAD need STORAGE_VIEW, writes need STORAGE_MANAGE, OPTIONS is an unauthenticated CORS preflight.

Parameters:
  • path (string) – Ceph dashboard API path

Status Codes:
PATCH /ceph/{path}

Ceph dashboard API proxy

Reverse-proxies to the Ceph dashboard with a minted Ceph token; GET/HEAD need STORAGE_VIEW, writes need STORAGE_MANAGE, OPTIONS is an unauthenticated CORS preflight.

Parameters:
  • path (string) – Ceph dashboard API path

Status Codes:
POST /ceph/{path}

Ceph dashboard API proxy

Reverse-proxies to the Ceph dashboard with a minted Ceph token; GET/HEAD need STORAGE_VIEW, writes need STORAGE_MANAGE, OPTIONS is an unauthenticated CORS preflight.

Parameters:
  • path (string) – Ceph dashboard API path

Status Codes:
PUT /ceph/{path}

Ceph dashboard API proxy

Reverse-proxies to the Ceph dashboard with a minted Ceph token; GET/HEAD need STORAGE_VIEW, writes need STORAGE_MANAGE, OPTIONS is an unauthenticated CORS preflight.

Parameters:
  • path (string) – Ceph dashboard API path

Status Codes:
GET /health/cephproxy

Ceph dashboard proxy health

Returns the Ceph dashboard proxy health status with 200 when healthy and 503 when not; on a node where the proxy did not initialize, DisabledHealthHandler serves this path and always returns 503.

Status Codes:
Response JSON Object:
  • auto_repair_enabled (boolean)

  • dashboard (any) – task #215: multi-URL topology + self-heal visibility. Fields are omitempty so the pre-discovery and disabled responses stay clean.

  • enabled (boolean) – false on nodes where cephproxy didn’t init

  • exporter.host (string)

  • exporter.last_probe (string)

  • exporter.status (string) – “UP” | “DOWN”

  • exporter.url (string)

  • prometheus_api_host_setting (string)

  • prometheus_container.host (string)

  • prometheus_container.last_probe (string)

  • prometheus_container.status (string) – “UP” | “DOWN”

  • prometheus_container.url (string)

  • reason (string) – DOWN cause

  • self_heal_actions_last_24h[].action (string) – e.g., “set-prometheus-api-host”

  • self_heal_actions_last_24h[].count (integer) – number of consecutive identical repeats

  • self_heal_actions_last_24h[].new (string)

  • self_heal_actions_last_24h[].old (string)

  • self_heal_actions_last_24h[].result (string) – “ok” or “error: …”

  • self_heal_actions_last_24h[].time (string)

  • status (string) – UP or DOWN

  • upstream (string) – currently active dashboard URL