Bug 1456262

Summary: proc.* metrics being pmlogconf'd, even without pcp-zeroconf installed
Product: [Fedora] Fedora Reporter: Frank Ch. Eigler <fche>
Component: pcpAssignee: Lukas Berk <lberk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: brolley, fche, lberk, mgoodwin, nathans, pcp
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-3.12.0-1.fc25 pcp-3.12.1-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1456609 (view as bug list) Environment:
Last Closed: 2017-09-28 19:54:13 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: 1456609    
Attachments:
Description Flags
exclude zeroconf files from base package list none

Description Frank Ch. Eigler 2017-05-28 13:55:39 UTC
As of pcp-3.11.10 in Fedora, the  /var/lib/pcp/config/pmlogconf/zeroconf/* files are included in the base pcp package.  These files cause frequent logging of high-churn proc.* metrics if one runs pmlogconf, even if one did not opt into the "pcp-zeroconf" subpackage.  This could mean a large unintended & undocumented increase to the default amount of data being logged ... except that normal pmloggers run under uid pcp, thus can't fetch most of those proc metrics unless running with "pmdaproc -A"!

Please consider moving these pmlogconf/zeroconf/* files out of the pcp base package, and check their functionality vs. pmdaproc non-A.

Comment 1 Nathan Scott 2017-05-28 22:01:57 UTC
Must be something specific to fedora.spec I guess, the ./Makepkgs build don't exhibit this problem - could you take a peek please Lukas?

Thanks.

Comment 2 Mark Goodwin 2017-05-29 00:39:45 UTC
Created attachment 1283145 [details]
exclude zeroconf files from base package list

Attached patch (untested) should fix it by filtering all zeroconf files out of base.list. This would of course have to be pushed to fedora separately as a spec update.

Comment 3 Frank Ch. Eigler 2017-05-29 14:45:39 UTC
Since these proc.* metrics are only available to -h local:  type connections, not remote ones (in default pmdaproc configs), perhaps they should be somehow identified specially.  That way, only a 'primary' pmlogger would see them, not remote-pmcd ones.  Reminds me of the customized configuration of the 'primary' pmie.

Comment 4 Frank Ch. Eigler 2017-06-02 13:28:55 UTC
BTW, some quantitative effects of this: on a f25 machine went from 150MB/day to 10GB/day of archive traffic (including a >4GB .meta file).

Comment 5 Fedora Update System 2017-06-02 15:45:09 UTC
pcp-3.11.10-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-dd5fb240d1

Comment 6 Fedora Update System 2017-06-02 15:45:48 UTC
pcp-3.11.10-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0b392c179d

Comment 7 Fedora Update System 2017-06-03 04:38:24 UTC
pcp-3.11.10-2.fc25 has been pushed to the Fedora 25 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-2017-dd5fb240d1

Comment 8 Fedora Update System 2017-06-04 19:41:20 UTC
pcp-3.11.10-2.fc26 has been pushed to the Fedora 26 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-2017-0b392c179d

Comment 9 Fedora Update System 2017-06-30 02:15:14 UTC
pcp-3.12.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-9103ca28d1

Comment 10 Fedora Update System 2017-06-30 23:22:53 UTC
pcp-3.12.0-1.fc25 has been pushed to the Fedora 25 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-2017-9103ca28d1

Comment 11 Fedora Update System 2017-07-26 22:51:57 UTC
pcp-3.12.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2017-08-16 11:30:14 UTC
pcp-3.12.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a40b22d9a8

Comment 13 Fedora Update System 2017-08-19 18:52:27 UTC
pcp-3.12.1-1.fc26 has been pushed to the Fedora 26 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-2017-a40b22d9a8

Comment 14 Fedora Update System 2017-09-28 19:54:13 UTC
pcp-3.12.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.