ceph -s reports HEALTH_OK or HEALTH_WARN noout flag(s) set.noout. this prevents CRUSH from rebalancing the cluster during maintenanceceph osd set noout
17.2.8 currently, after the upgrade you will still be running the old version.apt update
apt full-upgrade
systemctl restart ceph-mon.target
systemctl restart ceph-mgr.target
systemct restart ceph-osd.target
noout flagceph osd unset noout
Thank you very much for the adviceHi. 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 untilceph -sreportsHEALTH_OKorHEALTH_WARN noout flag(s) set.
(optional, but recommended) setnoout. 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 is17.2.8currently, 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 thenooutflag
Once the upgrade process is finished, don't forget to unset the noout flag.
Code:ceph osd unset noout
Notes
- The instructions have been taken from https://pve.proxmox.com/wiki/Ceph_Quincy_to_Reef and adapted
Never ever use apt upgrade on PVE: always useCode:
Code:apt update apt upgrade
apt dist-upgrade or it's synonym apt full-upgrade, as detailed in the docs you linked.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.Never ever use apt upgrade on PVE: always useapt dist-upgradeor it's synonymapt full-upgrade, as detailed in the docs you linked.
That said, if you follow those stepsaptwill update all packages, not just Ceph one's, which isn't what OP asked for. Anapt install ceph-commonshould be enough to upgrade Ceph packages only.
We use essential cookies to make this site work, and optional cookies to enhance your experience.