Ceph Squid to Tentacle upgrade pre-check: ceph orch upgrade check
ceph orch upgrade check pulls the Tentacle image and checks only version compatibility. Verify mgr count, key type, CephFS max_mds and removed modules too.
$ ceph orch upgrade check --ceph-version 20.2.5ceph orch upgrade check does not start an upgrade. It fetches the target image and checks only version compatibility and which daemons would change. Run it before upgrading from Squid (19.2) to Tentacle 20.2.5, then cover what it does not check (mgr count, key type, CephFS, removed modules) with steps [3] to [6].
[1] Read the result of the check. What the source does ([module.py L3613-L3669, v19.2.7](https://github.com/ceph/ceph/blob/v19.2.7/src/pybind/mgr/cephadm/module.py#L3613-L3669)):
- If any host is in maintenance, it stops with
check aborted - you have hosts in maintenance state. --ceph-version 20.2.5becomescontainer_image_base(defaultquay.io/ceph/ceph) plus:v20.2.5. It inspects that image on one host and pulls it there if missing ([serve.pyL1740-L1773, v19.2.7](https://github.com/ceph/ceph/blob/v19.2.7/src/pybind/mgr/cephadm/serve.py#L1740-L1773)). It does not test whether other hosts can reach the registry.- On a version mismatch it returns
Incompatible upgrade: …as normal output, not as a command failure. Read the output, not the exit code. - On success it prints JSON with
target_version,needs_update(daemons to change and their current version),up_to_dateandnon_ceph_image_daemons. It does not look at PG state.
[2] Check the two values the version gate uses. cephadm refuses when the current major is 3 or more below the target, or when min_mon_release or require_osd_release is below the target (20) minus 2, which is 18 (reef) ([upgrade.py L271-L305, v19.2.7](https://github.com/ceph/ceph/blob/v19.2.7/src/pybind/mgr/cephadm/upgrade.py#L271-L305)).
$ ceph mon dump | grep min_mon_release$ ceph osd dump | grep require_osd_releaseOn a cluster that finished its Squid upgrade, both are normally squid. A value such as quincy means the final step of an earlier upgrade was skipped; see step [4] of Ceph Reef 18.2 end of life: what to upgrade to.
[3] Confirm at least two mgr daemons are running. ceph orch upgrade start refuses with Need at least 2 running mgr daemons for upgrade when fewer than two are running ([upgrade.py L412-L413, v19.2.7](https://github.com/ceph/ceph/blob/v19.2.7/src/pybind/mgr/cephadm/upgrade.py#L412-L413)). The UPGRADE_NO_STANDBY_MGR section of the cephadm upgrade docs describes the same condition.
$ ceph orch ps --daemon-type mgr$ ceph orch ls --service-type mgr --export > mgr.yamlIf only one mgr runs, add another. First save the current placement spec with the second line above. ceph orch apply mgr 2 builds a new spec from the placement given on the command line alone (orch apply in [orchestrator/module.py, v19.2.7](https://github.com/ceph/ceph/blob/v19.2.7/src/pybind/mgr/orchestrator/module.py)), so if mgr.yaml pins hosts or a label, that pinning is lost and a mgr may land on a host you did not intend.
- If the spec's
placementholds onlycountor is empty: useceph orch apply mgr 2as in the docs (do not run it with three or more mgrs, as it would lower the count). - If it has
hostsorlabel: as the services docs describe, edit a copy ofmgr.yamlso it yields two or more, preview withceph orch apply -i <edited file> --dry-run, then apply without--dry-run.
To revert, re-apply the saved original: ceph orch apply -i mgr.yaml.
[4] Set the target to 20.2.5 and read the key procedure. The Tentacle notes warn you to review the Critical Upgrade Steps before upgrading from Reef or Squid to 20.2.4 or later. Before you start, read both sets of steps they link to: CVE-2025-30156 and CVE-2026-54330. The Important box in the Tentacle release notes warns that going from Squid 19.2.6 to a Tentacle release earlier than 20.2.4 may fail: after the key type change, Tentacle daemons older than 20.2.4 fail to start. The notes add that the Managers may upgrade while the rest do not, and that the only way out is to redeploy the Managers with the previous image and start over. So never pass a release below 20.2.4 to --image or --ceph-version. The CVE-2025-30156 page says cephadm automates daemon key rotation except for client keys, and that six new health warnings and errors during the upgrade are normal. For the client side, see AUTH_INSECURE_CLIENT_KEY_TYPE and aes256k.
[5] If you run CephFS, decide how MDS daemons are handled. By default cephadm lowers max_mds to 1, upgrades the MDS daemons and then restores the original value. The docs warn this can be disruptive on large CephFS deployments and offer fail_fs instead. Setting it to true fails the file systems so all MDS daemons drop to standby before the upgrade, which means the file system is unavailable during that time.
$ ceph config get mgr mgr/orchestrator/fail_fs$ ceph health detailThe step that lowers max_mds can be refused while MDS-reported warnings are present. Clear MDS warnings such as MDS_SLOW_REQUEST before you start. The reason and source are in max_mds and --yes-i-really-mean-it.
[6] Check for mgr modules that disappear. Tentacle 20.2.0 removed the restful and zabbix modules. See whether they are enabled, and for migration see mgr restful module removed.
$ ceph mgr module ls[7] Finally, check cluster state and start. The Tentacle conditions (no down, recovering, incomplete, undersized or backfilling PGs), PG autoscaling and the start and stop commands are the same as steps [4] to [6] of Ceph Squid EOL: check ceph versions. Per the Tentacle notes, once started there is no way to downgrade back to Reef or Squid.
Pausing an upgrade for a long time keeps versions mixed. According to the health checks docs, DAEMON_OLD_VERSION is raised when mixed versions last longer than mon_warn_older_version_delay (one week by default). If the pause is deliberate, mute it as the docs show, and always unmute when the upgrade is done:
$ ceph health mute DAEMON_OLD_VERSION --sticky$ ceph health unmute DAEMON_OLD_VERSION