pcp
[Top] [All Lists]

pcp updates: systemd support, pmwtf

To: pcp developers <pcp@xxxxxxxxxxx>
Subject: pcp updates: systemd support, pmwtf
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 21 Aug 2014 03:19:27 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <430058532.35535528.1408605465502.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: OQk8ip9Ou17yrhWyCTHgOpojnxJV3A==
Thread-topic: pcp updates: systemd support, pmwtf
Changes committed to git://git.pcp.io/pcp.git dev

 GNUmakefile                      |    8 -
 Makepkgs                         |    2 
 aclocal.m4                       |   17 ++
 build/rpm/GNUmakefile            |    4 
 build/rpm/fedora.spec            |   99 +++++++++++---
 build/rpm/pcp.spec.in            |   97 ++++++++++----
 configure                        |   74 ++++++++++-
 configure.ac                     |   42 +++++-
 m4/pkg.m4                        |   17 ++
 man/man1/pmwtf.1                 |   53 ++++---
 qa/008.out.slick                 |   47 +++++++
 qa/282                           |    4 
 qa/836                           |   43 ++++++
 qa/836.out                       |   84 ++++++++++++
 qa/876                           |    1 
 qa/common.check                  |  260 ++++++++++-----------------------------
 qa/group                         |    1 
 qa/qa_hosts.master               |    1 
 qa/src/GNUlocaldefs              |    2 
 src/include/builddefs.in         |   10 -
 src/include/pcp.conf.in          |    3 
 src/include/pcp.env              |    6 
 src/pmcd/.gitignore              |    1 
 src/pmcd/GNUmakefile             |   10 +
 src/pmcd/pmcd.service.in         |   14 ++
 src/pmcd/rc-proc.sh              |  192 ++++++++++------------------
 src/pmie/.gitignore              |    1 
 src/pmie/GNUmakefile             |   18 +-
 src/pmie/pmie.service.in         |   13 +
 src/pmlogger/.gitignore          |    1 
 src/pmlogger/GNUmakefile         |   24 ++-
 src/pmlogger/pmlogger.service.in |   13 +
 src/pmlogsummary/GNUmakefile     |    3 
 src/pmlogsummary/pmwtf.sh        |   52 +++++--
 src/pmmgr/.gitignore             |    1 
 src/pmmgr/GNUmakefile            |   13 +
 src/pmmgr/pmmgr.service.in       |   14 ++
 src/pmproxy/.gitignore           |    1 
 src/pmproxy/GNUmakefile          |   12 +
 src/pmproxy/pmproxy.service.in   |   14 ++
 src/pmwebapi/.gitignore          |    1 
 src/pmwebapi/GNUmakefile         |   13 +
 src/pmwebapi/pmwebd.service.in   |   14 ++
 43 files changed, 841 insertions(+), 459 deletions(-)

commit eca53dfe3c1c1efbe9ea4a714651d914db2d1dca
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 21 17:16:40 2014 +1000

    pmwtf: add some new reporting options, man page updates and a test
    
    Updates to the pmwtf tool to provide finer control over the report
    (--skip-missing and --skip-excluded options) to suppress parts of
    the output that may be uninteresting or overly verbose.
    
    Install it into /usr/bin now too, keeping a compat symlink back in
    PCP_BINADM_DIR for any scripts using it.

commit 630596aff82b80f7ee091bd07c58d1787837ec40
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 21 16:47:49 2014 +1000

    Try harder in test qa/876 to enable kernel support

commit 4048de428a30976811f16a8644a00d7e34e950e0
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 21 16:21:48 2014 +1000

    Small QA odds and ends, with updates for recently missed bits
    
    Updates test qa/008 and qa_hosts master file to add a new host
    into my mix.  Install the pmatop log folio into pcp-testsuite,
    and fix up some missing/wrong-way-around logic in qa/282.

commit e0f1d67c670c2d8948559b7530cd7401ad40081b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 21 11:56:07 2014 +1000

    Initial support for native systemd service files
    
    Allow for the use of native systemd service files for the
    pcp daemons (pmcd, pmproxy, pmmgr, pmwebd, pmlogger, pmie).
    A --with[-out]-systemd configure option is added, and we're
    default to "on" for systems where pkg-config finds the unit
    dir (pkg-config systemd --variable=systemdsystemunitdir).
    
    The approach used is to piggyback on the existing rc scripts
    and use the "oneshot" systemd Service Type (a model borrowed
    from stap-server in systemtap).  In the case where systemd is
    being enabled the definition of PCP_RC_DIR is auto-configured
    to the home of these scripts (which is no longer below /etc),
    and they instead live alongside a library rc script that they
    source.  This has the property of minimising the QA fallout,
    wrt tests that use these scripts directly.
    
    Use of systemctl is added into a number of places where we've
    got dependence on chkconfig enabling/disabling/state-checking
    also (esp. common.check in QA and rc-proc.sh).
    
    This resolves Red Hat BZ #1044682 and Fedora BZ #996438.

commit f8d0aa597fc427cbefcbc8775d6c83fd8c76e37b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Aug 21 10:18:10 2014 +1000

    Add the PKG_CHECK_VAR m4 macro into the aclocal.m4 set

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: systemd support, pmwtf, Nathan Scott <=