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: MODIFIED --- 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.1Flags: ifrangs: needinfo? (mmagr)
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: 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