Bug 1516285
Summary: | collectd ceph plugin crashes | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Matthias Runge <mrunge> |
Component: | collectd | Assignee: | Matthias Runge <mrunge> |
Status: | CLOSED ERRATA | QA Contact: | Leonid Natapov <lnatapov> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 13.0 (Queens) | CC: | apannu, jbadiapa, jschluet, mmagr, mrunge, rmccabe |
Target Milestone: | Upstream M1 | Keywords: | Triaged |
Target Release: | 13.0 (Queens) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | collectd-5.8.0-1.1.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-27 13:08:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1558015 | ||
Bug Blocks: |
Description
Matthias Runge
2017-11-22 12:17:45 UTC
There is a commit message in collect-5.8: https://github.com/collectd/collectd/commit/647ac31bf9db60b1685d6d8d25be65375ba85891#diff-20b37368527caaa7f0318870e8cefd51 """ This patch is not backward compatible with previous ceph versions. """ It seems, the crash only happens, when the option ConvertSpecialMetricTypes is set to true. Explicitly setting it to false, makes the plugin work even with older ceph releases. Proposed fix usptream: https://github.com/collectd/collectd/commit/de05fb53fad6bc998f585b704ca0caeadc14a035 Please,provide instructions how to test/configure Thank you, https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_ceph In my case, the ceph config file looks like: <LoadPlugin ceph> Globals false </LoadPlugin> <Plugin "ceph"> LongRunAvgLatency false ConvertSpecialMetricTypes false <Daemon "osd.0"> SocketPath "/var/run/ceph/ceph-osd.0.asok" </Daemon> </Plugin> You'd probably need to figure out, where your ceph*.asok is stored. and tons of ceph related metrics will show up in grafana, all beginning with "ceph_" [2018-05-30 07:00:39] plugin_load: plugin "ceph" successfully loaded. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:2084 |