ceph / ceph-medic

find common issues in ceph clusters
MIT License
22 stars 18 forks source link

checks: version check of running daemons #65

Closed haklein closed 6 years ago

haklein commented 7 years ago

The version comparison check should also take the running version into account (daemons might not have been restarted after rpm upgrade). The asok could be used to gather the version of the running daemons:

# ceph --admin-daemon /var/run/ceph/ceph-osd.0.asok version
{"version":"10.2.7-27.el7cp"}
# ceph --admin-daemon /var/run/ceph/ceph-mon.rdh-cu-8.asok version
{"version":"10.2.7-27.el7cp"}
# ceph --admin-daemon /var/run/ceph/ceph-client.rgw.rdh-cu-8.asok version
{"version":"10.2.7-27.el7cp"}