Update to latest community sources

This commit is contained in:
Mark Goodwin 2018-03-29 12:40:40 +11:00
parent 3181e05e0c
commit 772ed6d4f0
2 changed files with 43 additions and 17 deletions

View File

@ -1,6 +1,6 @@
Name: pcp Name: pcp
Version: 4.0.0 Version: 4.0.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: System-level performance monitoring and performance management Summary: System-level performance monitoring and performance management
License: GPLv2+ and LGPLv2.1+ and CC-BY License: GPLv2+ and LGPLv2.1+ and CC-BY
URL: http://www.pcp.io URL: http://www.pcp.io
@ -367,7 +367,7 @@ fi # check for an active selinux install
%description %description
Performance Co-Pilot (PCP) provides a framework and services to support Performance Co-Pilot (PCP) provides a framework and services to support
system-level performance monitoring and performance management. system-level performance monitoring and performance management.
The PCP open source release provides a unifying abstraction for all of The PCP open source release provides a unifying abstraction for all of
the interesting performance data in a system, and allows client the interesting performance data in a system, and allows client
@ -748,7 +748,7 @@ BuildRequires: %{__python2}-elasticsearch
Performance Co-Pilot (PCP) front-end tools for exporting metric values Performance Co-Pilot (PCP) front-end tools for exporting metric values
to Elasticsearch - a distributed, RESTful search and analytics engine. to Elasticsearch - a distributed, RESTful search and analytics engine.
See https://www.elastic.co/community for further details. See https://www.elastic.co/community for further details.
%endif %endif
# #
# pcp-export-pcp2graphite # pcp-export-pcp2graphite
# #
@ -1140,7 +1140,7 @@ Requires: perl-PCP-PMDA = %{version}-%{release}
This package contains the PCP Performance Metrics Domain Agent (PMDA) for This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Lustre Filesystem. collecting metrics about the Lustre Filesystem.
#end pcp-pmda-lustre #end pcp-pmda-lustre
# #
# pcp-pmda-lustrecomm # pcp-pmda-lustrecomm
# #
@ -1450,7 +1450,7 @@ Requires: pcp-libs = %{version}-%{release}
This package contains the PCP Performance Metrics Domain Agent (PMDA) for This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the Device Mapper Cache and Thin Client. collecting metrics about the Device Mapper Cache and Thin Client.
# end pcp-pmda-dm # end pcp-pmda-dm
%if !%{disable_bcc} %if !%{disable_bcc}
# #
@ -1487,7 +1487,7 @@ Requires: %{__python2}-pcp
This package contains the PCP Performance Metrics Domain Agent (PMDA) for This package contains the PCP Performance Metrics Domain Agent (PMDA) for
collecting metrics about the gluster filesystem. collecting metrics about the gluster filesystem.
# end pcp-pmda-gluster # end pcp-pmda-gluster
# #
# pcp-pmda-zswap # pcp-pmda-zswap
# #
@ -1575,9 +1575,12 @@ BuildRequires: libvirt-python3 python3-lxml
%else %else
Requires: %{__python2}-pcp Requires: %{__python2}-pcp
Requires: %{__python2}-libvirt %{__python2}-lxml Requires: %{__python2}-libvirt %{__python2}-lxml
%if 0%{?rhel} == 0 || 0%{?rhel} > 5 %if 0%{?rhel} == 0 || 0%{?fedora} >= 28
BuildRequires: %{__python2}-libvirt %{__python2}-lxml BuildRequires: %{__python2}-libvirt %{__python2}-lxml
%endif %endif
%if 0%{?rhel} > 5
BuildRequires: libvirt-%{__python2}
%endif
%endif %endif
%description pmda-libvirt %description pmda-libvirt
This package contains the PCP Performance Metrics Domain Agent (PMDA) for This package contains the PCP Performance Metrics Domain Agent (PMDA) for
@ -1978,7 +1981,7 @@ URL: http://www.pcp.io
Requires: pcp-webapi Requires: pcp-webapi
%endif %endif
%if !%{disable_python2} || !%{disable_python3} %if !%{disable_python2} || !%{disable_python3}
Requires: pcp-system-tools Requires: pcp-system-tools
%endif %endif
%if !%{disable_qt} %if !%{disable_qt}
Requires: pcp-gui Requires: pcp-gui
@ -1993,12 +1996,16 @@ License: GPLv2+
Group: Applications/System Group: Applications/System
Summary: Performance Co-Pilot (PCP) Zeroconf Package Summary: Performance Co-Pilot (PCP) Zeroconf Package
URL: http://www.pcp.io URL: http://www.pcp.io
Requires: pcp Requires: pcp pcp-doc pcp-system-tools
Requires: pcp-pmda-dm pcp-pmda-nfsclient Requires: pcp-pmda-dm pcp-pmda-nfsclient
# to make pcp-zeroconf replace sysstat, uncomment the next line
# Obsoletes: sysstat
%description zeroconf %description zeroconf
This package contains configuration tweaks and files to increase metrics This package contains configuration tweaks and files to increase metrics
gathering frequency, several extended pmlogger configurations, as well as gathering frequency, several extended pmlogger configurations, as well as
automated pmie diagnosis, alerting and self-healing for the localhost. automated pmie diagnosis, alerting and self-healing for the localhost.
A cron script also writes daily performance summary reports similar to
those written by sysstat.
%if !%{disable_python2} %if !%{disable_python2}
# #
@ -2017,7 +2024,7 @@ Obsoletes: python-pcp
%if 0%{?rhel} == 5 %if 0%{?rhel} == 5
Requires: python%{default_python} Requires: python%{default_python}
%else %else
Requires: python2 Requires: %{__python2}
%endif %endif
%description -n %{__python2}-pcp %description -n %{__python2}-pcp
@ -2065,7 +2072,7 @@ Requires: pcp-libs = %{version}-%{release}
This PCP module contains additional system monitoring tools written This PCP module contains additional system monitoring tools written
in python. in python.
%endif #end pcp-system-tools %endif #end pcp-system-tools
%if !%{disable_qt} %if !%{disable_qt}
# #
# pcp-gui package for Qt tools # pcp-gui package for Qt tools
@ -2076,6 +2083,7 @@ Group: Applications/System
Summary: Visualization tools for the Performance Co-Pilot toolkit Summary: Visualization tools for the Performance Co-Pilot toolkit
URL: http://www.pcp.io URL: http://www.pcp.io
Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release} Requires: pcp = %{version}-%{release} pcp-libs = %{version}-%{release}
Requires: liberation-sans-fonts
BuildRequires: hicolor-icon-theme BuildRequires: hicolor-icon-theme
%description gui %description gui
@ -2533,6 +2541,14 @@ fi
%preun pmda-prometheus %preun pmda-prometheus
%{pmda_remove "$1" "prometheus"} %{pmda_remove "$1" "prometheus"}
%post pmda-prometheus
# pcp-4.0.1 and later: pmdaprometheus starts "notready" - this is for upgrades
. /etc/pcp.env
if grep -q ^prometheus "$PCP_PMCDCONF_PATH" 2>/dev/null
then
touch $PCP_PMDAS_DIR/prometheus/.NeedInstall
fi
%preun pmda-lustre %preun pmda-lustre
%{pmda_remove "$1" "lustre"} %{pmda_remove "$1" "lustre"}
@ -2875,6 +2891,8 @@ cd
%config(noreplace) %{_confdir}/pmlogger/control %config(noreplace) %{_confdir}/pmlogger/control
%config(noreplace) %{_confdir}/pmlogger/control.d/local %config(noreplace) %{_confdir}/pmlogger/control.d/local
%dir %attr(0775,pcp,pcp) %{_confdir}/nssdb %dir %attr(0775,pcp,pcp) %{_confdir}/nssdb
%dir %{_confdir}/discover
%config(noreplace) %{_confdir}/discover/pcp-kube-pods.conf
%ghost %{_localstatedir}/run/pcp %ghost %{_localstatedir}/run/pcp
%{_localstatedir}/lib/pcp/config/pmafm %{_localstatedir}/lib/pcp/config/pmafm
@ -2900,6 +2918,8 @@ cd
#empty #empty
%files zeroconf %files zeroconf
%{_libexecdir}/pcp/bin/pmlogger_daily_report
%config(noreplace) %{_sysconfdir}/cron.d/pcp-pmlogger-daily-report
%{_localstatedir}/lib/pcp/config/pmlogconf/zeroconf %{_localstatedir}/lib/pcp/config/pmlogconf/zeroconf
#additional pmlogger config files #additional pmlogger config files
@ -3124,8 +3144,8 @@ cd
%files pmda-rsyslog %files pmda-rsyslog
%{_pmdasdir}/rsyslog %{_pmdasdir}/rsyslog
%files pmda-samba %files pmda-samba
%{_pmdasdir}/samba %{_pmdasdir}/samba
%if !%{disable_snmp} %if !%{disable_snmp}
%files pmda-snmp %files pmda-snmp
@ -3300,6 +3320,12 @@ cd
%endif %endif
%changelog %changelog
* Thu Mar 29 2018 Mark Goodwin <mgoodwin@redhat.com> - 4.0.1-1
- selinux blocks pmdagluster (BZ 1558708)
- pmcd binding only to localhost:44321 by default (BZ 1529915)
- See also https://github.com/performancecopilot/pcp/issues
- Update to latest PCP sources.
* Thu Mar 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.0.0-3 * Thu Mar 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.0.0-3
- Update Python 2 dependency declarations to new packaging standards - Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

