Le vendredi 8 août 2025, 09:19:51 heure d’été d’Europe centrale Frédéric Nass a écrit :
Dear community,
Some time ago, I wondered why the Ceph version didn't show up in the ceph status (ceph -s) output. Perhaps it was because a Ceph cluster could run multiple versions at once (during an upgrade for example) and this information wasn't centralized, before the 'ceph versions' command was introduced.
Regardless, I think it would be a great addition to have the Ceph version displayed in the ceph status. It could look something like this below.
On a cluster where all daemons are on version 18.2.7:
$ ceph -s cluster: version: 18.2.7 id: f4147dec-4c5d-11f0-a310-bc24113b5ce1 health: HEALTH_OK
On a cluster that is currently being upgraded from 18.2.4 to 18.2.7:
$ ceph -s cluster: version: 18.2.7 (432), 18.2.4 (248) <----- Could be refined. For example (3 MONs, 3 MGRs, 426 OSDs) until all daemons are on the same version. id: f4147dec-4c5d-11f0-a310-bc24113b5ce1 health: HEALTH_WARN
Let me know if you like the idea and I'll create a tracker.
Best regards, Frédéric.
-- Frédéric Nass Ceph Ambassador France | Senior Ceph Engineer @ CLYSO Try our Ceph Analyzer -- https://analyzer.clyso.com/ https://clyso.com | frederic.nass@clyso.com
Hello all ! Jumping on the bandwagon concerning ceph CLI. Yes, having version(s) info will be great. Also, I wish we have an option, like the `-w` but different : just showing ceph status (-s) continuously, with refresh. A bit like what I use, but integrated, and perhaps better : I actually use `watch ceph -s` a lot. Regards, -- Gilles