Bug 1531596

Summary: segfault collectd/collectd-ceph plugin
Product: [Fedora] Fedora EPEL Reporter: f1outsourcing <info>
Component: collectdAssignee: Ruben Kerkhof <ruben>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: gregswift, jskarvad, kevin, mail, mhlavink, ruben
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: collectd-5.8.0-3.fc27 collectd-5.8.0-3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-18 01:22:42 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:

Description f1outsourcing 2018-01-05 15:46:59 UTC
Description of problem:
collectd crashes when having a configured collectd-ceph plugin


Version-Release number of selected component (if applicable):
collectd-5.8.0-1.el7.x86_64
collectd-ceph-5.8.0-1.el7.x86_64

How reproducible:
[root@c01 collectd.d]# cat ceph.conf

LoadPlugin ceph

<Plugin ceph>
   LongRunAvgLatency false
   ConvertSpecialMetricTypes true
  <Daemon "osd.3">
    SocketPath "/var/run/ceph/ceph-osd.3.asok"
  </Daemon>
</Plugin>


Steps to Reproduce:
1. configure the ceph module
2. load the ceph moodule
3. start collectd

Actual results:
Dec 31 21:58:15 c01 collectd: plugin_load: plugin "ceph" successfully loaded.
Dec 31 21:58:15 c01 kernel: reader#2[4534]: segfault at 0 ip 00007f75d3ac28dd sp 00007f75c9ffa6b0 error 4 in ceph.so[7f75d3ac1000+5000]
Dec 31 21:58:15 c01 collectd: plugin_load: plugin "ceph" successfully loaded.
Dec 31 21:58:15 c01 kernel: reader#2[4534]: segfault at 0 ip 00007f75d3ac28dd sp 00007f75c9ffa6b0 error 4 in ceph.so[7f75d3ac1000+5000]
Dec 31 21:58:15 c01 collectd: plugin_load: plugin "ceph" successfully loaded.
Dec 31 21:58:15 c01 collectd: plugin_load: plugin "ceph" successfully loaded.
Dec 31 21:58:15 c01 kernel: reader#3[4549]: segfault at 0 ip 00007f52f33688dd sp 00007f52e97f96b0 error 4 in ceph.so[7f52f3367000+5000]
Dec 31 21:58:15 c01 kernel: reader#3[4549]: segfault at 0 ip 00007f52f33688dd sp 00007f52e97f96b0 error 4 in ceph.so[7f52f3367000+5000]

Expected results:


Additional info:

seems to be fixed already, but it is not packaged in the epel release

https://github.com/collectd/collectd/issues/2639
https://github.com/collectd/collectd/commit/de05fb53fad6bc998f585b704ca0caeadc14a035

Comment 1 f1outsourcing 2018-01-05 17:57:13 UTC
Would be nice if I can finaly start monitoring the ceph luminous cluster with collectd. I can't imagine that I am the only one doing this.

Comment 2 Fedora Update System 2018-04-05 19:17:42 UTC
collectd-5.8.0-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-50d5b037d7

Comment 3 Fedora Update System 2018-04-05 19:17:55 UTC
collectd-5.8.0-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-b833aeaa28

Comment 4 Fedora Update System 2018-04-06 16:13:36 UTC
collectd-5.8.0-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-b833aeaa28

Comment 5 Fedora Update System 2018-04-06 17:17:32 UTC
collectd-5.8.0-3.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-50d5b037d7

Comment 6 Fedora Update System 2018-04-18 01:22:42 UTC
collectd-5.8.0-3.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2018-04-24 07:34:48 UTC
collectd-5.8.0-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.