View File

@ -1,5 +1,5 @@
SHA512 (pcp-4.0.0.src.tar.gz) = 66593055f18cdf539094aa2216cfaac9d9bd489ce436425c12cede0d35f10fe71290a484f593fa0fadbba3831959ae38ce17ec7ca11ba8800316e57632646b5d SHA512 (pcp-4.0.1.src.tar.gz) = 80331827dac84a4dafd2507973885c35f80a753256656bb928b0cbbed6a22bbc5521acc41850c58065013417fe7884d206418d98353a6ba5241e336febe2cbb1
SHA512 (pcp-webapp-blinkenlights-1.0.0.tar.gz) = 505eafd4b8eb2ab97ec6b0fea3b5510ab0b976fa07559f1d163d240c62a8d7419f062eecc180b28b6b240207b45daed6fcc39d8e2930c6d038790d5ac0c695ab
SHA512 (pcp-webapp-grafana-1.9.1-2.tar.gz) = abd0f360b057853d343e506e352a37d16f78bbae6760124ecdfab0e43ffcf3b31404311f1fe5c962e8abdbf2ad8699df3f27e2920f03f1a10bca3c0e01179e21 SHA512 (pcp-webapp-grafana-1.9.1-2.tar.gz) = abd0f360b057853d343e506e352a37d16f78bbae6760124ecdfab0e43ffcf3b31404311f1fe5c962e8abdbf2ad8699df3f27e2920f03f1a10bca3c0e01179e21
SHA512 (pcp-webapp-vector-1.2.1.tar.gz) = c2e29df8551550f3f838a91e5f109edbf8fea4118e3d7a890ed412255824306f8f9fb762ff1edc9d160892a0c89f192307d1cfd8597f30de975e1f4d781b5615
SHA512 (pcp-webapp-graphite-0.9.10.tar.gz) = f716e5145e5d39b54be02e39202c51bdd1158d56fa16185a591c0f54fb376a637653f0c13aa9c5ad5700fc62d0c71163e94b9fa689fabe3e6de4ddf19fa827fa SHA512 (pcp-webapp-graphite-0.9.10.tar.gz) = f716e5145e5d39b54be02e39202c51bdd1158d56fa16185a591c0f54fb376a637653f0c13aa9c5ad5700fc62d0c71163e94b9fa689fabe3e6de4ddf19fa827fa
SHA512 (pcp-webapp-vector-1.2.1.tar.gz) = c2e29df8551550f3f838a91e5f109edbf8fea4118e3d7a890ed412255824306f8f9fb762ff1edc9d160892a0c89f192307d1cfd8597f30de975e1f4d781b5615
SHA512 (pcp-webapp-blinkenlights-1.0.0.tar.gz) = 505eafd4b8eb2ab97ec6b0fea3b5510ab0b976fa07559f1d163d240c62a8d7419f062eecc180b28b6b240207b45daed6fcc39d8e2930c6d038790d5ac0c695ab