Bug 2179924

Summary: OSP 17.1 | Exec plugin panic spotted in collectd.log
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: collectd-sensubilityAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: low Docs Contact: mgeary <mgeary>
Priority: medium    
Version: 17.1 (Wallaby)CC: lmadsen, mmagr
Target Milestone: z2Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: collectd-sensubility-0.2.1-1.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-20 00:29:44 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 Leonid Natapov 2023-03-20 12:19:33 UTC
exec plugin panic has been spotted in collectd logs.
Functionality seems to be not affected but should be investigated and fixed.
Here is the panic:
------------------

[2023-03-18 12:14:42] exec plugin: exec_read_one: error = panic: runtime error: invalid memory address or nil pointer dereference
[2023-03-18 12:14:42] exec plugin: exec_read_one: error = [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5a8f53]
[2023-03-18 12:14:42] exec plugin: exec_read_one: error =
[2023-03-18 12:14:42] exec plugin: exec_read_one: error = goroutine 23 [running]:
[2023-03-18 12:14:42] exec plugin: exec_read_one: error = github.com/infrawatch/apputils/connector/amqp10.(*AMQP10Connector).Start.func2(0xc0001101e0)
[2023-03-18 12:14:42] exec plugin: exec_read_one: error =    /usr/share/gocode/src/github.com/infrawatch/apputils/connector/amqp10/amqp10.go:545 +0x4d3
[2023-03-18 12:14:42] exec plugin: exec_read_one: error = created by github.com/infrawatch/apputils/connector/amqp10.(*AMQP10Connector).Start
[2023-03-18 12:14:42] exec plugin: exec_read_one: error =    /usr/share/gocode/src/github.com/infrawatch/apputils/connector/amqp10/amqp10.go:509 +0x28a

Comment 4 Leif Madsen 2023-03-22 14:11:59 UTC
Please evaluate if this needs to be backported to 16.2 as well. If so, please clone this issue.

Comment 5 Martin Magr 2023-04-21 11:50:39 UTC
This needs to reproduced first

Comment 15 errata-xmlrpc 2023-09-20 00:29:44 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 17.1.1 (Wallaby)), 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-2023:5138

Comment 16 Red Hat Bugzilla 2024-01-19 04:25:16 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days