Changes committed to git://git.pcp.io/pcp.git master
Nathan Scott (5):
rc_pmcd: fix handling of primary logger link
pmdalinux: fix interrupts/softirqs corner case
docs: update pmns.5 domain table to match stdpmid
qa: remake test 1041 to match libvirt metric filter
qa: improvements to json exception handling in test_webapi
Marko Myllynen (3):
pmrep: cwd, user-specific config, then system-wide config
libvirt pmda: support for backing chains
libvirt pmda: cosmetics
man/man5/pmns.5 | 22 -----
qa/1041.out | 2
qa/src/test_webapi.python | 134 +++++++++++++++++++------------
src/pmcd/rc_pmcd | 9 --
src/pmdas/libvirt/connect | 21 +++-
src/pmdas/libvirt/libvirt.conf | 3
src/pmdas/libvirt/pmdalibvirt.1 | 13 ++-
src/pmdas/libvirt/pmdalibvirt.python | 151 +++++++++++++++++++----------------
src/pmdas/linux/interrupts.c | 32 ++++---
src/pmrep/TODO | 1
src/pmrep/pmrep.1 | 16 ++-
src/pmrep/pmrep.conf.5 | 7 -
src/pmrep/pmrep.py | 12 +-
13 files changed, 239 insertions(+), 184 deletions(-)
commit 067236ea80100f8380f6b1e61fbb3eb54b2367c6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 26 13:57:23 2016 +1000
qa: improvements to json exception handling in test_webapi
Use the try/except pattern from test_metrics_enumeration in
all places. Tweak all to return after reporting an initial
error, to avoid cascading failures observed recently.
commit 013c20bb31c625798d256240a1c6d556cbc42cb3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 26 13:54:58 2016 +1000
qa: remake test 1041 to match libvirt metric filter
commit 2ad014c06b10291494fe6d14fe575ce81f48ba6e
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Tue Jul 26 11:41:16 2016 +1000
libvirt pmda: cosmetics
Purely white-space only to keep formatting consistent.
commit 8d2f4dc8010dc6bb05a0ba8d53be0490c2f145e6
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Tue Jul 26 11:39:49 2016 +1000
libvirt pmda: support for backing chains
Given the recent (IRC) discussion around per-device metrics and the
importance of keeping PMIDs unchanged for metrics, I think it's best to
add support for block device backing chains now after all so that we
won't end up to a situation later where we've added per-device metrics
(one way or another) and find out that adding backing chain statistics
might cause some PMID turbulence.
The patch is pretty trivial, extra handling is warranted as otherwise
the total values would be completely meaningless (backingIndex) or even
misleading (name). Also minor cosmetic reordering of conf file handling.
Reorder the list of block metrics to match libvirt ordering.
commit 48c1696f1b29097311f790a9bc56c90b10640ae4
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Tue Jul 26 11:30:00 2016 +1000
pmrep: cwd, user-specific config, then system-wide config
This allows users to easily have their own pmrep tools work
without having root access to modify the system-wide files.
commit de60eacaf2bcd9ad026b0b56a796a7ba50619dc6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 26 11:14:37 2016 +1000
docs: update pmns.5 domain table to match stdpmid
commit 9a16358cf95e5b1e92f94484d34c2a5a3b0e6e74
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 26 11:00:50 2016 +1000
pmdalinux: fix interrupts/softirqs corner case
Ensure refresh_interrupts routine returns appropriate
error code for all cases. Add missed checking to the
text lookup routines for the not-initialized cases.
commit 0d05549ced324606f330a9a19e9f9b7ac93fcc2c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jul 26 10:52:06 2016 +1000
rc_pmcd: fix handling of primary logger link
Its no longer the case that a pmcd restart causes a primary
pmlogger restart also, so remove assumptions in the rc_pmcd
script that its OK to unconditionally unlink primary logger
state file. Keep some logic for cleaning up *broken* links
however, since there's no harm in that. This resolves some
more observed cases of multiple loggers running incorrectly
running after pmcd restart.
|