Created
June 29, 2015 23:52
-
-
Save sammcj/871f4932ce247b5077e6 to your computer and use it in GitHub Desktop.
wtf yum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@int-build-samm ~]# yum upgrade python | |
Loaded plugins: fastestmirror, langpacks | |
Loading mirror speeds from cached hostfile | |
* base: mirror.as24220.net | |
* centosplus: mirror.as24220.net | |
* elrepo: mirror.ventraip.net.au | |
* elrepo-SRPMS: mirror.ventraip.net.au | |
* elrepo-extras: mirror.ventraip.net.au | |
* elrepo-kernel: mirror.ventraip.net.au | |
* epel: mirror.as24220.net | |
* extras: mirror.optus.net | |
* fasttrack: mirror.as24220.net | |
* updates: mirror.as24220.net | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package python.x86_64 0:2.7.5-16.el7 will be updated | |
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be an update | |
--> Processing Dependency: python-libs(x86-64) = 2.7.5-18.el7_1.1 for package: python-2.7.5-18.el7_1.1.x86_64 | |
--> Running transaction check | |
---> Package python-libs.x86_64 0:2.7.5-16.el7 will be updated | |
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be an update | |
--> Processing Dependency: /bin/python for package: cluster-glue-1.0.12-1.16.1.x86_64 | |
--> Finished Dependency Resolution | |
Error: Package: cluster-glue-1.0.12-1.16.1.x86_64 (@suse-centos7-haclustering) | |
Requires: /bin/python | |
Removing: python-2.7.5-16.el7.x86_64 (@anaconda) | |
Not found | |
Updated By: python-2.7.5-18.el7_1.1.x86_64 (updates) | |
Not found | |
You could try using --skip-broken to work around the problem | |
You could try running: rpm -Va --nofiles --nodigest | |
[root@int-build-samm ~]# yum remove cluster-glue | |
Loaded plugins: fastestmirror, langpacks | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package cluster-glue.x86_64 0:1.0.12-1.16.1 will be erased | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
================================================================================================================================================================================================================ | |
Package Arch Version Repository Size | |
================================================================================================================================================================================================================ | |
Removing: | |
cluster-glue x86_64 1.0.12-1.16.1 @suse-centos7-haclustering 887 k | |
Transaction Summary | |
================================================================================================================================================================================================================ | |
Remove 1 Package | |
Installed size: 887 k | |
Is this ok [y/N]: y | |
Downloading packages: | |
Running transaction check | |
Running transaction test | |
Transaction test succeeded | |
Running transaction | |
Erasing : cluster-glue-1.0.12-1.16.1.x86_64 1/1 | |
Verifying : cluster-glue-1.0.12-1.16.1.x86_64 1/1 | |
Removed: | |
cluster-glue.x86_64 0:1.0.12-1.16.1 | |
Complete! | |
[root@int-build-samm ~]# yum upgrade python | |
Loaded plugins: fastestmirror, langpacks | |
Loading mirror speeds from cached hostfile | |
* base: mirror.as24220.net | |
* centosplus: mirror.as24220.net | |
* elrepo: mirror.ventraip.net.au | |
* elrepo-SRPMS: mirror.ventraip.net.au | |
* elrepo-extras: mirror.ventraip.net.au | |
* elrepo-kernel: mirror.ventraip.net.au | |
* epel: mirror.as24220.net | |
* extras: mirror.optus.net | |
* fasttrack: mirror.as24220.net | |
* updates: mirror.as24220.net | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package python.x86_64 0:2.7.5-16.el7 will be updated | |
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be an update | |
--> Processing Dependency: python-libs(x86-64) = 2.7.5-18.el7_1.1 for package: python-2.7.5-18.el7_1.1.x86_64 | |
--> Running transaction check | |
---> Package python-libs.x86_64 0:2.7.5-16.el7 will be updated | |
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be an update | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
================================================================================================================================================================================================================ | |
Package Arch Version Repository Size | |
================================================================================================================================================================================================================ | |
Updating: | |
python x86_64 2.7.5-18.el7_1.1 updates 86 k | |
Updating for dependencies: | |
python-libs x86_64 2.7.5-18.el7_1.1 updates 5.6 M | |
Transaction Summary | |
================================================================================================================================================================================================================ | |
Upgrade 1 Package (+1 Dependent package) | |
Total download size: 5.7 M | |
Is this ok [y/d/N]: y | |
Downloading packages: | |
Delta RPMs reduced 5.7 M of updates to 564 k (90% saved) | |
(1/2): python-2.7.5-16.el7_2.7.5-18.el7_1.1.x86_64.drpm | 58 kB 00:00:00 | |
(2/2): python-libs-2.7.5-16.el7_2.7.5-18.el7_1.1.x86_64.drpm | 506 kB 00:00:00 | |
Finishing delta rebuilds of 1 package(s) (5.6 M) | |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
Total 117 kB/s | 564 kB 00:00:04 | |
Running transaction check | |
Running transaction test | |
Transaction test succeeded | |
Running transaction | |
Updating : python-libs-2.7.5-18.el7_1.1.x86_64 1/4 | |
Updating : python-2.7.5-18.el7_1.1.x86_64 2/4 | |
Cleanup : python-2.7.5-16.el7.x86_64 3/4 | |
Cleanup : python-libs-2.7.5-16.el7.x86_64 4/4 | |
Verifying : python-2.7.5-18.el7_1.1.x86_64 1/4 | |
Verifying : python-libs-2.7.5-18.el7_1.1.x86_64 2/4 | |
Verifying : python-libs-2.7.5-16.el7.x86_64 3/4 | |
Verifying : python-2.7.5-16.el7.x86_64 4/4 | |
Updated: | |
python.x86_64 0:2.7.5-18.el7_1.1 | |
Dependency Updated: | |
python-libs.x86_64 0:2.7.5-18.el7_1.1 | |
Complete! | |
[root@int-build-samm ~]# yum install cluster-glue | |
Loaded plugins: fastestmirror, langpacks | |
Loading mirror speeds from cached hostfile | |
* base: mirror.as24220.net | |
* centosplus: mirror.as24220.net | |
* elrepo: mirror.ventraip.net.au | |
* elrepo-SRPMS: mirror.ventraip.net.au | |
* elrepo-extras: mirror.ventraip.net.au | |
* elrepo-kernel: mirror.ventraip.net.au | |
* epel: mirror.as24220.net | |
* extras: mirror.optus.net | |
* fasttrack: mirror.as24220.net | |
* updates: mirror.as24220.net | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package cluster-glue.x86_64 0:1.0.12-1.16.1 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
================================================================================================================================================================================================================ | |
Package Arch Version Repository Size | |
================================================================================================================================================================================================================ | |
Installing: | |
cluster-glue x86_64 1.0.12-1.16.1 network_ha-clustering_Stable 275 k | |
Transaction Summary | |
================================================================================================================================================================================================================ | |
Install 1 Package | |
Total download size: 275 k | |
Installed size: 887 k | |
Is this ok [y/d/N]: y | |
Downloading packages: | |
cluster-glue-1.0.12-1.16.1.x86_64.rpm | 275 kB 00:00:06 | |
Running transaction check | |
Running transaction test | |
Transaction test succeeded | |
Running transaction | |
Installing : cluster-glue-1.0.12-1.16.1.x86_64 1/1 | |
Verifying : cluster-glue-1.0.12-1.16.1.x86_64 1/1 | |
Installed: | |
cluster-glue.x86_64 0:1.0.12-1.16.1 | |
Complete! |
Why does this package prevent you from upgrading python?
root@dev-samm:~/rpmbuild/RPMS/x86_64 1 # rpm -qpR cluster-glue-1.0.12-1.16.1.x86_64.rpm
/bin/bash
/bin/python
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/usr/bin/env
/usr/bin/perl
/usr/bin/python
cluster-glue-libs = 1.0.12-1.16.1
libOpenIPMI.so.0()(64bit)
libOpenIPMIposix.so.0()(64bit)
libOpenIPMIutils.so.0()(64bit)
libbz2.so.1()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.10()(64bit)
libcurl.so.4()(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libglib-2.0.so.0()(64bit)
libltdl.so.7()(64bit)
libm.so.6()(64bit)
libnetsnmp.so.31()(64bit)
libopenhpi.so.3()(64bit)
libpils.so.2()(64bit)
libplumb.so.2()(64bit)
libplumbgpl.so.2()(64bit)
librt.so.1()(64bit)
libssl.so.10()(64bit)
libstonith.so.1()(64bit)
libuuid.so.1()(64bit)
libxml2.so.2()(64bit)
libxml2.so.2(LIBXML2_2.4.30)(64bit)
libz.so.1()(64bit)
perl >= 1:5.010
perl(strict)
perl(warnings)
perl-TimeDate
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
sbd
sudo
rpmlib(PayloadIsXz) <= 5.2-1
root@dev-samm:~/rpmbuild/SPECS # cat cluster-glue-CentOS_CentOS-7.spec
#
# spec file for package cluster-glue
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global glue_release 1
%define gname haclient
%define uname hacluster
%define nogroup nobody
# some more fixes needed from upstream before this can become yes
%define warnings_fatal no
# newer fedora distros have _pkgdocdir, rely on that when
# available
%{!?_pkgdocdir: %global _pkgdocdir %%{_docdir}/%{name}-%{version}}
# Directory where we install documentation
%global glue_docdir %{_pkgdocdir}
# When downloading directly from Mercurial, it will automatically add this prefix
# Invoking 'hg archive' wont but you can add one with: hg archive -t tgz -p "Reusable-Cluster-Components-" -r $upstreamversion $upstreamversion.tar.gz
%global upstreamprefix Reusable-Cluster-Components-
%global upstreamversion d97b9dea436e
Name: cluster-glue
Summary: Reusable cluster components
License: GPL-2.0+ and LGPL-2.1+
Group: System Environment/Base
Version: 1.0.12
Release: %{?glue_release}.16.1
Url: http://www.linux-ha.org/wiki/Cluster_Glue
Source: cluster-glue.tar.bz2
Patch1: bug-694243_cluster-glue_symbol-conflict.patch
Patch2: bnc662816_cluster-glue_hb_report_abspath.patch
Patch4: cluster-glue_droplrm.patch
Requires: cluster-glue-libs = %{version}-%{release}
Requires: perl-TimeDate
Requires: sudo
# The following is necessary since sbd is dropped from
# cluster-glue itself:
Requires: sbd
# Directives to allow upgrade from combined heartbeat packages in Fedora11
Provides: heartbeat-pils = 3.0.0-1
Provides: heartbeat-stonith = 3.0.0-1
Obsoletes: heartbeat-common
Obsoletes: heartbeat-pils < 3.0.0-1
Obsoletes: heartbeat-stonith < 3.0.0-1
Conflicts: pacemaker < 1.1.8
## Setup/build bits
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Build dependencies
BuildRequires: OpenIPMI-devel
BuildRequires: asciidoc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bzip2-devel
BuildRequires: docbook-dtds
BuildRequires: docbook-style-xsl
BuildRequires: glib2-devel
BuildRequires: libaio-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: libxslt
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: which
BuildRequires: libcurl-devel
%if 0%{?fedora_version}
# Not present on CentOS or RHEL
BuildRequires: libnet-devel
%endif
BuildRequires: libtool-ltdl-devel
BuildRequires: net-snmp-devel >= 5.4
BuildRequires: openhpi-devel
BuildRequires: libuuid-devel
%prep
%setup -q -n cluster-glue
%patch1 -p1
%patch2 -p1
%patch4 -p1
###########################################################
CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
export CFLAGS
./autogen.sh
%configure \
--enable-fatal-warnings=%{warnings_fatal} \
--with-daemon-group=%{gname} \
--with-daemon-user=%{uname} \
--localstatedir=%{_var} \
--libdir=%{_libdir} \
%if %{defined _unitdir}
--with-systemdsystemunitdir=%{_unitdir} \
%endif
--docdir=%{glue_docdir}
%build
make %{?jobs:-j%jobs} docdir=%{glue_docdir}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} docdir=%{glue_docdir}
## tree fix up
# Dont package static libs
find %{buildroot} -name '*.a' -exec rm {} \;
find %{buildroot} -name '*.la' -exec rm {} \;
%clean
rm -rf %{buildroot}
# cluster-glue
%description
A collection of common tools that are useful for writing cluster managers
such as Pacemaker.
Provides a local resource manager that understands the OCF and LSB
standards, and an interface to common STONITH devices.
%files
%defattr(-,root,root)
%dir %{_datadir}/%{name}
%if %{defined _unitdir}
%{_unitdir}/logd.service
%else
%{_sysconfdir}/init.d/logd
%endif
%{_datadir}/%{name}/ha_cf_support.sh
%{_datadir}/%{name}/openais_conf_support.sh
%{_datadir}/%{name}/utillib.sh
%{_datadir}/%{name}/ha_log.sh
%{_sbindir}/ha_logger
%{_sbindir}/hb_report
#%{_sbindir}/lrmadmin
%{_sbindir}/cibsecret
%{_sbindir}/meatclient
%{_sbindir}/stonith
%dir %{_libdir}/heartbeat
%dir %{_libdir}/heartbeat/plugins
%dir %{_libdir}/heartbeat/plugins/RAExec
%dir %{_libdir}/heartbeat/plugins/InterfaceMgr
%dir %{_libdir}/heartbeat/plugins/compress
#%{_libdir}/heartbeat/lrmd
%{_libdir}/heartbeat/ha_logd
%{_libdir}/heartbeat/plugins/RAExec/*.so
%{_libdir}/heartbeat/plugins/InterfaceMgr/*.so
%{_libdir}/heartbeat/plugins/compress/*.so
%dir %{_libdir}/stonith
%dir %{_libdir}/stonith/plugins
%dir %{_libdir}/stonith/plugins/stonith2
%{_libdir}/stonith/plugins/external
%{_libdir}/stonith/plugins/stonith2/*.so
%{_libdir}/stonith/plugins/stonith2/*.py*
%exclude %{_libdir}/stonith/plugins/external/ssh
%exclude %{_libdir}/stonith/plugins/stonith2/null.so
%exclude %{_libdir}/stonith/plugins/stonith2/ssh.so
%{_libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper
%dir %{_var}/lib/heartbeat
%dir %{_var}/lib/heartbeat/cores
%dir %attr (0700, root, root) %{_var}/lib/heartbeat/cores/root
%dir %attr (0700, nobody, %{nogroup}) %{_var}/lib/heartbeat/cores/nobody
%dir %attr (0700, %{uname}, %{gname}) %{_var}/lib/heartbeat/cores/%{uname}
%{_mandir}/man1/*
%{_mandir}/man8/*
%doc doc/stonith/README*
%doc logd/logd.cf
%doc AUTHORS
%doc COPYING
%doc ChangeLog
# cluster-glue-libs
%package -n cluster-glue-libs
Summary: Reusable cluster libraries
Group: Development/Libraries
Obsoletes: libheartbeat2
%description -n cluster-glue-libs
A collection of libraries that are useful for writing cluster managers
such as Pacemaker.
%pre
getent group %{gname} >/dev/null || groupadd -r %{gname}
getent passwd %{uname} >/dev/null || \
useradd -r -g %{gname} -d %{_var}/lib/heartbeat/cores/hacluster -s /sbin/nologin \
-c "cluster user" %{uname}
exit 0
%if %{defined _unitdir}
%post
%systemd_post logd.service
%preun
%systemd_preun logd.service
%postun
%systemd_postun_with_restart logd.service
%endif
%post -n cluster-glue-libs -p /sbin/ldconfig
%postun -n cluster-glue-libs -p /sbin/ldconfig
%files -n cluster-glue-libs
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%doc AUTHORS
%doc COPYING.LIB
# cluster-glue-libs-devel
%package -n cluster-glue-libs-devel
Summary: Headers and libraries for writing cluster managers
Group: Development/Libraries
Requires: cluster-glue-libs = %{version}-%{release}
Obsoletes: libheartbeat-devel
%description -n cluster-glue-libs-devel
Headers and shared libraries for a useful for writing cluster managers
such as Pacemaker.
%files -n cluster-glue-libs-devel
%defattr(-,root,root)
%dir %{_libdir}/heartbeat/plugins
%dir %{_libdir}/heartbeat/plugins/test
%dir %{_libdir}/heartbeat
%dir %{_datadir}/%{name}
%{_libdir}/lib*.so
%{_libdir}/heartbeat/ipctest
%{_libdir}/heartbeat/ipctransientclient
%{_libdir}/heartbeat/ipctransientserver
%{_libdir}/heartbeat/transient-test.sh
%{_libdir}/heartbeat/base64_md5_test
%{_libdir}/heartbeat/logtest
%{_includedir}/clplumbing
%{_includedir}/heartbeat
%{_includedir}/stonith
%{_includedir}/pils
#%{_datadir}/%{name}/lrmtest
%{_libdir}/heartbeat/plugins/test/test.so
%{_libdir}/stonith/plugins/external/ssh
%{_libdir}/stonith/plugins/stonith2/null.so
%{_libdir}/stonith/plugins/stonith2/ssh.so
%doc AUTHORS
%doc COPYING
%doc COPYING.LIB
%changelog
* Fri Jul 18 2014 dmuhamedagic@suse.com
- update the tag to glue-1.0.12
- hb_report: add -Q option for quick runs
- hb_report: dot is not illegal in file names (bnc#884079, deb#715391)
- build: update spec files for systemd
- hb_report: update interface to zypper
- hb_report: support logs with varied timestamps
- stonith: external/vcenter: add parameter for SSL hostname
verification (bnc#851990)
- hb_report: fix ssh passwords again (bnc#867365)
- hb_report: Don't use deprecated corosync-fplay (bnc#870913)
- logd: Add systemd unit file for logd (bnc#863248)
- hb_report: Add support for xz compression (bnc#854060)
- upstream cs: glue-1.0.12
* Thu Oct 3 2013 dmuhamedagic@suse.com
- update the tag to glue-1.0.12-rc1
- since lrm bits are not compiled, this package conflicts with
pacemaker < 1.1.8
* Thu Sep 26 2013 dmuhamedagic@suse.com
- clplumbing: increase listen backlog to 128
- upstream cs: 1.0.12-rc1
* Wed Sep 18 2013 lmb@suse.com
- Change to recommend sbd instead of requiring it to avoid dependency
loop.
* Thu Aug 29 2013 dmuhamedagic@suse.com
- hb_report: fix test for the root user
- hb_report: add support for the rfc5424 syslog date format
- hb_report: add -X option for extra ssh options (fate#314906)
- hb_report: adjust for more pacemaker directories moving
- hb_report: Add "sudo" to package requirements (bnc#823087)
- stonith: external/libvirt: fix exit code in reset
- stonith: external/vcenter: do not list vms in status (bnc#825765)
- Fix gcc warning about wrong typecast on i586.
- fix various gcc warnings
- upstream cs: 8acfc748667a
* Mon May 13 2013 dmuhamedagic@suse.com
- stonith: fix memory leak in external.c
- stonith: use 0 for the unique parameters attribute in most
agents
- upstream cs: 27019ba6670d
* Thu Mar 28 2013 dmuhamedagic@suse.com
- hb_report: ignore differences in white space
- upstream cs: 8347e8c9b94f
* Thu Mar 14 2013 dmuhamedagic@suse.com
- hb_report: enable ssh to prompt for passwords (bnc#808373)
- hb_report: do not assume that this is a loghost if the number
of entries equals 1
- upstream cs: 3cff550e1084
* Mon Feb 25 2013 dmuhamedagic@suse.com
- hb_report: reduce severity of several info messages (bnc#804704)
- upstream cs: 0c0bd21916ce
* Mon Feb 11 2013 dmuhamedagic@suse.com
- hb_report: collect RA trace files
- hb_report: look for nodes in the archived CIB if pacemaker is
not running
- upstream cs: ee43da63fc88
* Fri Feb 8 2013 dmuhamedagic@suse.com
- hb_report: fix false disk full errors
- upstream cs: afd858980b16
* Fri Feb 1 2013 dmuhamedagic@suse.com
- hb_report: exit early on disk full (FATE#313815)
- hb_report: create links instead of copying PE inputs
(FATE#313815)
- drop LRM bits (bnc#800095)
- upstream cs: 54ec848c439e
* Sat Dec 15 2012 dmuhamedagic@suse.com
- stonith: external/libvirt: don't log if status succeeded
- stonith: if debug's not set, do not send debug messages
to the logger (bnc#792124)
- hb_report: readd description fields to description.txt (SUSE)
- hb_report: do zypper ref before trying to get packages
- stonith: log status message at the debug level (bnc#792124)
- stonith: don't always log debug level messages (bnc#792124)
- stonith: external/vcenter: fix gethosts to produce list of
nodes not vms (bnc#792704)
- Upstream version cs: 67224d37df80
* Mon Nov 19 2012 dmuhamedagic@suse.com
- this release has code to support Pacemaker v1.1.8
* Tue Oct 16 2012 dmuhamedagic@suse.com
- lrmd: set max-children depending on the number of processors
- lrmd: don't send parameters from ops back to crmd
- stonith: external/libvirt: support for reboot reset method
- stonith: external/virsh: update test for virsh output
- stonith: external/libvirt: add more search strings for domain
start and stop
- hb_report: node's type got optional
- hb_report: make use of bash trace features
- hb_report: compatibility code for pacemaker v1.1.8
- build: link libstonith with stonith2 agents
- Upstream version cs: 02bdcf58f9a0 (glue-1.0.11)
* Tue Oct 16 2012 coolo@suse.com
- add explict buildrequire on libbz2-devel
* Mon Jul 16 2012 dmuhamedagic@suse.com
- set version to 1.0.10
- stonith: external/libvirt: add more search strings for domain
start and stop
- Upstream version cs: 18489f275f75
* Mon Jul 9 2012 dmuhamedagic@suse.com
- clplumbing: cl_msg: revert max message size to 256Kb
- clplumbing: fix memleak for Gmain_timeout
- stonith: rhcs: avoid false error if parameter isn't set
- stonith: rhcs: pass the action via stdin too
- hb_report: add node time information
- hb_report: get corosync blackbox records if available
- hb_report: make sure that work directory gets removed
- hb_report: improve performance
- sbd: Debug mode added (bnc#753559, bnc#738295)
- sbd: Handle IO errors during slot allocation properly
(bnc#753559)
- sbd: Explicitly inform the master process about IO problems on
the child (bnc#738295)
- sbd: Make servant restart logic more robust and verbose
(bnc#738295)
- sbd: Use async IO for disk reads to increase resilience against
hung IO (bnc#738295)
- logd: add try-restart action to the logd init script
(allows logd restart on upgrades)
- update regression tests
- Upstream version cs: fc64670fd789
* Thu Mar 22 2012 aspiers@suse.com
- add dependency on perl-TimeDate for hb_report (bnc#753562)
* Wed Mar 21 2012 dmuhamedagic@suse.com
- clplumbing: cl_msg: increase max message size to 512Kb
- clplumbing: cl_msg: increase compression threshold
- clplumbing: cl_msg: don't use traditional compression by default
- clplumbing: cl_msg: try compressing message before rejecting it as too big
- clplumbing: load bz2 compression module by default
- clplumbing: ipc: fix message size checks (bnc#752231)
- stonith: external/vcenter: return list of configured hosts on gethosts
- Upstream version cs: 6766d7061071
* Tue Mar 13 2012 dmuhamedagic@suse.com
- LRM: lrmd: add basic authentication (lf#2547)
- LRM: lrmd: if set, get max-children from the LRMD_MAX_CHILDREN environment var
- hb_report: add /etc/booth/booth.conf to the list of configurations (bnc#750049)
- Upstream version cs: 58686d5ae302
* Thu Feb 2 2012 dmuhamedagic@suse.com
- logd: remove runlevel 4 from the LSB info section in the logd
init script (bnc#744120)
- Upstream version cs: d8c154589a16
* Mon Jan 16 2012 dmuhamedagic@suse.com
- stonith: adjust timeouts in the meta-data template (bnc#733337)
- Upstream version cs: 3efdcb8fc3af
* Mon Jan 9 2012 tserong@suse.com
- Only include glib.h in cl_uuid.h (don't directly use glib/gtypes.h)
* Mon Dec 12 2011 dmuhamedagic@suse.com
- hb_report: set back the default destination to current directory
- stonith: don't complain if rhcs plugins are not installed
- update release to 1.0.9
- Upstream version cs: ce78649ed7ea
* Fri Nov 25 2011 dmuhamedagic@suse.com
- LRM: lrmd: set op status to cancelled for running monitor operations
- stonith: add CRM stonith resource name to log messages
- stonith: external/ipmi: add the priv parameter (ipmitool -L)
- stonith: external/ipmi: add missing double quote
- ha_log: increase MAXENTITY size to accommodate long stonith strings
- Upstream version cs: 7583026c6ace
* Mon Nov 7 2011 dmuhamedagic@suse.com
- hb_report: improve destination directory handling (bnc#727295)
- Upstream version cs: 4b08977bece3
* Mon Oct 24 2011 dmuhamedagic@suse.com
- hb_report: add StrictHostKeyChecking=no to ssh options
- hb_report: better handling of corrupt logs
- hb_report: don't ssh to nodes which are unreachable
- Upstream version cs: 3b800f73ba59
* Thu Oct 20 2011 dmuhamedagic@suse.com
- stonith: load libplumb symbols manually (fixes ipmilan) (bnc#694243)
- hb_report: use absolute path when invoking slaves (bnc#662816)
- clplumbing: fix for cl_times() wraparound and subsequent crash
with 32bit clock_t on 64bit systems (lf#2596)
- set release to 1.0.8
- Upstream version cs: 5ea7e344a633 (1.0.8)
* Mon Oct 10 2011 dmuhamedagic@suse.com
- Upstream version cs: f1d722d9cef1
* Mon Oct 10 2011 dmuhamedagic@suse.com
- LRM: cibsecret: add StrictHostKeyChecking=no to ssh options
- LRM: cibsecret: allow set if the parameter is already stashed
- LRM: cibsecret: better handling of ssh failures
- stonith: external/ipmi: add parameter to specify ipmitool location
* Tue Sep 20 2011 tserong@suse.com
- LRM: cibsecret: use crm_resource instead of crm (bnc#709758)
- LRM: cibsecret: allow management of local files only
- hb_report: run df(1) in background lest it blocks everything else
- hb_report: improve detecting ssh user
- LRM: lrmd: limit number of "stayed too long in operation list" log
messages (bnc#636576)
- hb_report: don't invoke zypper with no packages
- hb_report: enforce removing destination directory with -Z
- LRM: cibsecret: keep pssh quiet
- LRM: cibsecret: refactor remote shell code
- hb_report: install debuginfo packages on platforms with zypper
(bnc#641979)
- hb_report: put remote command on the line instead of using pipe
(bnc#662816)
- stonith: external: reduce severity of messages on status failure
(bnc#700102)
- LRM: lrmd: allow storing parameters in local files (lf#2415)
- hb_report: use sudo for remove collectors if connecting with user
other than root
- hb_report: add .info files with the last byte pos for all logs
- lrmd: improve operation logging
- stonith: external/vcenter: new plugin
- stonith: hetzner: new external stonith plugin
- stonith: prevent symbol conflict with libcrypto (lf#2571, bnc#694243)
- stonith: external/ipmi: fix unique parameters' attributes
- sbd: Maximize scheduler and IO priority in the child processes
(bnc#702907)
- sbd: Stop cleanly if watchdog cannot be opened, even if a worker
thread has already started (bnc#680109)
- sbd: now supports 1, 2, or 3 devices (bnc#682634, fate#309375)
- sbd: worker processes indicate their device in ps
- sbd: Restart servants a maximum of ten times in succession
- sbd: Restart all dead servants once per hour (configurable via -t option).
- sbd: The restart interval can be shortened by sending SIGUSR1 to the sbd
server process to restart everything at once.
- sbd: Improved handling of just two devices (three is recommended).
- sbd: Make failing to initalize the watchdog timeout annoying, but
non-fatal.
- sbd: Abort if watchdog cannot be opened (bnc#680109)
- external/sbd: default to value from /etc/sysconfig/sbd if sbd_device
is not set.
- external/sbd: support "crashdump" debug setting to cause a kernel
crash instead of a reboot.
- Upstream version cs: 45b21f952b0f
* Sat Sep 17 2011 jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Add baselibs configuration
* Fri Mar 11 2011 coolo@novell.com
- prereq sysvinit services and don't start in !network runlevels
* Tue Feb 8 2011 tserong@novell.com
- LRM: raexecocf: list resource agents properly (bnc#664409)
- sbd: Fix timeout setting on archs where int != long (bnc#635690)
- stonith: external/libvirt: new plugin for libvirt virtualization
technologies
- upstream version cs: 3e3d209f9217
* Mon Feb 7 2011 ro@suse.de
- update to 1.0.7
- clplumbing: ipc: adjust socket buffers size when adjusting ipc queue length
- logd: add a SIGHUP signal handler to timely close/open log files
- logd: use buffered io with fflush and fsync
- logd: reopen logfiles on inode change (logrotate)
- clplumbing: cl_log: keep logfiles open, but default to non-buffered io (lf#2470)
- clplumbing: cl_log: add new optional common syslog message prefix
- stonith: use ST_DEVICEID for the short description in meta-data
- stonith: external: interpret properly exit codes from external stonith
plugins (bnc#630357)
- stonith: external: avoid false out of memory error if a parameter isn't set (bnc#646205)
- stonith: external: check if PATH already contains GLUE_SHARED_DIR
(memory leak, lf#2484)
- stonith(8): reduce the number of stonith plugin invocations (bnc#630357)
- stonith(8): use cl_log for logging if invoked by stonithd (pcmk 1.1)
- stonith: external/sbd: make sbd use realtime priority for IO (works only with CFQ)
- stonith: cyclades: add the serial_port parameter to the meta-data
- stonith: external/riloe: add support for http proxies
- stonith: external/ipmi: provide opt param "passwd_method" to hide
the ipmi password from config and logs
- stonith: external/nut: support for the Network UPS Tools
- stonith: external/rackpdu: remove displaced local command
- stonith: rcd_serial: rename dtr|rts parameter to dtr_rts
- configure: test for POSIX signals (fixes rcd_serial)
* Tue Nov 23 2010 coolo@novell.com
- build against libnet-devel on 11.4
* Thu Aug 12 2010 lmb@novell.com
- stonith: Reduce logging.
- stonith: Improve response times by avoiding unnecessary queries to
plugins (bnc#630357)
- stonith: external: interpret properly exit codes from external stonith
plugins (bnc#630357)
- Upstream version cs: a146a145a3e
* Wed Aug 4 2010 lmb@novell.com
- sbd: increase IO priority to improve behaviour under load; it will
take precedence over all other IO (FATE#310113).
This requires the sbd device to use the CFQ scheduler for full effect.
- Upstream version cs: fb42b94f6f05
* Fri Jul 16 2010 dmuhamedagic@novell.com
- fix a wrong function declaration
- Upstream version cs: 8286b46c91e3
* Fri Jul 9 2010 dmuhamedagic@novell.com
- set version to 1.0.6
- ha_logger: log strings longer than 1024
- lrmd: don't allow cancelled operations to get back to the repeating op
list (lf#2417)
- lrmd: exclude stonith resources from child count (bnc#612387)
- lrmd,clientlib: asynchronous resource delete notification (lf#2439)
- stonith: add -V (version) to stonith
- stonith: add -E option to get the configuration from the environment
- stonith: ha_log: feed the message to stdout and not on command line
- stonith: external/sbd,xen0: fix wrong reference from ha_log to
ha_log.sh (deb#585120)
- stonith: external/rackpdu: check the snmpset and snmpwalk exit codes
- hb_report: create cib.txt after sanitizing the CIB (lf#2415)
- doc: generate lrmadmin.8 from the help text
- upstream version: stable release 1.0.6 (cs: 1c54d2895647)
* Wed May 12 2010 lmb@novell.com
- clplumbing: don't unlink uninitialized socket paths (reported by
valgrind)
- external/sbd: Make monitoring simpler and more resilient (bnc#600593)
- Upstream version cs: 1448deafdf79
* Mon May 10 2010 lmb@novell.com
- lrmd: really remove operation history on client unregister
- Upstream version cs: 6cf2e36df9f4
* Mon May 10 2010 lmb@novell.com
- hb_report: collect drbd configuration (lf#2411)
- sbd: Print a warning if latency exceeds threshold, so that
administrators get a warning before the watchdog suicide is triggered
(bnc#600593)
- Upstream version cs: 4038a0c5b3eb
* Mon Apr 26 2010 lmb@novell.com
- external/ssh: move to devel package as well.
* Mon Apr 26 2010 dmuhamedagic@novell.com
- clplumbing: add again uid/gid for processes for authentication
(the new fields are at the end of the struct; the users of the
new fields may require library version 2.1.0)
* Thu Apr 15 2010 dmuhamedagic@novell.com
- clplumbing: revert patch 81ad41d14f72 to preserve the ABI
- upstream version 1.0.5 (cs d044096fe060)
* Mon Apr 12 2010 dmuhamedagic@novell.com
- stonith: external/sbd: fix status operation
- stonith: new external/ippower9258 plugin
- hb_report: update event patterns for corosync
- clplumbing: fix memory leak in cl_msg/lrmd (lf#1841,2389)
- upstream version cs: faada7f3d069
* Mon Mar 29 2010 dmuhamedagic@novell.com
- stonith: external/ibmrsa-telnet: fix ha_log.sh invocation
- stonith: external/ibmrsa-telnet: fix expect regex
- stonith: external/ipmi: make reset work when the node is off
- lrmd: check if tables exist before free_str_table and prevent
segfault (bnc#587887)
- upstream version cs: f32cdc9c63b7
* Sun Mar 21 2010 lmb@novell.com
- lrmd: fix possible null pointer dereference
- hb_report: don't create dot files if there are more than 20 PE files
- stonith: external/riloe: log error message on unrecognized power
method
- clplumbing: Add identity info of the user on the other side of socket
- upstream version cs: 6750314917db
* Mon Mar 15 2010 dmuhamedagic@novell.com
- hb_report: make dot and png files for PE inputs (if there are
not too many)
- hb_report: do not filter CIB/PE files by default (use -s to
force filtering)
- hb_report: add -Z option to force destination directory cleanup
- upstream version cs 5e7284501da6
* Mon Mar 8 2010 lmb@novell.com
- Ensure logd is restarted on update.
* Wed Mar 3 2010 lmb@novell.com
- Move external/ssh back to main package.
* Wed Mar 3 2010 dmuhamedagic@novell.com
- move also external/ssh stonith plugin to the devel package
* Wed Mar 3 2010 dmuhamedagic@novell.com
- upstream version cs 24691b945b0c
- hb_report: allow for default destination
- hb_report: when creating cts reports get information from the log
- hb_report: new option -d to keep the directory
* Mon Mar 1 2010 lmb@novell.com
- Move null and ssh stonith plugins to devel package, since they should
never be used in production.
* Mon Feb 22 2010 dmuhamedagic@novell.com
- upstream version cs eae640f444ad
- hb_report: don't give up early when creating backtraces (lf#2350)
- clplumbing: Fix erroneous "Stack hogger failed 0xffffffff" warnings
- lrmd: raise severity from debug to info for some log messages
- lrmd: on shutdown exit once all operations finished (lf#2340)
- lrmd: don't add the cancel option in flush to the running operations (bnc#578644)
* Thu Feb 4 2010 dmuhamedagic@novell.com
- new upstream 1.0.3 (forgotten version update in configure.ac)
* Thu Feb 4 2010 dmuhamedagic@novell.com
- upstream version 1.0.3
- lrmd: don't flush operations which don't belong to the requesting client (lf#2161)
* Wed Jan 27 2010 lmb@novell.com
- Conflicts with heartbeat legacy packages needed to be versioned
properly.
* Fri Jan 22 2010 lmb@novell.com
- Move the disablement of fatal warnings to an RPM section where it
actually has an effect.
* Wed Jan 20 2010 dmuhamedagic@novell.com
- disable fatal warnings for ia64, ppc, and ppc64
* Mon Jan 11 2010 lmb@novell.com
- Disable fatal warnings.
* Mon Jan 11 2010 dmuhamedagic@novell.com
- upstream version cs: b75bd738dc09
+ lrmd: lookup clients by name (LF 2161)
* Tue Dec 29 2009 dmuhamedagic@novell.com
- upstream version cs: ce57c3d4ecfc
+ stonith: meatclient: add -w option to wait until we can connect
- start logd by default
- add preun, postun scripts for init.d scripts maintenance
- replace Conflicts with Provides
* Mon Dec 28 2009 dmuhamedagic@novell.com
- add Conflicts to the .spec files
* Wed Dec 23 2009 dmuhamedagic@novell.com
- Upstream version glue-1.0.2-rc2a
+ stonith: external plugins log using ha_log.sh (LF 2294,1971)
+ stonith: external: log messages immediately on manage and status calls
+ stonith: external/dracmc-telnet: new stonith plugin for Dell
+ Drac/MC Blade Enclosure and Cyclades terminal server
+ stonith: external/riloe: make sure that host is turned on after power
+ off/on reset (LF 2282)
+ stonith: external/riloe: workaround for the iLO double close of RIBCL
+ element (bnc#553340)
+ stonith: cyclades: fix for support for newer PM10 firmware (LF 1938)
+ stonith: add -m option to stonith(8) to display metadata
+ stonith: add support for RHCS fence agents
+ LRM: raexec: close the logd fd too when executing agents (LF 2267)
+ LRM: lrmd: fix return code on LSB class RA exec failure (LF 2194)
+ hb_report: add -V (version) option
+ hb_report: add support for corosync
+ hb_report: add -v option (debugging)
+ hb_report: log/events combining
in case nodes are logging to their
local syslog, hb_report will produce a combined log and event file
(sorted by date)
* Tue Dec 22 2009 tserong@novell.com
- /usr/share/heartbeat replaced with /usr/share/cluster-glue
* Tue Dec 22 2009 tserong@novell.com
- Upstream version cs: 4858a290f062
* Thu Dec 10 2009 "[email protected]"
- Upstream version cs: c19cff3f4bbb
* Tue Dec 8 2009 "[email protected]"
- lrmd: restore reset scheduler for children (bnc#551971)
- hb_report: "glibc" version also reported to detect mismatched
installs.
- stonith: external: log output if plugins (bnc#548699,bnc#553340)
- lrmd: log outcome of monitor once an hour
- lrmd: remove operation history on client unregister and flushing all
operations (lf#2161)
- Upstream version cs: 04a26c0878d8
* Sun Nov 1 2009 "[email protected]"
- stonith: sbd: fix definition of sector_size for s390x (bnc#542827).
- Upstream version cs: beb067082760
* Tue Sep 29 2009 "[email protected]"
- stonith: external/ibmrsa-telnet: add support for later RSA cards
- hb_report: add man page hb_report.8
- stonith: wti_nps: add support for internet power switch model
(bnc#539912)
- Upstream version cs: 0bf5e34337ee.
* Tue Sep 15 2009 "[email protected]"
- Rename to SLE HA 11 naming scheme.
- stonith: wti_mpc: support for MIB versions 1 and 3.
- Upstream version cs: b09aae4eeea7.
* Thu Aug 27 2009 "[email protected]"
- sbd: Nodename comparison should be case insensitive
(bnc#534445)
- sbd: describe "dump" command in help (bnc#529575).
- sbd: Accept -h (bnc#529574).
- hb_report: extract important events from the logs, and report further
state information.
- Upstream version cs: 74715a6a60e7.
* Fri Aug 21 2009 "[email protected]"
- Add logd init scripts.
- Install sbd.
- Fix-up hb_report.
- Include apcmastersnmp stonith plugin (bnc#518689).
- Include bladehpi stonith plugin (bnc#510299).
* Thu Aug 13 2009 lmb@novell.com
- Added Conflicts: with old heartbeat package layout.
- Enable IPMI and hpi support.
* Tue Aug 11 2009 abeekhof@novell.com
- Upstream version cs: aa5b5e48df62
+ Med: hb_report: report on more packages and with more state.
+ The -E option to lrmadmin does not take an argument
+ Provide a default value for docdir and ensure it is expanded
+ Low: clplumbing: fix a potential resource leak in cl_random (bnc#525393).
+ Med: hb_report: Include dlm_tool debugging information if available.
+ hb_report: Include more possible error output.
+ Ensure hb_report is built/packaged
* Wed Jul 29 2009 abeekhof@novell.com
- Fix installation of stonith docs
- Initial import of cluster-glue project after being split off from Heartbeat
- Upstream version cs: 2e136fee6761
It looks like if your PATH on the machine it's being built on has /usr/bin before /usr/local/bin when you try to upgrade python it will fail.
root@dev-samm:~/rpmbuild/RPMS/x86_64 1 # rpm -qpR cluster-glue-1.0.12-1.16.1.x86_64.rpm
/bin/bash
/bin/python
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/usr/bin/env
/usr/bin/perl
/usr/bin/python
cluster-glue-libs = 1.0.12-1.16.1
libOpenIPMI.so.0()(64bit)
libOpenIPMIposix.so.0()(64bit)
libOpenIPMIutils.so.0()(64bit)
libbz2.so.1()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.10()(64bit)
libcurl.so.4()(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libglib-2.0.so.0()(64bit)
libltdl.so.7()(64bit)
libm.so.6()(64bit)
libnetsnmp.so.31()(64bit)
libopenhpi.so.3()(64bit)
libpils.so.2()(64bit)
libplumb.so.2()(64bit)
libplumbgpl.so.2()(64bit)
librt.so.1()(64bit)
libssl.so.10()(64bit)
libstonith.so.1()(64bit)
libuuid.so.1()(64bit)
libxml2.so.2()(64bit)
libxml2.so.2(LIBXML2_2.4.30)(64bit)
libz.so.1()(64bit)
perl >= 1:5.010
perl(strict)
perl(warnings)
perl-TimeDate
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
sbd
sudo
rpmlib(PayloadIsXz) <= 5.2-1
root@dev-samm:~/rpmbuild/SPECS # cat cluster-glue-CentOS_CentOS-7.spec
#
# spec file for package cluster-glue
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global glue_release 1
%define gname haclient
%define uname hacluster
%define nogroup nobody
# some more fixes needed from upstream before this can become yes
%define warnings_fatal no
# newer fedora distros have _pkgdocdir, rely on that when
# available
%{!?_pkgdocdir: %global _pkgdocdir %%{_docdir}/%{name}-%{version}}
# Directory where we install documentation
%global glue_docdir %{_pkgdocdir}
# When downloading directly from Mercurial, it will automatically add this prefix
# Invoking 'hg archive' wont but you can add one with: hg archive -t tgz -p "Reusable-Cluster-Components-" -r $upstreamversion $upstreamversion.tar.gz
%global upstreamprefix Reusable-Cluster-Components-
%global upstreamversion d97b9dea436e
Name: cluster-glue
Summary: Reusable cluster components
License: GPL-2.0+ and LGPL-2.1+
Group: System Environment/Base
Version: 1.0.12
Release: %{?glue_release}.16.1
Url: http://www.linux-ha.org/wiki/Cluster_Glue
Source: cluster-glue.tar.bz2
Patch1: bug-694243_cluster-glue_symbol-conflict.patch
Patch2: bnc662816_cluster-glue_hb_report_abspath.patch
Patch4: cluster-glue_droplrm.patch
Requires: cluster-glue-libs = %{version}-%{release}
Requires: perl-TimeDate
Requires: sudo
# The following is necessary since sbd is dropped from
# cluster-glue itself:
Requires: sbd
# Directives to allow upgrade from combined heartbeat packages in Fedora11
Provides: heartbeat-pils = 3.0.0-1
Provides: heartbeat-stonith = 3.0.0-1
Obsoletes: heartbeat-common
Obsoletes: heartbeat-pils < 3.0.0-1
Obsoletes: heartbeat-stonith < 3.0.0-1
Conflicts: pacemaker < 1.1.8
## Setup/build bits
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Build dependencies
BuildRequires: OpenIPMI-devel
BuildRequires: asciidoc
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bzip2-devel
BuildRequires: docbook-dtds
BuildRequires: docbook-style-xsl
BuildRequires: glib2-devel
BuildRequires: libaio-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: libxslt
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: which
BuildRequires: libcurl-devel
%if 0%{?fedora_version}
# Not present on CentOS or RHEL
BuildRequires: libnet-devel
%endif
BuildRequires: libtool-ltdl-devel
BuildRequires: net-snmp-devel >= 5.4
BuildRequires: openhpi-devel
BuildRequires: libuuid-devel
%prep
%setup -q -n cluster-glue
%patch1 -p1
%patch2 -p1
%patch4 -p1
###########################################################
CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
export CFLAGS
./autogen.sh
%configure \
--enable-fatal-warnings=%{warnings_fatal} \
--with-daemon-group=%{gname} \
--with-daemon-user=%{uname} \
--localstatedir=%{_var} \
--libdir=%{_libdir} \
%if %{defined _unitdir}
--with-systemdsystemunitdir=%{_unitdir} \
%endif
--docdir=%{glue_docdir}
%build
make %{?jobs:-j%jobs} docdir=%{glue_docdir}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} docdir=%{glue_docdir}
## tree fix up
# Dont package static libs
find %{buildroot} -name '*.a' -exec rm {} \;
find %{buildroot} -name '*.la' -exec rm {} \;
%clean
rm -rf %{buildroot}
# cluster-glue
%description
A collection of common tools that are useful for writing cluster managers
such as Pacemaker.
Provides a local resource manager that understands the OCF and LSB
standards, and an interface to common STONITH devices.
%files
%defattr(-,root,root)
%dir %{_datadir}/%{name}
%if %{defined _unitdir}
%{_unitdir}/logd.service
%else
%{_sysconfdir}/init.d/logd
%endif
%{_datadir}/%{name}/ha_cf_support.sh
%{_datadir}/%{name}/openais_conf_support.sh
%{_datadir}/%{name}/utillib.sh
%{_datadir}/%{name}/ha_log.sh
%{_sbindir}/ha_logger
%{_sbindir}/hb_report
#%{_sbindir}/lrmadmin
%{_sbindir}/cibsecret
%{_sbindir}/meatclient
%{_sbindir}/stonith
%dir %{_libdir}/heartbeat
%dir %{_libdir}/heartbeat/plugins
%dir %{_libdir}/heartbeat/plugins/RAExec
%dir %{_libdir}/heartbeat/plugins/InterfaceMgr
%dir %{_libdir}/heartbeat/plugins/compress
#%{_libdir}/heartbeat/lrmd
%{_libdir}/heartbeat/ha_logd
%{_libdir}/heartbeat/plugins/RAExec/*.so
%{_libdir}/heartbeat/plugins/InterfaceMgr/*.so
%{_libdir}/heartbeat/plugins/compress/*.so
%dir %{_libdir}/stonith
%dir %{_libdir}/stonith/plugins
%dir %{_libdir}/stonith/plugins/stonith2
%{_libdir}/stonith/plugins/external
%{_libdir}/stonith/plugins/stonith2/*.so
%{_libdir}/stonith/plugins/stonith2/*.py*
%exclude %{_libdir}/stonith/plugins/external/ssh
%exclude %{_libdir}/stonith/plugins/stonith2/null.so
%exclude %{_libdir}/stonith/plugins/stonith2/ssh.so
%{_libdir}/stonith/plugins/xen0-ha-dom0-stonith-helper
%dir %{_var}/lib/heartbeat
%dir %{_var}/lib/heartbeat/cores
%dir %attr (0700, root, root) %{_var}/lib/heartbeat/cores/root
%dir %attr (0700, nobody, %{nogroup}) %{_var}/lib/heartbeat/cores/nobody
%dir %attr (0700, %{uname}, %{gname}) %{_var}/lib/heartbeat/cores/%{uname}
%{_mandir}/man1/*
%{_mandir}/man8/*
%doc doc/stonith/README*
%doc logd/logd.cf
%doc AUTHORS
%doc COPYING
%doc ChangeLog
# cluster-glue-libs
%package -n cluster-glue-libs
Summary: Reusable cluster libraries
Group: Development/Libraries
Obsoletes: libheartbeat2
%description -n cluster-glue-libs
A collection of libraries that are useful for writing cluster managers
such as Pacemaker.
%pre
getent group %{gname} >/dev/null || groupadd -r %{gname}
getent passwd %{uname} >/dev/null || \
useradd -r -g %{gname} -d %{_var}/lib/heartbeat/cores/hacluster -s /sbin/nologin \
-c "cluster user" %{uname}
exit 0
%if %{defined _unitdir}
%post
%systemd_post logd.service
%preun
%systemd_preun logd.service
%postun
%systemd_postun_with_restart logd.service
%endif
%post -n cluster-glue-libs -p /sbin/ldconfig
%postun -n cluster-glue-libs -p /sbin/ldconfig
%files -n cluster-glue-libs
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%doc AUTHORS
%doc COPYING.LIB
# cluster-glue-libs-devel
%package -n cluster-glue-libs-devel
Summary: Headers and libraries for writing cluster managers
Group: Development/Libraries
Requires: cluster-glue-libs = %{version}-%{release}
Obsoletes: libheartbeat-devel
%description -n cluster-glue-libs-devel
Headers and shared libraries for a useful for writing cluster managers
such as Pacemaker.
%files -n cluster-glue-libs-devel
%defattr(-,root,root)
%dir %{_libdir}/heartbeat/plugins
%dir %{_libdir}/heartbeat/plugins/test
%dir %{_libdir}/heartbeat
%dir %{_datadir}/%{name}
%{_libdir}/lib*.so
%{_libdir}/heartbeat/ipctest
%{_libdir}/heartbeat/ipctransientclient
%{_libdir}/heartbeat/ipctransientserver
%{_libdir}/heartbeat/transient-test.sh
%{_libdir}/heartbeat/base64_md5_test
%{_libdir}/heartbeat/logtest
%{_includedir}/clplumbing
%{_includedir}/heartbeat
%{_includedir}/stonith
%{_includedir}/pils
#%{_datadir}/%{name}/lrmtest
%{_libdir}/heartbeat/plugins/test/test.so
%{_libdir}/stonith/plugins/external/ssh
%{_libdir}/stonith/plugins/stonith2/null.so
%{_libdir}/stonith/plugins/stonith2/ssh.so
%doc AUTHORS
%doc COPYING
%doc COPYING.LIB
%changelog
* Fri Jul 18 2014 dmuhamedagic@suse.com
- update the tag to glue-1.0.12
- hb_report: add -Q option for quick runs
- hb_report: dot is not illegal in file names (bnc#884079, deb#715391)
- build: update spec files for systemd
- hb_report: update interface to zypper
- hb_report: support logs with varied timestamps
- stonith: external/vcenter: add parameter for SSL hostname
verification (bnc#851990)
- hb_report: fix ssh passwords again (bnc#867365)
- hb_report: Don't use deprecated corosync-fplay (bnc#870913)
- logd: Add systemd unit file for logd (bnc#863248)
- hb_report: Add support for xz compression (bnc#854060)
- upstream cs: glue-1.0.12
* Thu Oct 3 2013 dmuhamedagic@suse.com
- update the tag to glue-1.0.12-rc1
- since lrm bits are not compiled, this package conflicts with
pacemaker < 1.1.8
* Thu Sep 26 2013 dmuhamedagic@suse.com
- clplumbing: increase listen backlog to 128
- upstream cs: 1.0.12-rc1
* Wed Sep 18 2013 lmb@suse.com
- Change to recommend sbd instead of requiring it to avoid dependency
loop.
* Thu Aug 29 2013 dmuhamedagic@suse.com
- hb_report: fix test for the root user
- hb_report: add support for the rfc5424 syslog date format
- hb_report: add -X option for extra ssh options (fate#314906)
- hb_report: adjust for more pacemaker directories moving
- hb_report: Add "sudo" to package requirements (bnc#823087)
- stonith: external/libvirt: fix exit code in reset
- stonith: external/vcenter: do not list vms in status (bnc#825765)
- Fix gcc warning about wrong typecast on i586.
- fix various gcc warnings
- upstream cs: 8acfc748667a
* Mon May 13 2013 dmuhamedagic@suse.com
- stonith: fix memory leak in external.c
- stonith: use 0 for the unique parameters attribute in most
agents
- upstream cs: 27019ba6670d
* Thu Mar 28 2013 dmuhamedagic@suse.com
- hb_report: ignore differences in white space
- upstream cs: 8347e8c9b94f
* Thu Mar 14 2013 dmuhamedagic@suse.com
- hb_report: enable ssh to prompt for passwords (bnc#808373)
- hb_report: do not assume that this is a loghost if the number
of entries equals 1
- upstream cs: 3cff550e1084
* Mon Feb 25 2013 dmuhamedagic@suse.com
- hb_report: reduce severity of several info messages (bnc#804704)
- upstream cs: 0c0bd21916ce
* Mon Feb 11 2013 dmuhamedagic@suse.com
- hb_report: collect RA trace files
- hb_report: look for nodes in the archived CIB if pacemaker is
not running
- upstream cs: ee43da63fc88
* Fri Feb 8 2013 dmuhamedagic@suse.com
- hb_report: fix false disk full errors
- upstream cs: afd858980b16
* Fri Feb 1 2013 dmuhamedagic@suse.com
- hb_report: exit early on disk full (FATE#313815)
- hb_report: create links instead of copying PE inputs
(FATE#313815)
- drop LRM bits (bnc#800095)
- upstream cs: 54ec848c439e
* Sat Dec 15 2012 dmuhamedagic@suse.com
- stonith: external/libvirt: don't log if status succeeded
- stonith: if debug's not set, do not send debug messages
to the logger (bnc#792124)
- hb_report: readd description fields to description.txt (SUSE)
- hb_report: do zypper ref before trying to get packages
- stonith: log status message at the debug level (bnc#792124)
- stonith: don't always log debug level messages (bnc#792124)
- stonith: external/vcenter: fix gethosts to produce list of
nodes not vms (bnc#792704)
- Upstream version cs: 67224d37df80
* Mon Nov 19 2012 dmuhamedagic@suse.com
- this release has code to support Pacemaker v1.1.8
* Tue Oct 16 2012 dmuhamedagic@suse.com
- lrmd: set max-children depending on the number of processors
- lrmd: don't send parameters from ops back to crmd
- stonith: external/libvirt: support for reboot reset method
- stonith: external/virsh: update test for virsh output
- stonith: external/libvirt: add more search strings for domain
start and stop
- hb_report: node's type got optional
- hb_report: make use of bash trace features
- hb_report: compatibility code for pacemaker v1.1.8
- build: link libstonith with stonith2 agents
- Upstream version cs: 02bdcf58f9a0 (glue-1.0.11)
* Tue Oct 16 2012 coolo@suse.com
- add explict buildrequire on libbz2-devel
* Mon Jul 16 2012 dmuhamedagic@suse.com
- set version to 1.0.10
- stonith: external/libvirt: add more search strings for domain
start and stop
- Upstream version cs: 18489f275f75
* Mon Jul 9 2012 dmuhamedagic@suse.com
- clplumbing: cl_msg: revert max message size to 256Kb
- clplumbing: fix memleak for Gmain_timeout
- stonith: rhcs: avoid false error if parameter isn't set
- stonith: rhcs: pass the action via stdin too
- hb_report: add node time information
- hb_report: get corosync blackbox records if available
- hb_report: make sure that work directory gets removed
- hb_report: improve performance
- sbd: Debug mode added (bnc#753559, bnc#738295)
- sbd: Handle IO errors during slot allocation properly
(bnc#753559)
- sbd: Explicitly inform the master process about IO problems on
the child (bnc#738295)
- sbd: Make servant restart logic more robust and verbose
(bnc#738295)
- sbd: Use async IO for disk reads to increase resilience against
hung IO (bnc#738295)
- logd: add try-restart action to the logd init script
(allows logd restart on upgrades)
- update regression tests
- Upstream version cs: fc64670fd789
* Thu Mar 22 2012 aspiers@suse.com
- add dependency on perl-TimeDate for hb_report (bnc#753562)
* Wed Mar 21 2012 dmuhamedagic@suse.com
- clplumbing: cl_msg: increase max message size to 512Kb
- clplumbing: cl_msg: increase compression threshold
- clplumbing: cl_msg: don't use traditional compression by default
- clplumbing: cl_msg: try compressing message before rejecting it as too big
- clplumbing: load bz2 compression module by default
- clplumbing: ipc: fix message size checks (bnc#752231)
- stonith: external/vcenter: return list of configured hosts on gethosts
- Upstream version cs: 6766d7061071
* Tue Mar 13 2012 dmuhamedagic@suse.com
- LRM: lrmd: add basic authentication (lf#2547)
- LRM: lrmd: if set, get max-children from the LRMD_MAX_CHILDREN environment var
- hb_report: add /etc/booth/booth.conf to the list of configurations (bnc#750049)
- Upstream version cs: 58686d5ae302
* Thu Feb 2 2012 dmuhamedagic@suse.com
- logd: remove runlevel 4 from the LSB info section in the logd
init script (bnc#744120)
- Upstream version cs: d8c154589a16
* Mon Jan 16 2012 dmuhamedagic@suse.com
- stonith: adjust timeouts in the meta-data template (bnc#733337)
- Upstream version cs: 3efdcb8fc3af
* Mon Jan 9 2012 tserong@suse.com
- Only include glib.h in cl_uuid.h (don't directly use glib/gtypes.h)
* Mon Dec 12 2011 dmuhamedagic@suse.com
- hb_report: set back the default destination to current directory
- stonith: don't complain if rhcs plugins are not installed
- update release to 1.0.9
- Upstream version cs: ce78649ed7ea
* Fri Nov 25 2011 dmuhamedagic@suse.com
- LRM: lrmd: set op status to cancelled for running monitor operations
- stonith: add CRM stonith resource name to log messages
- stonith: external/ipmi: add the priv parameter (ipmitool -L)
- stonith: external/ipmi: add missing double quote
- ha_log: increase MAXENTITY size to accommodate long stonith strings
- Upstream version cs: 7583026c6ace
* Mon Nov 7 2011 dmuhamedagic@suse.com
- hb_report: improve destination directory handling (bnc#727295)
- Upstream version cs: 4b08977bece3
* Mon Oct 24 2011 dmuhamedagic@suse.com
- hb_report: add StrictHostKeyChecking=no to ssh options
- hb_report: better handling of corrupt logs
- hb_report: don't ssh to nodes which are unreachable
- Upstream version cs: 3b800f73ba59
* Thu Oct 20 2011 dmuhamedagic@suse.com
- stonith: load libplumb symbols manually (fixes ipmilan) (bnc#694243)
- hb_report: use absolute path when invoking slaves (bnc#662816)
- clplumbing: fix for cl_times() wraparound and subsequent crash
with 32bit clock_t on 64bit systems (lf#2596)
- set release to 1.0.8
- Upstream version cs: 5ea7e344a633 (1.0.8)
* Mon Oct 10 2011 dmuhamedagic@suse.com
- Upstream version cs: f1d722d9cef1
* Mon Oct 10 2011 dmuhamedagic@suse.com
- LRM: cibsecret: add StrictHostKeyChecking=no to ssh options
- LRM: cibsecret: allow set if the parameter is already stashed
- LRM: cibsecret: better handling of ssh failures
- stonith: external/ipmi: add parameter to specify ipmitool location
* Tue Sep 20 2011 tserong@suse.com
- LRM: cibsecret: use crm_resource instead of crm (bnc#709758)
- LRM: cibsecret: allow management of local files only
- hb_report: run df(1) in background lest it blocks everything else
- hb_report: improve detecting ssh user
- LRM: lrmd: limit number of "stayed too long in operation list" log
messages (bnc#636576)
- hb_report: don't invoke zypper with no packages
- hb_report: enforce removing destination directory with -Z
- LRM: cibsecret: keep pssh quiet
- LRM: cibsecret: refactor remote shell code
- hb_report: install debuginfo packages on platforms with zypper
(bnc#641979)
- hb_report: put remote command on the line instead of using pipe
(bnc#662816)
- stonith: external: reduce severity of messages on status failure
(bnc#700102)
- LRM: lrmd: allow storing parameters in local files (lf#2415)
- hb_report: use sudo for remove collectors if connecting with user
other than root
- hb_report: add .info files with the last byte pos for all logs
- lrmd: improve operation logging
- stonith: external/vcenter: new plugin
- stonith: hetzner: new external stonith plugin
- stonith: prevent symbol conflict with libcrypto (lf#2571, bnc#694243)
- stonith: external/ipmi: fix unique parameters' attributes
- sbd: Maximize scheduler and IO priority in the child processes
(bnc#702907)
- sbd: Stop cleanly if watchdog cannot be opened, even if a worker
thread has already started (bnc#680109)
- sbd: now supports 1, 2, or 3 devices (bnc#682634, fate#309375)
- sbd: worker processes indicate their device in ps
- sbd: Restart servants a maximum of ten times in succession
- sbd: Restart all dead servants once per hour (configurable via -t option).
- sbd: The restart interval can be shortened by sending SIGUSR1 to the sbd
server process to restart everything at once.
- sbd: Improved handling of just two devices (three is recommended).
- sbd: Make failing to initalize the watchdog timeout annoying, but
non-fatal.
- sbd: Abort if watchdog cannot be opened (bnc#680109)
- external/sbd: default to value from /etc/sysconfig/sbd if sbd_device
is not set.
- external/sbd: support "crashdump" debug setting to cause a kernel
crash instead of a reboot.
- Upstream version cs: 45b21f952b0f
* Sat Sep 17 2011 jengelh@medozas.de
- Remove redundant tags/sections from specfile
- Add baselibs configuration
* Fri Mar 11 2011 coolo@novell.com
- prereq sysvinit services and don't start in !network runlevels
* Tue Feb 8 2011 tserong@novell.com
- LRM: raexecocf: list resource agents properly (bnc#664409)
- sbd: Fix timeout setting on archs where int != long (bnc#635690)
- stonith: external/libvirt: new plugin for libvirt virtualization
technologies
- upstream version cs: 3e3d209f9217
* Mon Feb 7 2011 ro@suse.de
- update to 1.0.7
- clplumbing: ipc: adjust socket buffers size when adjusting ipc queue length
- logd: add a SIGHUP signal handler to timely close/open log files
- logd: use buffered io with fflush and fsync
- logd: reopen logfiles on inode change (logrotate)
- clplumbing: cl_log: keep logfiles open, but default to non-buffered io (lf#2470)
- clplumbing: cl_log: add new optional common syslog message prefix
- stonith: use ST_DEVICEID for the short description in meta-data
- stonith: external: interpret properly exit codes from external stonith
plugins (bnc#630357)
- stonith: external: avoid false out of memory error if a parameter isn't set (bnc#646205)
- stonith: external: check if PATH already contains GLUE_SHARED_DIR
(memory leak, lf#2484)
- stonith(8): reduce the number of stonith plugin invocations (bnc#630357)
- stonith(8): use cl_log for logging if invoked by stonithd (pcmk 1.1)
- stonith: external/sbd: make sbd use realtime priority for IO (works only with CFQ)
- stonith: cyclades: add the serial_port parameter to the meta-data
- stonith: external/riloe: add support for http proxies
- stonith: external/ipmi: provide opt param "passwd_method" to hide
the ipmi password from config and logs
- stonith: external/nut: support for the Network UPS Tools
- stonith: external/rackpdu: remove displaced local command
- stonith: rcd_serial: rename dtr|rts parameter to dtr_rts
- configure: test for POSIX signals (fixes rcd_serial)
* Tue Nov 23 2010 coolo@novell.com
- build against libnet-devel on 11.4
* Thu Aug 12 2010 lmb@novell.com
- stonith: Reduce logging.
- stonith: Improve response times by avoiding unnecessary queries to
plugins (bnc#630357)
- stonith: external: interpret properly exit codes from external stonith
plugins (bnc#630357)
- Upstream version cs: a146a145a3e
* Wed Aug 4 2010 lmb@novell.com
- sbd: increase IO priority to improve behaviour under load; it will
take precedence over all other IO (FATE#310113).
This requires the sbd device to use the CFQ scheduler for full effect.
- Upstream version cs: fb42b94f6f05
* Fri Jul 16 2010 dmuhamedagic@novell.com
- fix a wrong function declaration
- Upstream version cs: 8286b46c91e3
* Fri Jul 9 2010 dmuhamedagic@novell.com
- set version to 1.0.6
- ha_logger: log strings longer than 1024
- lrmd: don't allow cancelled operations to get back to the repeating op
list (lf#2417)
- lrmd: exclude stonith resources from child count (bnc#612387)
- lrmd,clientlib: asynchronous resource delete notification (lf#2439)
- stonith: add -V (version) to stonith
- stonith: add -E option to get the configuration from the environment
- stonith: ha_log: feed the message to stdout and not on command line
- stonith: external/sbd,xen0: fix wrong reference from ha_log to
ha_log.sh (deb#585120)
- stonith: external/rackpdu: check the snmpset and snmpwalk exit codes
- hb_report: create cib.txt after sanitizing the CIB (lf#2415)
- doc: generate lrmadmin.8 from the help text
- upstream version: stable release 1.0.6 (cs: 1c54d2895647)
* Wed May 12 2010 lmb@novell.com
- clplumbing: don't unlink uninitialized socket paths (reported by
valgrind)
- external/sbd: Make monitoring simpler and more resilient (bnc#600593)
- Upstream version cs: 1448deafdf79
* Mon May 10 2010 lmb@novell.com
- lrmd: really remove operation history on client unregister
- Upstream version cs: 6cf2e36df9f4
* Mon May 10 2010 lmb@novell.com
- hb_report: collect drbd configuration (lf#2411)
- sbd: Print a warning if latency exceeds threshold, so that
administrators get a warning before the watchdog suicide is triggered
(bnc#600593)
- Upstream version cs: 4038a0c5b3eb
* Mon Apr 26 2010 lmb@novell.com
- external/ssh: move to devel package as well.
* Mon Apr 26 2010 dmuhamedagic@novell.com
- clplumbing: add again uid/gid for processes for authentication
(the new fields are at the end of the struct; the users of the
new fields may require library version 2.1.0)
* Thu Apr 15 2010 dmuhamedagic@novell.com
- clplumbing: revert patch 81ad41d14f72 to preserve the ABI
- upstream version 1.0.5 (cs d044096fe060)
* Mon Apr 12 2010 dmuhamedagic@novell.com
- stonith: external/sbd: fix status operation
- stonith: new external/ippower9258 plugin
- hb_report: update event patterns for corosync
- clplumbing: fix memory leak in cl_msg/lrmd (lf#1841,2389)
- upstream version cs: faada7f3d069
* Mon Mar 29 2010 dmuhamedagic@novell.com
- stonith: external/ibmrsa-telnet: fix ha_log.sh invocation
- stonith: external/ibmrsa-telnet: fix expect regex
- stonith: external/ipmi: make reset work when the node is off
- lrmd: check if tables exist before free_str_table and prevent
segfault (bnc#587887)
- upstream version cs: f32cdc9c63b7
* Sun Mar 21 2010 lmb@novell.com
- lrmd: fix possible null pointer dereference
- hb_report: don't create dot files if there are more than 20 PE files
- stonith: external/riloe: log error message on unrecognized power
method
- clplumbing: Add identity info of the user on the other side of socket
- upstream version cs: 6750314917db
* Mon Mar 15 2010 dmuhamedagic@novell.com
- hb_report: make dot and png files for PE inputs (if there are
not too many)
- hb_report: do not filter CIB/PE files by default (use -s to
force filtering)
- hb_report: add -Z option to force destination directory cleanup
- upstream version cs 5e7284501da6
* Mon Mar 8 2010 lmb@novell.com
- Ensure logd is restarted on update.
* Wed Mar 3 2010 lmb@novell.com
- Move external/ssh back to main package.
* Wed Mar 3 2010 dmuhamedagic@novell.com
- move also external/ssh stonith plugin to the devel package
* Wed Mar 3 2010 dmuhamedagic@novell.com
- upstream version cs 24691b945b0c
- hb_report: allow for default destination
- hb_report: when creating cts reports get information from the log
- hb_report: new option -d to keep the directory
* Mon Mar 1 2010 lmb@novell.com
- Move null and ssh stonith plugins to devel package, since they should
never be used in production.
* Mon Feb 22 2010 dmuhamedagic@novell.com
- upstream version cs eae640f444ad
- hb_report: don't give up early when creating backtraces (lf#2350)
- clplumbing: Fix erroneous "Stack hogger failed 0xffffffff" warnings
- lrmd: raise severity from debug to info for some log messages
- lrmd: on shutdown exit once all operations finished (lf#2340)
- lrmd: don't add the cancel option in flush to the running operations (bnc#578644)
* Thu Feb 4 2010 dmuhamedagic@novell.com
- new upstream 1.0.3 (forgotten version update in configure.ac)
* Thu Feb 4 2010 dmuhamedagic@novell.com
- upstream version 1.0.3
- lrmd: don't flush operations which don't belong to the requesting client (lf#2161)
* Wed Jan 27 2010 lmb@novell.com
- Conflicts with heartbeat legacy packages needed to be versioned
properly.
* Fri Jan 22 2010 lmb@novell.com
- Move the disablement of fatal warnings to an RPM section where it
actually has an effect.
* Wed Jan 20 2010 dmuhamedagic@novell.com
- disable fatal warnings for ia64, ppc, and ppc64
* Mon Jan 11 2010 lmb@novell.com
- Disable fatal warnings.
* Mon Jan 11 2010 dmuhamedagic@novell.com
- upstream version cs: b75bd738dc09
+ lrmd: lookup clients by name (LF 2161)
* Tue Dec 29 2009 dmuhamedagic@novell.com
- upstream version cs: ce57c3d4ecfc
+ stonith: meatclient: add -w option to wait until we can connect
- start logd by default
- add preun, postun scripts for init.d scripts maintenance
- replace Conflicts with Provides
* Mon Dec 28 2009 dmuhamedagic@novell.com
- add Conflicts to the .spec files
* Wed Dec 23 2009 dmuhamedagic@novell.com
- Upstream version glue-1.0.2-rc2a
+ stonith: external plugins log using ha_log.sh (LF 2294,1971)
+ stonith: external: log messages immediately on manage and status calls
+ stonith: external/dracmc-telnet: new stonith plugin for Dell
+ Drac/MC Blade Enclosure and Cyclades terminal server
+ stonith: external/riloe: make sure that host is turned on after power
+ off/on reset (LF 2282)
+ stonith: external/riloe: workaround for the iLO double close of RIBCL
+ element (bnc#553340)
+ stonith: cyclades: fix for support for newer PM10 firmware (LF 1938)
+ stonith: add -m option to stonith(8) to display metadata
+ stonith: add support for RHCS fence agents
+ LRM: raexec: close the logd fd too when executing agents (LF 2267)
+ LRM: lrmd: fix return code on LSB class RA exec failure (LF 2194)
+ hb_report: add -V (version) option
+ hb_report: add support for corosync
+ hb_report: add -v option (debugging)
+ hb_report: log/events combining
in case nodes are logging to their
local syslog, hb_report will produce a combined log and event file
(sorted by date)
* Tue Dec 22 2009 tserong@novell.com
- /usr/share/heartbeat replaced with /usr/share/cluster-glue
* Tue Dec 22 2009 tserong@novell.com
- Upstream version cs: 4858a290f062
* Thu Dec 10 2009 "[email protected]"
- Upstream version cs: c19cff3f4bbb
* Tue Dec 8 2009 "[email protected]"
- lrmd: restore reset scheduler for children (bnc#551971)
- hb_report: "glibc" version also reported to detect mismatched
installs.
- stonith: external: log output if plugins (bnc#548699,bnc#553340)
- lrmd: log outcome of monitor once an hour
- lrmd: remove operation history on client unregister and flushing all
operations (lf#2161)
- Upstream version cs: 04a26c0878d8
* Sun Nov 1 2009 "[email protected]"
- stonith: sbd: fix definition of sector_size for s390x (bnc#542827).
- Upstream version cs: beb067082760
* Tue Sep 29 2009 "[email protected]"
- stonith: external/ibmrsa-telnet: add support for later RSA cards
- hb_report: add man page hb_report.8
- stonith: wti_nps: add support for internet power switch model
(bnc#539912)
- Upstream version cs: 0bf5e34337ee.
* Tue Sep 15 2009 "[email protected]"
- Rename to SLE HA 11 naming scheme.
- stonith: wti_mpc: support for MIB versions 1 and 3.
- Upstream version cs: b09aae4eeea7.
* Thu Aug 27 2009 "[email protected]"
- sbd: Nodename comparison should be case insensitive
(bnc#534445)
- sbd: describe "dump" command in help (bnc#529575).
- sbd: Accept -h (bnc#529574).
- hb_report: extract important events from the logs, and report further
state information.
- Upstream version cs: 74715a6a60e7.
* Fri Aug 21 2009 "[email protected]"
- Add logd init scripts.
- Install sbd.
- Fix-up hb_report.
- Include apcmastersnmp stonith plugin (bnc#518689).
- Include bladehpi stonith plugin (bnc#510299).
* Thu Aug 13 2009 lmb@novell.com
- Added Conflicts: with old heartbeat package layout.
- Enable IPMI and hpi support.
* Tue Aug 11 2009 abeekhof@novell.com
- Upstream version cs: aa5b5e48df62
+ Med: hb_report: report on more packages and with more state.
+ The -E option to lrmadmin does not take an argument
+ Provide a default value for docdir and ensure it is expanded
+ Low: clplumbing: fix a potential resource leak in cl_random (bnc#525393).
+ Med: hb_report: Include dlm_tool debugging information if available.
+ hb_report: Include more possible error output.
+ Ensure hb_report is built/packaged
* Wed Jul 29 2009 abeekhof@novell.com
- Fix installation of stonith docs
- Initial import of cluster-glue project after being split off from Heartbeat
- Upstream version cs: 2e136fee6761
With the fixed path:
export PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin
/bin/bash
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/usr/bin/env
/usr/bin/perl
/usr/bin/python
cluster-glue-libs = 1.0.12-1.16.1
libOpenIPMI.so.0()(64bit)
libOpenIPMIposix.so.0()(64bit)
libOpenIPMIutils.so.0()(64bit)
libbz2.so.1()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libcrypto.so.10()(64bit)
libcurl.so.4()(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libglib-2.0.so.0()(64bit)
libltdl.so.7()(64bit)
libm.so.6()(64bit)
libnetsnmp.so.31()(64bit)
libopenhpi.so.3()(64bit)
libpils.so.2()(64bit)
libplumb.so.2()(64bit)
libplumbgpl.so.2()(64bit)
librt.so.1()(64bit)
libssl.so.10()(64bit)
libstonith.so.1()(64bit)
libuuid.so.1()(64bit)
libxml2.so.2()(64bit)
libxml2.so.2(LIBXML2_2.4.30)(64bit)
libz.so.1()(64bit)
perl >= 1:5.010
perl(strict)
perl(warnings)
perl-TimeDate
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
sbd
sudo
rpmlib(PayloadIsXz) <= 5.2-1
root@int-log-04:~ 1 # yum clean all
Loaded plugins: fastestmirror, rpm-warm-cache, versionlock
Cleaning repos: base centosplus elrepo elrepo-extras elrepo-kernel epel extras ixa logstash mrmondo_pacemaker puppetlabs-deps puppetlabs-products updates
Cleaning up everything
Cleaning up list of fastest mirrors
root@int-log-04:~ # yum update
Loaded plugins: fastestmirror, rpm-warm-cache, versionlock
base | 3.6 kB 00:00:00
centosplus | 3.4 kB 00:00:00
elrepo | 2.9 kB 00:00:00
elrepo-extras | 2.9 kB 00:00:00
elrepo-kernel | 2.9 kB 00:00:00
epel | 4.3 kB 00:00:00
extras | 3.4 kB 00:00:00
ixa | 951 B 00:00:00
logstash | 951 B 00:00:00
mrmondo_pacemaker | 1.0 kB 00:00:00
puppetlabs-deps | 2.5 kB 00:00:00
puppetlabs-products | 2.5 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/13): base/7/x86_64/group_gz | 155 kB 00:00:00
(2/13): centosplus/7/x86_64/primary_db | 730 kB 00:00:00
(3/13): elrepo-extras/7/x86_64/primary_db | 4.2 kB 00:00:00
(4/13): base/7/x86_64/primary_db | 5.3 MB 00:00:00
(5/13): epel/7/x86_64/group_gz | 169 kB 00:00:01
(6/13): extras/7/x86_64/primary_db | 90 kB 00:00:00
(7/13): elrepo/7/x86_64/primary_db | 320 kB 00:00:01
(8/13): puppetlabs-deps/7/x86_64/primary_db | 8.4 kB 00:00:00
(9/13): updates/7/x86_64/primary_db | 935 kB 00:00:00
(10/13): epel/7/x86_64/updateinfo | 432 kB 00:00:01
(11/13): puppetlabs-products/7/x86_64/primary_db | 63 kB 00:00:01
(12/13): elrepo-kernel/7/x86_64/primary_db | 831 kB 00:00:03
(13/13): epel/7/x86_64/primary_db | 3.7 MB 00:00:01
(1/3): ixa/primary | 4.5 kB 00:00:00
(2/3): logstash/primary | 3.7 kB 00:00:00
(3/3): mrmondo_pacemaker/primary | 5.6 kB 00:00:02
Determining fastest mirrors
ixa 9/9
logstash 7/7
mrmondo_pacemaker 18/18
Resolving Dependencies
--> Running transaction check
---> Package cluster-glue.x86_64 0:1.0.12-1.16.1 will be updated
---> Package cluster-glue.x86_64 0:1.0.12.1-1.16.1 will be an update
---> Package cluster-glue-libs.x86_64 0:1.0.12-1.16.1 will be updated
---> Package cluster-glue-libs.x86_64 0:1.0.12.1-1.16.1 will be an update
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be updated
---> Package python.x86_64 0:2.7.5-34.el7 will be an update
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be updated
---> Package python-libs.x86_64 0:2.7.5-34.el7 will be an update
---> Package sqlite.x86_64 0:3.7.17-6.el7_1.1 will be updated
---> Package sqlite.x86_64 0:3.7.17-8.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Updating:
cluster-glue x86_64 1.0.12.1-1.16.1 mrmondo_pacemaker 274 k
cluster-glue-libs x86_64 1.0.12.1-1.16.1 mrmondo_pacemaker 135 k
python x86_64 2.7.5-34.el7 base 88 k
python-libs x86_64 2.7.5-34.el7 base 5.6 M
sqlite x86_64 3.7.17-8.el7 base 393 k
Transaction Summary
==================================================================================================================================================================================
Upgrade 5 Packages
Total download size: 6.5 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for mrmondo_pacemaker
No Presto metadata available for base
(1/5): python-2.7.5-34.el7.x86_64.rpm | 88 kB 00:00:00
(2/5): sqlite-3.7.17-8.el7.x86_64.rpm | 393 kB 00:00:00
(3/5): python-libs-2.7.5-34.el7.x86_64.rpm | 5.6 MB 00:00:00
(4/5): cluster-glue-libs-1.0.12.1-1.16.1.x86_64.rpm | 135 kB 00:00:03
(5/5): cluster-glue-1.0.12.1-1.16.1.x86_64.rpm | 274 kB 00:00:03
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.8 MB/s | 6.5 MB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : cluster-glue-libs-1.0.12.1-1.16.1.x86_64 1/10
Updating : sqlite-3.7.17-8.el7.x86_64 2/10
Updating : python-libs-2.7.5-34.el7.x86_64 3/10
Updating : python-2.7.5-34.el7.x86_64 4/10
Updating : cluster-glue-1.0.12.1-1.16.1.x86_64 5/10
Cleanup : cluster-glue-1.0.12-1.16.1.x86_64 6/10
Cleanup : python-2.7.5-18.el7_1.1.x86_64 7/10
Cleanup : python-libs-2.7.5-18.el7_1.1.x86_64 8/10
Cleanup : sqlite-3.7.17-6.el7_1.1.x86_64 9/10
Cleanup : cluster-glue-libs-1.0.12-1.16.1.x86_64 10/10
Verifying : sqlite-3.7.17-8.el7.x86_64 1/10
Verifying : cluster-glue-1.0.12.1-1.16.1.x86_64 2/10
Verifying : python-2.7.5-34.el7.x86_64 3/10
Verifying : python-libs-2.7.5-34.el7.x86_64 4/10
Verifying : cluster-glue-libs-1.0.12.1-1.16.1.x86_64 5/10
Verifying : python-libs-2.7.5-18.el7_1.1.x86_64 6/10
Verifying : python-2.7.5-18.el7_1.1.x86_64 7/10
Verifying : cluster-glue-1.0.12-1.16.1.x86_64 8/10
Verifying : sqlite-3.7.17-6.el7_1.1.x86_64 9/10
Verifying : cluster-glue-libs-1.0.12-1.16.1.x86_64 10/10
Updated:
cluster-glue.x86_64 0:1.0.12.1-1.16.1 cluster-glue-libs.x86_64 0:1.0.12.1-1.16.1 python.x86_64 0:2.7.5-34.el7 python-libs.x86_64 0:2.7.5-34.el7 sqlite.x86_64 0:3.7.17-8.el7
Complete!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jesus just had this problem again, WTF is up with CentOS python upgrades?!