pve_ceph_cmd_safety
Checks Ceph's heuristic for safe stop or destroy of mon/mds/osd instances. Returns safe boolean and optional reason.
Instructions
READ-ONLY: Ceph's own heuristic advisory on whether it is currently safe to stop or destroy a mon/mds/osd instance. ADVISORY ONLY — never a gate: a plan citing this result must still render when Ceph itself is unreachable/unhealthy (an unreachable check becomes an honest "cmd-safety unavailable" note, never a fabricated safe=true).
GET /nodes/{node}/ceph/cmd-safety?action=&service=&id=. Smoke-confirm: shape not live-verified — expected {safe: bool, status?: str} per schema truth (status is the human-readable reason when NOT safe; absent when Ceph returned no message).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | PVE node name to query; defaults to the configured node if omitted. | |
| action | Yes | Action to check: 'stop' or 'destroy'. | |
| service | Yes | Service type: 'osd', 'mon', or 'mds'. | |
| service_id | Yes | ID of the service instance to check (e.g. an OSD number, or a mon/mds name). | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |