pve_ceph_flag_set
Sets or clears a single Ceph cluster flag on a Proxmox node. Returns a dry-run plan by default; use confirm=True to execute the change synchronously.
Instructions
MUTATION: set or clear a single Ceph cluster flag. Runs SYNCHRONOUSLY (unlike the bulk pve_ceph_flags_set, which forks a worker task) — PVE returns null.
RISK_MEDIUM: flag semantics vary — 'pause' halts ALL client I/O cluster-wide; other flags are routine maintenance toggles. CAPTURE-or-declare: reads the flag's current value before planning (also readable directly via pve_ceph_flag_get); if unreadable -> complete=False. Dry-run by default (returns a PLAN); confirm=True executes (PUT /cluster/ceph/flags/{flag}) and returns {"status": "ok", "result": None}. No rollback primitive on this plane — revert by re-applying the captured prior value with this same tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | Flag name: one of nobackfill, nodeep-scrub, nodown, noin, noout, norebalance, norecover, noscrub, notieragent, noup, pause. | |
| value | Yes | True sets the flag; False clears (unsets) it. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the change. | |
| 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 |