Preparations
Before starting the upgrades you should realle make Make sure you run the cluster with octupus features before starting this upgrade:
Code Block |
---|
# ceph osd dump | grep require_osd_release require_osd_release nautilus # ceph osd require-osd-release octopus # ceph osd dump | grep require_osd_release require_osd_release octopus |
Also make sure that all your OSD's are bluestore as filestore is deprecated in Quincy:
Code Block |
---|
root@cephmon1:~# ceph osd metadata | grep osd_objectstore | sort | uniq -c
27 "osd_objectstore": "bluestore", |
Starting the upgrade
To start the upgrade you should:
- Set the following key in hiera:
ceph::params::release: 'quincy'
Check out the ceph-Q related puppet-env.
Monitors
- apt-get dist-upgrade the ceph-mons
- Restart ceph-mon services as you go.
Storage-nodes
Quincy needs 20.04 or newer; so if your storage-nodes are 18.04 you should plan for a reinstallation of them.
- Upgrade storage-nodes
- Restart ceph-osd's on one node at a time.
- When all storage-nodes are upgraded you can run:
- ceph osd require-osd-release quincy
Clients
- Upgrade radosgw's
- Reboot the radsgw's afterwards.
- Upgrade compute-nodes
- Reboot the compute-nodes afterwards to make sure all VM's use the new client.