Hi Frédéric,

I like that idea.

Regards
Gerard


________________________________
From: Frédéric Nass <frederic.n...@clyso.com>
Sent: 08 August 2025 08:19
To: ceph-users@ceph.io <ceph-users@ceph.io>
Subject: [External] [ceph-users] Display ceph version on ceph -s output

This email originated outside the University. Check before clicking links or 
attachments.

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://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fanalyzer.clyso.com%2F&data=05%7C02%7Chandg%40live.lancs.ac.uk%7C979b9fee851b48b7ff8d08ddd64c27a6%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638902344764319490%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=YujpapAfJL9ExXoeW0IpMd%2Bfwi%2By1JSuKUv6snOfAN4%3D&reserved=0<https://analyzer.clyso.com/>
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclyso.com%2F&data=05%7C02%7Chandg%40live.lancs.ac.uk%7C979b9fee851b48b7ff8d08ddd64c27a6%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C638902344764353201%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=WER2ffS5icP723LQtwIEK1NDG5I6QhHBHhwpJHkHHFE%3D&reserved=0<https://clyso.com/>
 | frederic.n...@clyso.com
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to