Bug 1719168

Summary: collectl does not stay running after a "systemctl start collectl"
Product: [Fedora] Fedora EPEL Reporter: Kent Engström <kent>
Component: collectlAssignee: Dan Horák <dan>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: dan, kzak
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: collectl-4.3.0-5.fc30 collectl-4.3.0-5.fc29 collectl-4.3.0-5.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-19 22:45:28 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 Kent Engström 2019-06-11 08:42:31 UTC
Description of problem:

On some of our compute nodes, collect does not start reliably.


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

collectl-4.2.0-1.el7.noarch

How reproducible:

Not 100%

Steps to Reproduce:

systemctl start collectl

Actual results:

For the affected nodes, collectl runs for a short time and then the process is gone.

Expected results:

collectl stays running to collect data.

Additional info:

Starting collectl manually, using "collectl -D /etc/collectl.conf" seems to work 100% of the time. We suspect that the the systemd unit file collectl.service should declare "Type=forking" instead of defaulting to "Type=simple". When we tried changed this locally (using an override file), we got it to start 100% of the time.

Comment 1 Dan Horák 2019-06-11 11:33:28 UTC
You are right, collectl is deamonizing when -D is given, so type forking is right.

Comment 2 Kent Engström 2019-06-11 13:13:47 UTC
OK.

As the -D option is needed for operation as a service and is part of the
installed /etc/sysconfig/collectl file, will you release a fixed EPEL 7 package with Type=forking?

Comment 3 Dan Horák 2019-06-11 13:22:28 UTC
yes, that's the plan, likely together with an update to 4.3.0

Comment 4 Fedora Update System 2019-06-11 14:22:53 UTC
FEDORA-2019-cb70d8f7d9 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-cb70d8f7d9

Comment 5 Fedora Update System 2019-06-11 14:22:57 UTC
FEDORA-2019-cbbe626661 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-cbbe626661

Comment 6 Kent Engström 2019-06-11 14:53:28 UTC
Thanks, have tested the RPM from https://koji.fedoraproject.org/koji/buildinfo?buildID=1285608 build successfully.

Comment 7 Fedora Update System 2019-06-12 01:30:13 UTC
collectl-4.3.0-5.fc30 has been pushed to the Fedora 30 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-2019-cbbe626661

Comment 8 Fedora Update System 2019-06-12 01:31:51 UTC
collectl-4.3.0-5.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-2019-cb70d8f7d9

Comment 9 Fedora Update System 2019-06-12 02:08:37 UTC
collectl-4.3.0-5.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-2019-855095f03e

Comment 10 Fedora Update System 2019-06-19 22:45:28 UTC
collectl-4.3.0-5.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2019-06-20 03:52:45 UTC
collectl-4.3.0-5.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2019-07-03 00:43:16 UTC
collectl-4.3.0-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.