Bug 1333702

Summary: Python PMAPI lacks support for containers
Product: [Fedora] Fedora Reporter: Marko Myllynen <myllynen>
Component: pcpAssignee: Nathan Scott <nathans>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: brolley, fche, lberk, mgoodwin, nathans, pcp, scox
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcp-3.11.4-1.el5 pcp-3.11.4-1.fc24 pcp-3.11.4-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-05 19:48:54 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 Marko Myllynen 2016-05-06 07:48:48 UTC
Description of problem:
Python PMAPI does not allow Python clients (e.g. pmrep) to support containers (example switch below), it would be nice if a container metrics source could be supported as easily as archive/host source currently from Python tools.

  --container=NAME      specify an individual container to be queried

Thanks.

Comment 1 Frank Ch. Eigler 2016-05-06 10:30:01 UTC
Note that python programs can use the full pcp hostspec syntax, passing pcp://host?container=FOOBAR to its PM_CONTEXT_HOST parameter.  So what may be missing is the pmOptions processing for --container.

Comment 2 Fedora Update System 2016-08-14 22:53:11 UTC
pcp-3.11.4-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-415f0c78ed

Comment 3 Fedora Update System 2016-08-14 22:53:32 UTC
pcp-3.11.4-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b76275250f

Comment 4 Fedora Update System 2016-08-14 22:53:47 UTC
pcp-3.11.4-1.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a51156083f

Comment 5 Fedora Update System 2016-08-16 01:55:09 UTC
pcp-3.11.4-1.fc23 has been pushed to the Fedora 23 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-2016-b76275250f

Comment 6 Fedora Update System 2016-08-16 05:16:10 UTC
pcp-3.11.4-1.el5 has been pushed to the Fedora EPEL 5 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-2016-a51156083f

Comment 7 Fedora Update System 2016-08-16 05:56:23 UTC
pcp-3.11.4-1.fc24 has been pushed to the Fedora 24 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-2016-415f0c78ed

Comment 8 Fedora Update System 2016-09-05 19:48:16 UTC
pcp-3.11.4-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.

Comment 9 Fedora Update System 2016-09-05 22:53:00 UTC
pcp-3.11.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-09-06 02:19:27 UTC
pcp-3.11.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.