pcp
[Top] [All Lists]

pcp updates: python api & pmdaroot fixes

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: python api & pmdaroot fixes
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 13 Oct 2015 02:37:22 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1095564286.53641354.1444718108900.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: eywC1Z6wRbGiaiyflyd+pc8nlBfTcQ==
Thread-topic: pcp updates: python api & pmdaroot fixes
Changes committed to git://git.pcp.io/pcp.git master

Nathan Scott (4):
      pmdaroot: add heuristic for non-systemd setups
      pmdaroot: fix timeliness of creation of socket connection
      docs: remove outdated pmatop man page, see pcp-atop(1)
      python api: add single host/archive pmOption setter methods


 man/man1/pmatop.1             |  216 ------------------------------------------
 qa/722                        |   61 +++++++++++
 qa/722.out                    |   43 ++++++++
 qa/group                      |    1 
 qa/src/GNUlocaldefs           |    3 
 qa/src/test_set_source.python |   76 ++++++++++++++
 src/libpcp/src/getopt.c       |   22 ++--
 src/pmdas/root/docker.c       |   26 +++--
 src/pmdas/root/root.c         |   16 ++-
 src/pmdas/root/root.h         |   10 +
 src/python/pcp/pmapi.py       |    6 +
 src/python/pmapi.c            |   36 +++++++
 12 files changed, 278 insertions(+), 238 deletions(-)


commit 2af7d5196333a75a6260e9384430190589462e2a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Oct 13 17:33:45 2015 +1100

    python api: add single host/archive pmOption setter methods
    
    Resolves several small issues with the pmOptions interfaces
    that have plagued Marko.  Most importantly, we've now added
    interfaces to set an individual host/archive, analagous to
    the host/archive list interfaces - uses the existing libpcp
    code as a base.  An extended version of Markos script tests
    this, via regression test qa/722.
    
    Resolves Fedora BZ #1270176.

commit d630dd1c69d38304a7bcee50840ce25e014922f3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Oct 13 13:31:09 2015 +1100

    docs: remove outdated pmatop man page, see pcp-atop(1)
    
    Resolves Fedora BZ #1270761.

commit dfb7e655de4dd982e9e2051f618c4ce5c513d6b7
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Oct 13 11:28:20 2015 +1100

    pmdaroot: fix timeliness of creation of socket connection
    
    Fixes a race with other PMDAs trying to access the pmdaroot
    socket on systems with many containers.  Observed in qa/042
    as a failure to access container pmcd.hostname correctly.

commit 6035013ec30caff1958dc3dcf75746cbddf91e75
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Oct 13 11:26:24 2015 +1100

    pmdaroot: add heuristic for non-systemd setups
    
    Talking to folks using Docker on Ubuntu systems without systemd,
    found an assumption in the way cgroup names are thought to exist
    which is not true for those systems.  This adds a heuristic that
    switches dynamically between whichever style found.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: python api & pmdaroot fixes, Nathan Scott <=