Skip to main content

Command Palette

Search for a command to run...

Ceph Reef to Squid Upgrade

Updated
2 min read
Ceph Reef to Squid Upgrade

In this article I will show you how to upgrade the Ceph version from Reef to Squid using Cephadm. A version upgrades is performed if the cluster has bugs and the bug has been fixed in the latest version, it can also be if there are new features in the latest version. I use Cephadm to upgrade the Ceph version automatically.

So, let's get started…

Ceph Environment

Hostname at-ceph-aio
Operating System Ubuntu 22.04 (Jammy)
vCPU 8
Memory 12 GB
Disk 1 40 GB
Disk 2 20 GB
Disk 3 20 GB
DIsk 4 20 GB
Internal Network 10.10.11.0/24
Internal IP Address 10.10.11.21

Ceph Upgrade

  1. Check ceph cluster
ceph -s
ceph versions
ceph orch ps
  1. Ceph upgrade
ceph orch upgrade start --ceph-version 19.2.0
  1. Monitoring upgrade process
ceph orch upgrade status
ceph -W cephadm

Operational Test

  1. Ceph verification
ceph -s
ceph versions
ceph orch ps
  1. Ceph operational test
echo "MANTAP" > mantap.txt
rados put object-mantap mantap.txt --pool=pool-test
rm mantap.txt
rados ls --pool=pool-test
rados get object-mantap mantap.txt --pool=pool-test
  1. Openstack operational test
openstack server create --image cirros-0.5.2-image --flavor tiny --key-name at-openstack-aio-key --network internal-net --security-group allow-all vm-cirros-cephsquid

References