Update ceph Quincy

DEZERTIR

New Member
Aug 28, 2025
10
1
3
Hello. Can you tell me how to upgrade Ceph Quincy from 17.2.7 to 17.2.8 on Proxmox VE 8.4.1 without downtime? Is there a comprehensive guide on upgrading a minor version?
 
Last edited:
Hi. A normal package update and restarting of services afterwards should suffice. Most of the instructions below have been taken from https://pve.proxmox.com/wiki/Ceph_Quincy_to_Reef and adapted, see that for more details on specifics.

After each operation wait until ceph -s reports HEALTH_OK or HEALTH_WARN noout flag(s) set.

(optional, but recommended) set noout. this prevents CRUSH from rebalancing the cluster during maintenance

Code:
ceph osd set noout

Upgrade the ceph version

Upgrade ceph on all nodes to the latest version, for Proxmox VE 8 this is 17.2.8 currently, after the upgrade you will still be running the old version.

Code:
apt update
apt full-upgrade

Restart the monitor daemon

Do that one node at a time

Code:
systemctl restart ceph-mon.target

Restart the manager daemons on all nodes

Code:
systemctl restart ceph-mgr.target

Restart the OSD daemon on all nodes

Restart all OSDs. Only restart OSDs on one node at a time to avoid loss of data redundancy. To restart all OSDs on a node, run the following command:

Code:
systemct restart ceph-osd.target

Unset the noout flag

Once the upgrade process is finished, don't forget to unset the noout flag.

Code:
ceph osd unset noout

Notes
 
Last edited:
  • Like
Reactions: DEZERTIR
Hi. A normal package update and restarting of services afterwards should suffice. Most of the instructions below have been taken from https://pve.proxmox.com/wiki/Ceph_Quincy_to_Reef and adapted, see that for more details on specifics.

After each operation wait until ceph -s reports HEALTH_OK or HEALTH_WARN noout flag(s) set.

(optional, but recommended) set noout. this prevents CRUSH from rebalancing the cluster during maintenance

Code:
ceph osd set noout

Upgrade the ceph version

Upgrade ceph on all nodes to the latest version, for Proxmox VE 8 this is 17.2.8 currently, after the upgrade you will still be running the old version.

Code:
apt update
apt upgrade

Restart the monitor daemon

Do that one node at a time

Code:
systemctl restart ceph-mon.target

Restart the manager daemons on all nodes

Code:
systemctl restart ceph-mgr.target

Restart the OSD daemon on all nodes

Restart all OSDs. Only restart OSDs on one node at a time to avoid loss of data redundancy. To restart all OSDs on a node, run the following command:

Code:
systemct restart ceph-osd.target

Unset the noout flag

Once the upgrade process is finished, don't forget to unset the noout flag.

Code:
ceph osd unset noout

Notes
Thank you very much for the advice
 
Code:
Code:
apt update
apt upgrade
Never ever use apt upgrade on PVE: always use apt dist-upgrade or it's synonym apt full-upgrade, as detailed in the docs you linked.
That said, if you follow those steps apt will update all packages, not just Ceph one's, which isn't what OP asked for. An apt install ceph-common should be enough to upgrade Ceph packages only.
 
  • Like
Reactions: gurubert
Never ever use apt upgrade on PVE: always use apt dist-upgrade or it's synonym apt full-upgrade, as detailed in the docs you linked.
That said, if you follow those steps apt will update all packages, not just Ceph one's, which isn't what OP asked for. An apt install ceph-common should be enough to upgrade Ceph packages only.
You are right, I'll fix the original answer.
 
Last edited:
  • Like
Reactions: VictorSTS