Member-only story

Ceph Version Upgrade, ver 2

DaeGon Kim
2 min readJan 24, 2024

In one of the previous articles, we addressed Ceph version upgrade. Please see here. At that time, we upgraded from 16.2.13 to 16.2.14. Upgrading a major version was one of the future steps.

Here, we will upgrade from 16.2.7 (Pacific) to 17.2.7 (Quincy). The latest version in the Pacific is 16.2.14. We follow the same steps described in the previous article.

sudo ceph health.  # make sure Ceph is in HEALTH_OK state
sudo ceph versions # check the current version
sudo ceph orch upgrade ls # query available version
# check upgrade version check
sudo ceph orch upgrade check --ceph_version 17.2.7

sudo ceph osd set noout # turn off some osd operations
sudo ceph osd set noscrub. # turn off some osd operations
sudo ceph osd set nodeep-scrub # turn off some osd operations

sudo ceph orch upgrade start --ceph_version 17.2.7 # initiate upgrade
sudo ceph orch upgrade status # check upgrade status

sudo ceph osd unset noout. # turn back on
sudo ceph osd unset noscrub. # turn back on
sudo ceph osd unset nodeep-scrub # turn back on

The upgrade was completed in less than 20 minutes. In this cluster, all the major Ceph components are used: rbd block storage, CephFS and RGW Object storage as well as iSCSI. The total storage is 21 TiB. Out of this, 5 TiB was being used.

In the Ceph cluster, we enabled Ceph Manager Alerts module. We got 9 emails within 19 minutes. From the beginning to the end we got these messages.

HEALTH_WARN (8)

[WARN]…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Responses (1)

Write a response

Hope you are ready to upgrade again to Reef (18.x). The Quincy you just upgraded to goes End of Life in 5 months (June 1st, 2024).
Perhaps consider documenting your pre-upgrade checklist to asses the risk before doing such an upgrade. How you identify deprecated features, configuration changes needed, etc.