Project

General

Profile

Feature #6506

Show running ceph version in "ceph osd tree"

Added by Kyle Bader over 10 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Monitor
Pull request ID:

Description

It would be incredibly handy to be able to see the running ceph version in the output of "ceph osd tree". I spoke with Sam Just and he indicated that it would be relatively easy to implement since the monitors already have that information.

History

#1 Updated by Greg Farnum over 10 years ago

Are you looking for the software version each OSD is running, or the version of the monitor you're connected to?

#2 Updated by Kyle Bader over 10 years ago

The version that each OSD is running

#3 Updated by Dan Mick over 10 years ago

I don't know that the monitors do have that information. The OSDs do, via the
compiled-in magic version string, stamped in at make time. I don't see any likely candidates in OSDMap.

This is not to say it couldn't be added to OSDMap, I suppose, if that's the right place
for such info, but I'm tempted to say this might be better correlated in the querying
app.

It's also worth pointing out that "ceph tell osd.* version" works:

osd.0: { "version": "ceph version 0.69-465-gd3ba8da (d3ba8da597384516c85a9af928971a585843aeb4)"}
osd.1: { "version": "ceph version 0.69-465-gd3ba8da (d3ba8da597384516c85a9af928971a585843aeb4)"}

#4 Updated by Ian Colle over 10 years ago

  • Tracker changed from Bug to Feature

#5 Updated by Kyle Bader over 10 years ago

If the monitors don't already have the information can you think of a reason why it wouldn't be a good idea for 'ceph osd tree' to make a call for each OSD using the same method used by 'ceph osd tell'?

Maybe OSD tree isn't the best place for this to live but it would really be nice to be able to see versions in relation to the crush map.

#6 Updated by Patrick Donnelly about 5 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (ceph cli)
  • Component(RADOS) Monitor added

Also available in: Atom PDF