Bug 1456262 - proc.* metrics being pmlogconf'd, even without pcp-zeroconf installed
Summary: proc.* metrics being pmlogconf'd, even without pcp-zeroconf installed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcp
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Berk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1456609
TreeView+ depends on / blocked
 
Reported: 2017-05-28 13:55 UTC by Frank Ch. Eigler
Modified: 2017-09-28 19:54 UTC (History)
6 users (show)

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:
Clone Of:
: 1456609 (view as bug list)
Environment:
Last Closed: 2017-09-28 19:54:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
exclude zeroconf files from base package list (598 bytes, patch)
2017-05-29 00:39 UTC, Mark Goodwin
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.