pve_ceph_flags_set
Set or unset multiple Ceph cluster flags on Proxmox VE with a single call. Dry-run by default, execute with confirmation to control OSD, scrub, recovery, and I/O behavior.
Instructions
MUTATION: set/unset multiple Ceph cluster flags at once (bulk).
RISK_MEDIUM: flag semantics vary — 'pause' halts ALL client I/O cluster-wide; 'noout'/ 'noscrub'/etc. are routine maintenance toggles. Each flag is TRI-STATE: True sets it, False unsets it, omitted (None, the default for every param) leaves it untouched. CAPTURE-or- declare: reads current flag values before planning (also readable directly via pve_ceph_flags_list/pve_ceph_flag_get); if unreadable -> complete=False. Runs as a worker task (ASYNC, per schema truth) — dry-run by default (returns a PLAN); confirm=True executes (PUT /cluster/ceph/flags) and returns {"status": "ok"|"submitted", "result": <UPID | None>}. No rollback primitive on this plane — revert by re-applying the captured prior values with this same tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noin | No | True keeps previously-out OSDs from being marked back in on start; False resumes normal marking; omit to leave untouched. | |
| noup | No | True prevents OSDs from starting; False allows them to start; omit to leave untouched. | |
| noout | No | True stops OSDs from being auto-marked out after the configured interval; False resumes normal marking; omit to leave untouched. | |
| pause | No | True PAUSES reads and writes cluster-wide (halts ALL client I/O); False resumes; omit to leave untouched. | |
| nodown | No | True makes monitors ignore OSD failure reports (won't mark OSDs down); False resumes normal marking; omit to leave untouched. | |
| confirm | No | False (default) returns a dry-run PLAN only; True executes the change. | |
| noscrub | No | True disables (light) scrubbing; False re-enables it; omit to leave untouched. | |
| norecover | No | True suspends PG recovery; False resumes it; omit to leave untouched. | |
| nobackfill | No | True suspends PG backfilling; False resumes it; omit to leave untouched. | |
| norebalance | No | True suspends PG rebalancing; False resumes it; omit to leave untouched. | |
| notieragent | No | True suspends cache-tiering activity; False resumes it; omit to leave untouched. | |
| nodeep_scrub | No | True disables deep scrubbing; False re-enables it; omit to leave untouched. | |
| 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 |