cluster_flag_set
Set or clear Ceph maintenance flags (noout, noscrub, nobackfill, norecover) to prepare for host reboots or upkeep; records an undo action to toggle the flag back automatically.
Instructions
[WRITE][risk=medium] Set/unset a cluster flag (noout/nobackfill/norecover/noscrub…).
Heavily used before maintenance (e.g. set noout while rebooting a host). Reversible — records an undo that toggles the flag back.
Args: flag: Flag name, e.g. "noout", "noscrub", "nobackfill", "norecover". enable: True to set the flag, False to clear it. target: Ceph target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flag | Yes | ||
| enable | No | ||
| target | No |