cluster_flag_set
Set or clear Ceph cluster flags like noout, nobackfill, or noscrub before maintenance. Supports undo for safe reversibility.
Instructions
[WRITE][risk=low] 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 |