Bug 1593460 - collectd-5.8.0 has a regression breaking udev support for disk plugin [patch provided]
Summary: collectd-5.8.0 has a regression breaking udev support for disk plugin [patch ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: collectd
Version: 27
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ruben Kerkhof
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-20 22:42 UTC by Stewart Adam
Modified: 2018-11-13 04:15 UTC (History)
7 users (show)

Fixed In Version: collectd-5.8.1-1.fc29 collectd-5.8.1-1.fc28 collectd-5.8.1-1.el7
Clone Of:
Environment:
Last Closed: 2018-11-13 02:20:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Stewart Adam 2018-06-20 22:42:02 UTC
Description of problem:
The disk plugin has udev support which permits the use of UdevNameAttr to direct collectd on what property should be used to index disks. This is required to avoid relative devnodes (e.g. 'sda') and/or to avoid duplicate network transmits of the same data: https://github.com/collectd/collectd/issues/823

collectd-5.8.0 has a regression which breaks udev detection in the disk plugin even if collectd is build with it. A patch is available upstream.


Version-Release number of selected component (if applicable):
collectd-5.8.0-3.fc27.x86_64

How reproducible:
Always

Steps to Reproduce:
1. dnf install collectd
2. Configure 'UdevNameAttr "ID_SERIAL"' for the disk plugin
3. Note in the logs: disk plugin: The "UdevNameAttr" option is only supported if collectd is built with libudev support

Actual results:
Disks statistics are sent under their /dev/sdN node, and 'disk plugin: The "UdevNameAttr" option is only supported if collectd is built with libudev support' appears in the logs

Expected results:
Disks statistics are sent using their serial number, no udev warnings in the logs

Additional info:
Patch available: https://github.com/collectd/collectd/issues/2651

Comment 1 Bruno Lavoie 2018-09-12 00:25:21 UTC
Hello,

Any way to know when it will be fixed for EPEL?

I need to use UdevNameAttr in collectd disk plugin and get this message:
disk plugin: The "UdevNameAttr" option is only supported if collectd is built with libudev support

Seems to be fixed upstream...
Thanks

Comment 2 Fedora Update System 2018-10-24 15:28:44 UTC
collectd-5.8.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-1bd85ceb2c

Comment 3 Fedora Update System 2018-10-24 15:28:53 UTC
collectd-5.8.1-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b61ee55c91

Comment 4 Fedora Update System 2018-10-24 15:28:59 UTC
collectd-5.8.1-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ef4a59e362

Comment 5 Fedora Update System 2018-10-25 15:37:33 UTC
collectd-5.8.1-1.fc29 has been pushed to the Fedora 29 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-b61ee55c91

Comment 6 Fedora Update System 2018-10-25 22:35:27 UTC
collectd-5.8.1-1.fc28 has been pushed to the Fedora 28 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-ef4a59e362

Comment 7 Fedora Update System 2018-10-25 23:10:46 UTC
collectd-5.8.1-1.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-1bd85ceb2c

Comment 8 Fedora Update System 2018-11-13 02:20:05 UTC
collectd-5.8.1-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2018-11-13 02:26:21 UTC
collectd-5.8.1-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2018-11-13 04:15:59 UTC
collectd-5.8.1-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.