Skip to main content
RunBook Academy

← All runbooks in Ceph

critical riskdata loss risk~120 min

Roll back a failed upgrade

1 · Prerequisites

Confirm every item is in place before any state change.

  • A recent upgrade introduced an issue
  • The cluster is still HEALTH_OK or HEALTH_WARN
  • A rollback is needed

2 · Pre-checks

Read-only diagnostic commands. If any of these don't match expected output, stop and investigate further.

  • · ceph versions shows the current state
  • · ceph -s shows the cluster health
  • · The release notes for the prior version are available

3 · Procedure

Execute each step in order. Verify the expected output of a step before moving to the next.

  1. 1Stop the upgrade: ceph orch upgrade stop
  2. 2Initiate the downgrade: ceph orch upgrade start --ceph-version <prior>
  3. 3Verify the downgrade: ceph versions
  4. 4If downgrade is impossible: do NOT proceed; plan a forward fix
  5. 5Verify the cluster: ceph -s, ceph health detail
  6. 6Validate the application

4 · Verification

Confirm the procedure actually fixed the problem.

  • All roles are on the prior version
  • Cluster is HEALTH_OK
  • Application I/O is normal

5 · Rollback

If verification fails, undo the procedure in reverse order.

  • If the cluster cannot roll back: do NOT force the downgrade; plan forward
  • If modules need re-enabling: ceph mgr module enable <module>
  • If monitor state is stale: restore the MON store from backup

6 · Escalation

When the runbook isn't enough, contact:

  • · Storage team
  • · Vendor support
  • · Disaster recovery team

Roll back a failed upgrade

This runbook covers Roll back a failed upgrade on a Ceph Tentacle cluster.

When to use

  • Active production scenario matching the impact (data-loss-risk)
  • The prerequisites are met

Prerequisites

Before starting this runbook, verify each prerequisite has been met. If a prerequisite is not met, resolve it first or escalate.

  • A recent upgrade introduced an issue
  • The cluster is still HEALTH_OK or HEALTH_WARN
  • A rollback is needed

Pre-checks

Collect evidence before taking action. Evidence is the proof the runbook worked.

# ceph versions shows the current state
# ceph -s shows the cluster health
# The release notes for the prior version are available

Procedure

Step 1

Stop the upgrade: ceph orch upgrade stop

Step 2

Initiate the downgrade: ceph orch upgrade start —ceph-version <prior>

Step 3

Verify the downgrade: ceph versions

Step 4

If downgrade is impossible: do NOT proceed; plan a forward fix

Step 5

Verify the cluster: ceph -s, ceph health detail

Step 6

Validate the application

Verification

After completing the procedure, verify the result:

# All roles are on the prior version
# Cluster is HEALTH_OK
# Application I/O is normal

Rollback

If the procedure does not produce the expected verification, roll back:

  • If the cluster cannot roll back: do NOT force the downgrade; plan forward
  • If modules need re-enabling: ceph mgr module enable <module>
  • If monitor state is stale: restore the MON store from backup

Escalation

If you cannot roll back or the rollback fails, escalate:

  • Storage team
  • Vendor support
  • Disaster recovery team

References

  1. Ceph documentation