Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Ceph Automation · Storage Automation

Direct answer

Ceph automation deploys and manages clusters with cephadm or Rook, creates pools, RBD images and CephFS, and checks health with ceph -s and ceph health detail in scripts.

When to use this

Use this when automating Ceph deployment and changes with cephadm or Rook.

First 30 seconds

1. Ceph automation: cephadm/Rook/pveceph/Ansible.

2. Health gates before and after.

3. One change at a time.

4. Dry runs.

5. Wait for HEALTH_OK.

Operational verification

automation → Ceph orchestrator → cluster → health

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Ceph storage automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCeph storage automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when automating Ceph deployment and changes with cephadm or Rook.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verify Ceph automation with task completion, daemon map and workload recovery Verify boundary

Verify a bounded Ceph automation change by expecting the orchestrator task to reach a terminal success state and the intended daemon or service map to reflect the requested ownership. Wait for the documented PG and health conditions, then confirm affected pools report expected availability and no unexpected recovery backlog. Repeat a representative client read/write and compare latency/error rate with baseline. HEALTH_OK shows cluster health checks are clear, but it does not show every client path or application workload is healthy.

Step 2 Branch Ceph automation faults at admission, orchestrator task, daemon state and PG convergence Narrow the fault

If a Ceph automation request is rejected, inspect cluster health prerequisites and command validation. If the task status is Failed, preserve the error before retrying. If accepted but the orchestrator task stalls, inspect task events and target host/daemon reachability. If daemon changes complete but health stays WARN or ERR, identify the exact health check and affected PG/OSD before retrying. If PGs converge but workload latency remains abnormal, move to client/network/backend evidence. Track one task ID and cluster FSID through the entire operation.

Step 3 Common mistakes Narrow the fault
  • Changing Ceph while not HEALTH_OK.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • cephadm or Rook deploy and manage Ceph.
  • Check health before and after changes.
  • Pools, RBD and CephFS are created by automation.
Key checks
  • ceph orch apply osd --all-available-devices --dry-run — cephadm preview
  • ceph osd pool create <p>; ceph osd pool application enable <p> rbd — pool
  • ceph -s — health gate
ReferenceWhy it matters1 section · depth on demand

Ceph automation spans cluster maps, daemon orchestration and asynchronous recovery

Ceph Automation changes desired cluster state while MON, MGR, OSD and placement-group state converge asynchronously. The orchestrator owns task progress and depends on daemon, host and cluster-map boundaries. A command accepted by the manager does not show placement groups are clean or client I/O is healthy. Automation must anchor cluster FSID, daemon or host identity, pool name and the health state before and after the change. Recovery/backfill can be expected transitional work rather than failure, so the workflow needs explicit terminal criteria instead of only command return codes.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Ceph automation deploys and operates Ceph clusters — monitors, managers, OSDs, pools, RBD images, CephFS — with cephadm, Rook (Kubernetes) or configuration management. Because Ceph is distributed and self-healing, automation must respect cluster health before and during changes.

ceph orch apply osd --all-available-devices
ceph osd pool create vm-pool 128 128 replicated
ceph osd pool application enable vm-pool rbd
rbd create vm-pool/app01-disk --size 50G
ceph health detail
ceph osd set noout          # before planned host maintenance
ceph osd unset noout

Gate every automated change on HEALTH_OK (or understood warnings), change one failure domain (host) at a time, and wait for recovery to finish between steps — rebooting a second host during recovery can make data unavailable.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCeph storage automation current

Authoritative/upstream documentation reviewed for bounded claims in Storage Automation > Ceph Automation. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://docs.ceph.com/en/latest/ · confidence 94%
Confirmation

Confirm action

Continue?