Bug 2038881

Summary: collectd-virt plugin doesn't send metrics
Product: Red Hat OpenStack Reporter: alisci <alisci>
Component: collectdAssignee: Emma Foley <efoley>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: medium Docs Contact: Joanne O'Flynn <joflynn>
Priority: medium    
Version: 16.2 (Train)CC: adhingra, astupnik, camorris, dhill, efoley, jbadiapa, jveiraca, lars, lnatapov, ltamagno, mmagr, mrunge, rbruzzon, sukar
Target Milestone: z3Keywords: Reopened, Triaged, ZStream
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-06-22 16:03:23 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:    
Bug Blocks: 2015543    

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