Hi, I like this idea a lot, I always check 'ceph versions' during an upgrade anyway, more out of curiosity than anything else. But that way I wouldn't need to switch to one more terminal tab. ;-) Thanks! Eugen Zitat von Frédéric Nass <frederic.nass@clyso.com>:
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 _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io