Bug 2038881 - collectd-virt plugin doesn't send metrics
Summary: collectd-virt plugin doesn't send metrics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: collectd
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 16.2 (Train on RHEL 8.4)
Assignee: Emma Foley
QA Contact: Leonid Natapov
Joanne O'Flynn
URL:
Whiteboard:
Depends On:
Blocks: 2015543
TreeView+ depends on / blocked
 
Reported: 2022-01-10 12:54 UTC by alisci
Modified: 2023-08-26 11:39 UTC (History)
14 users (show)

Fixed In Version: collectd-5.11.0-10.el8ost
Doc Type: Bug Fix
Doc Text:
Libvirt was updated and as a result provides more metrics. Due to API changes, collectd was incompatible, resulting in a potential application crash. With this update, collectd was adjusted to provide hugepage usage via the virt plugin. The hugepages metric is exposed via the virt plugin and collectd was adjusted to match the API changes so that the application no longer crashes when pulling the virt metrics.
Clone Of:
Environment:
Last Closed: 2022-06-22 16:03:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-12075 0 None None None 2022-01-10 12:55:19 UTC
Red Hat Product Errata RHBA-2022:4793 0 None None None 2022-06-22 16:03:57 UTC

Description alisci 2022-01-10 12:54:18 UTC
Description of problem:
it seems the same of BZ 2015543 but on RHOSP 16.2.0

compute doesn't send collectd metrics and are shown on the collectd logs

~~~
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 11
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 12
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 11
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 12
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 11
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 12
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 11
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 12
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 11
[2022-01-03 12:11:29] virt plugin: Array index out of bounds: tag_index = 12
~~~

Version-Release number of selected component (if applicable):

collectd container is at 16.2.0-55.1636975205

Comment 2 Matthias Runge 2022-01-10 15:52:38 UTC

*** This bug has been marked as a duplicate of bug 2015543 ***

Comment 13 Riccardo Bruzzone 2022-02-02 19:39:41 UTC
Hello,
Could you provide us the visibility of when the package could be signed as hot-fix and delivered to the Customer ?
As thirst step, this package will be installed and verified in the Customer test plant environment based on 16.2 z1.

Thank you so much.
Riccardo

Comment 14 Riccardo Bruzzone 2022-02-02 19:40:40 UTC
Hello,
Could you provide us the visibility of when the package could be signed as hot-fix and delivered to the Customer ?
As first step, this package will be installed and verified in the Customer test plant environment based on 16.2 z1.

Thank you so much.
Riccardo

Comment 34 Matthias Runge 2022-04-04 15:25:16 UTC
Finally, the build is done.

Comment 38 Leonid Natapov 2022-05-16 09:24:18 UTC
tested with collectd-5.11.0-10.el8ost. A few instances created. No array out of index messages noted in collectd logs on compute nodes.
metrics from instances received.

Comment 45 errata-xmlrpc 2022-06-22 16:03:23 UTC
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 (Release of components for Red Hat OpenStack Platform 16.2.3 (Train)), 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/RHBA-2022:4793


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