This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1182184 - reduced installation footprint for minimal pcp applications
reduced installation footprint for minimal pcp applications
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
22
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nathan Scott
Fedora Extras Quality Assurance
:
: 1184403 (view as bug list)
Depends On:
Blocks: 1185740
  Show dependency treegraph
 
Reported: 2015-01-14 09:56 EST by Frank Ch. Eigler
Modified: 2015-08-22 12:34 EDT (History)
12 users (show)

See Also:
Fixed In Version: 3.10.6-1.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-13 12:57:01 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Frank Ch. Eigler 2015-01-14 09:56:51 EST
Some pcp clients are happy to use PM_CONTEXT_LOCAL with a small handful 
of C .so PMDA's (linux_proc e.g.), but are unhappy that these pmdas are
only packaged in the central 'pcp' rpm, which has perl/python/etc.
prerequisites.  We should break up the 'pcp' rpm so that the footprint
for small clients is small.

- the default pmns/root is either not used at all, or is provided in
  generated capacity by the build, instead of being generated during
  first -pmcd- startup

- pmdas that need perl are separated out into at least one subrpm;
  likewise python

- plain C (no-further-big-prereqs) pmdas are separated out
  into at least one subrpm (without depending on base pcp)

- if needed, libpcp adjusted PM_CONTEXT_LOCAL can use the pmda
  subrpms without needing other pcp binaries / nontrivial config
  files

- probably: invent a mechanism where libpcp can find .so pmdas
  by searching the pmda directories rather than scraping pmcd.conf,
  e.g., a __pmSpecLocalPMDA keyword "scan", searching $PMDADIR and
  stdpmid.pcp / stdpmid.local?

(This should also shrink the hurdles for a default-on local-pmlogger
installation.)
Comment 1 Frank Ch. Eigler 2015-01-21 07:27:42 EST
*** Bug 1184403 has been marked as a duplicate of this bug. ***
Comment 2 Nathan Scott 2015-01-22 20:52:11 EST
Other places where improvements should be made:

- remove the direct dependency in libpcp on the Avahi libraries - all discovery/advertising methods should become runtime configurable and extensible outside of PCP.

- remove the direct dependency in libpcp on NSS/SSL, Dave has completed almost all of the work for this now - someone just needs to go the last dlopen step.

- pmwebd seems to have acquired a dependency chain that includes some 10-15 X11/desktop/font libraries, and associated rpm dependencies, as a result of using the Cairo library.  Its resident memory footprint has doubled as a result, combined with the switch to using C++ - would be worth considering a more dynamic plugin model for pmwebd, as people will want to use it on servers without all those X11 rpms.

The "invent a mechanism" line in original report wont fly as described I suspect - IIRC pmcd.conf was used because these PMDAs are known to have root namespace entries, which is required in local context mode also - so a design which considers the metric namespace would be needed.
Comment 3 Frank Ch. Eigler 2015-01-22 21:32:48 EST
Apprx. all those libraries are already split into separate -libs type
subrpms, so beyond their genuinely useful function do not constitute
unnecessary or peculiar overheads.  One should need a pretty well-justified
case to justify reinventing ordinary dynamic linking.
Comment 4 Jaroslav Reznik 2015-03-03 11:42:46 EST
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
Comment 5 Fedora Update System 2015-06-15 22:12:32 EDT
pcp-3.10.5-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/pcp-3.10.5-1.fc22
Comment 6 Fedora Update System 2015-06-15 22:13:44 EDT
pcp-3.10.5-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pcp-3.10.5-1.fc21
Comment 7 Fedora Update System 2015-06-15 22:14:33 EDT
pcp-3.10.5-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pcp-3.10.5-1.fc20
Comment 8 Fedora Update System 2015-06-15 22:16:39 EDT
pcp-3.10.5-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/pcp-3.10.5-1.el5
Comment 9 Fedora Update System 2015-06-18 14:34:42 EDT
Package pcp-3.10.5-1.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing pcp-3.10.5-1.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-6718/pcp-3.10.5-1.el5
then log in and leave karma (feedback).
Comment 10 Fedora Update System 2015-08-04 01:37:46 EDT
pcp-3.10.6-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/pcp-3.10.6-1.fc22
Comment 11 Fedora Update System 2015-08-04 01:38:30 EDT
pcp-3.10.6-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/pcp-3.10.6-1.fc21
Comment 12 Fedora Update System 2015-08-04 01:39:09 EDT
pcp-3.10.6-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/pcp-3.10.6-1.el5
Comment 13 Frank Ch. Eigler 2015-08-04 11:41:24 EDT
Not a huge deal, but this bug shouldn't be considered fixed when associated with OS versions where the pcp -> pcp-compat -> pcp-mostly-everything dependency chain is active.
Comment 14 Fedora Update System 2015-08-13 12:57:01 EDT
pcp-3.10.6-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 15 Fedora Update System 2015-08-13 12:58:41 EDT
pcp-3.10.6-1.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 16 Fedora Update System 2015-08-22 12:33:49 EDT
pcp-3.10.6-1.el5 has been pushed to the Fedora EPEL 5 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.