pacemaker/pacemaker.spec

1044 lines
46 KiB
RPMSpec
Raw Normal View History

%global gname haclient
%global uname hacluster
%global pcmk_docdir %{_docdir}/%{name}
2013-06-20 06:29:04 +00:00
%global specversion 3
2013-06-17 00:05:13 +00:00
%global upstream_version 781a388
2011-10-06 06:11:41 +00:00
%global upstream_prefix ClusterLabs-pacemaker
2011-09-26 03:38:06 +00:00
2013-06-20 06:29:04 +00:00
%global py_site %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
2011-10-06 06:11:41 +00:00
2013-06-16 23:22:55 +00:00
# Turn off the auto compilation of python files not in the site-packages directory
# Needed so that the -devel package is multilib compliant
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
2012-02-02 05:36:03 +00:00
%global cs_major %(pkg-config corosync --modversion | awk -F . '{print $1}')
%global cs_minor %(pkg-config corosync --modversion | awk -F . '{print $2}')
2012-03-28 22:53:58 +00:00
%global rawhide %(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?)
2012-02-02 05:36:03 +00:00
2011-10-06 06:11:41 +00:00
# Conditionals
# Invoke "rpmbuild --without <feature>" or "rpmbuild --with <feature>"
# to disable or enable specific features
2011-09-26 03:38:06 +00:00
2012-08-07 22:46:33 +00:00
# Legacy stonithd fencing agents
%bcond_with stonithd
2010-05-12 11:11:52 +00:00
2011-09-26 03:38:06 +00:00
# Build with/without support for profiling tools
%bcond_with profiling
2010-11-16 13:35:07 +00:00
2012-03-28 22:53:58 +00:00
# We generate docs using Publican, Asciidoc and Inkscape, but they're not available everywhere
%bcond_without doc
2011-09-26 03:03:58 +00:00
# Use a different versioning scheme
2013-06-16 23:22:55 +00:00
%bcond_with pre_release
2013-06-20 06:29:04 +00:00
# Ship an Upstart job file
2013-06-16 23:22:55 +00:00
%bcond_with upstart_job
2011-09-26 03:38:06 +00:00
%if %{with profiling}
# This disables -debuginfo package creation and also the stripping binaries/libraries
# Useful if you want sane profiling data
%global debug_package %{nil}
%endif
2011-09-26 03:03:58 +00:00
%if %{with pre_release}
2011-10-06 06:11:41 +00:00
%global pcmk_release 0.%{specversion}.%{upstream_version}.git
2011-09-26 03:03:58 +00:00
%else
%global pcmk_release %{specversion}
%endif
2011-10-06 06:11:41 +00:00
Name: pacemaker
Summary: Scalable High-Availability cluster resource manager
2013-06-17 00:05:13 +00:00
Version: 1.1.9
2013-07-17 20:37:11 +00:00
Release: %{pcmk_release}%{?dist}.1
2011-10-06 06:11:41 +00:00
License: GPLv2+ and LGPLv2+
Url: http://www.clusterlabs.org
Group: System Environment/Daemons
# export VER={upstream_version}
# wget --no-check-certificate -O ClusterLabs-pacemaker-${VER}.tar.gz https://github.com/ClusterLabs/pacemaker/tarball/${VER}
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
2013-02-27 05:57:29 +00:00
Patch0: pacemaker-1.1.8-cast-align.patch
2013-06-20 06:29:04 +00:00
Patch1: pacemaker-7d8acec.patch
2011-10-06 06:11:41 +00:00
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
AutoReqProv: on
Requires: resource-agents
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-cluster-libs = %{version}-%{release}
Requires: %{name}-cli = %{version}-%{release}
Requires: python >= 2.4
2013-06-16 23:22:55 +00:00
2013-06-20 06:29:04 +00:00
%if %{defined systemd_requires}
%systemd_requires
2012-08-07 22:46:33 +00:00
%endif
2013-06-20 06:29:04 +00:00
%if 0%{?rhel} > 0
ExclusiveArch: i686 x86_64
2011-09-26 03:03:58 +00:00
%endif
2012-03-28 22:53:58 +00:00
%if 0%{?suse_version}
# Suse splits this off into a separate package
Requires: python-curses python-xml
BuildRequires: python-curses python-xml
%endif
# Required for core functionality
2011-10-06 06:11:41 +00:00
BuildRequires: automake autoconf libtool pkgconfig python libtool-ltdl-devel
2012-08-07 22:46:33 +00:00
BuildRequires: glib2-devel libxml2-devel libxslt-devel libuuid-devel
2012-03-28 22:53:58 +00:00
BuildRequires: pkgconfig python-devel gcc-c++ bzip2-devel pam-devel
2013-06-16 23:22:55 +00:00
# Required for agent_config.h which specifies the correct scratch directory
BuildRequires: resource-agents
# We need reasonably recent versions of libqb
BuildRequires: libqb-devel > 0.11.0
Requires: libqb > 0.11.0
2013-06-20 06:29:04 +00:00
# Enables optional functionality
BuildRequires: ncurses-devel openssl-devel libselinux-devel docbook-style-xsl
BuildRequires: bison byacc flex help2man
%if %{defined _unitdir}
BuildRequires: systemd-devel
%endif
2012-03-28 22:53:58 +00:00
%if 0%{?suse_version} >= 1100
# Renamed since opensuse-11.0
BuildRequires: libgnutls-devel
%else
BuildRequires: gnutls-devel
%endif
2012-03-28 22:53:58 +00:00
%if 0%{?fedora} > 0
%if 0%{?fedora} < 17
2011-10-06 06:11:41 +00:00
BuildRequires: clusterlib-devel
2012-03-28 22:53:58 +00:00
%endif
%endif
%if 0%{?rhel} > 0
%if 0%{?rhel} < 7
BuildRequires: clusterlib-devel
%endif
%endif
2012-02-16 10:57:51 +00:00
Requires: corosync
2011-10-06 06:11:41 +00:00
BuildRequires: corosynclib-devel
2012-08-07 22:46:33 +00:00
%if %{with stonithd}
BuildRequires: cluster-glue-libs-devel
2010-05-12 11:11:52 +00:00
%endif
2012-03-28 22:53:58 +00:00
%if !%{rawhide}
# More often than not, inkscape is busted on rawhide, don't even bother
2011-09-26 03:03:58 +00:00
2012-03-28 22:53:58 +00:00
%if %{with doc}
%ifarch %{ix86} x86_64
2012-03-28 22:53:58 +00:00
BuildRequires: publican inkscape asciidoc
2011-09-26 03:03:58 +00:00
%endif
%endif
2012-03-28 22:53:58 +00:00
%endif
%description
Pacemaker is an advanced, scalable High-Availability cluster resource
2013-06-20 06:29:04 +00:00
manager for Corosync, CMAN and/or Linux-HA.
2013-06-20 06:29:04 +00:00
It supports more than 16 node clusters with significant capabilities
for managing resources and dependencies.
It will run scripts at initialization, when machines go up or down,
when related resources fail and can be configured to periodically check
resource health.
2011-09-26 03:38:06 +00:00
Available rpmbuild rebuild options:
2013-06-20 06:29:04 +00:00
--with(out) : stonithd doc profiling pre_release upstart_job
2011-09-26 03:38:06 +00:00
2011-09-26 03:03:58 +00:00
%package cli
2011-10-06 06:11:41 +00:00
License: GPLv2+ and LGPLv2+
Summary: Command line tools for controlling Pacemaker clusters
Group: System Environment/Daemons
Requires: %{name}-libs = %{version}-%{release}
2013-06-16 23:22:55 +00:00
Requires: perl-TimeDate
2011-09-26 03:03:58 +00:00
%description cli
Pacemaker is an advanced, scalable High-Availability cluster resource
2013-06-20 06:29:04 +00:00
manager for Corosync, CMAN and/or Linux-HA.
2011-09-26 03:03:58 +00:00
2011-09-26 03:38:06 +00:00
The %{name}-cli package contains command line tools that can be used
to query and control the cluster from machines that may, or may not,
be part of the cluster.
2011-09-26 03:03:58 +00:00
%package -n %{name}-libs
2011-10-06 06:11:41 +00:00
License: GPLv2+ and LGPLv2+
Summary: Core Pacemaker libraries
Group: System Environment/Daemons
2011-09-26 03:03:58 +00:00
%description -n %{name}-libs
Pacemaker is an advanced, scalable High-Availability cluster resource
2013-06-20 06:29:04 +00:00
manager for Corosync, CMAN and/or Linux-HA.
2011-09-26 03:38:06 +00:00
The %{name}-libs package contains shared libraries needed for cluster
nodes and those just running the CLI tools.
2011-09-26 03:38:06 +00:00
%package -n %{name}-cluster-libs
2011-10-06 06:11:41 +00:00
License: GPLv2+ and LGPLv2+
Summary: Cluster Libraries used by Pacemaker
Group: System Environment/Daemons
Requires: %{name}-libs = %{version}-%{release}
2011-09-26 03:38:06 +00:00
%description -n %{name}-cluster-libs
Pacemaker is an advanced, scalable High-Availability cluster resource
2013-06-20 06:29:04 +00:00
manager for Corosync, CMAN and/or Linux-HA.
2011-09-26 03:38:06 +00:00
The %{name}-cluster-libs package contains cluster-aware shared
libraries needed for nodes that will form part of the cluster nodes.
2013-06-20 06:29:04 +00:00
%package remote
2013-06-16 23:22:55 +00:00
License: GPLv2+ and LGPLv2+
Summary: Pacemaker remote daemon for non-cluster nodes
Group: System Environment/Daemons
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-cli = %{version}-%{release}
Requires: resource-agents
2013-06-20 06:29:04 +00:00
%if %{defined systemd_requires}
%systemd_requires
%endif
2013-06-16 23:22:55 +00:00
2013-06-20 06:29:04 +00:00
%description remote
2013-06-16 23:22:55 +00:00
Pacemaker is an advanced, scalable High-Availability cluster resource
2013-06-20 06:29:04 +00:00
manager for Corosync, CMAN and/or Linux-HA.
2013-06-16 23:22:55 +00:00
The %{name}-remote package contains the Pacemaker Remote daemon
which is capable of extending pacemaker functionality to remote
nodes not running the full corosync/cluster stack.
2013-02-27 05:57:29 +00:00
%package -n %{name}-libs-devel
2011-10-06 06:11:41 +00:00
License: GPLv2+ and LGPLv2+
Summary: Pacemaker development package
Group: Development/Libraries
2013-06-16 23:22:55 +00:00
Requires: %{name}-cts = %{version}-%{release}
2011-10-06 06:11:41 +00:00
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-cluster-libs = %{version}-%{release}
2013-06-16 23:22:55 +00:00
Requires: libtool-ltdl-devel libqb-devel libuuid-devel
2013-02-27 05:57:29 +00:00
Requires: libxml2-devel libxslt-devel bzip2-devel glib2-devel
2011-10-06 06:11:41 +00:00
Requires: corosynclib-devel
2011-09-26 03:03:58 +00:00
%description -n %{name}-libs-devel
Pacemaker is an advanced, scalable High-Availability cluster resource
2013-06-20 06:29:04 +00:00
manager for Corosync, CMAN and/or Linux-HA.
2011-09-26 03:38:06 +00:00
The %{name}-libs-devel package contains headers and shared libraries
for developing tools for Pacemaker.
2011-10-06 06:11:41 +00:00
%package cts
License: GPLv2+ and LGPLv2+
Summary: Test framework for cluster-related technologies like Pacemaker
Group: System Environment/Daemons
Requires: python
2013-06-16 23:22:55 +00:00
Requires: %{name}-libs = %{version}-%{release}
2010-05-12 11:11:52 +00:00
2011-10-06 06:11:41 +00:00
%description cts
2010-05-12 11:11:52 +00:00
Test framework for cluster-related technologies like Pacemaker
2011-10-06 06:11:41 +00:00
%package doc
License: GPLv2+ and LGPLv2+
Summary: Documentation for Pacemaker
Group: Documentation
2010-05-12 11:11:52 +00:00
2011-10-06 06:11:41 +00:00
%description doc
2010-05-12 11:11:52 +00:00
Documentation for Pacemaker.
Pacemaker is an advanced, scalable High-Availability cluster resource
2013-06-20 06:29:04 +00:00
manager for Corosync, CMAN and/or Linux-HA.
2010-05-12 11:11:52 +00:00
%prep
2011-09-26 03:38:06 +00:00
%setup -q -n %{upstream_prefix}-%{upstream_version}
2013-06-17 01:23:07 +00:00
%patch0 -p1 -R
2013-06-20 06:29:04 +00:00
%patch1 -p1
2013-02-27 05:57:29 +00:00
2011-09-26 03:38:06 +00:00
# Force the local time
#
2013-06-16 23:22:55 +00:00
# 'git' sets the file date to the date of the last commit.
2011-09-26 03:38:06 +00:00
# This can result in files having been created in the future
2013-02-27 05:57:29 +00:00
# when building on machines in timezones 'behind' the one the
2011-09-26 03:38:06 +00:00
# commit occurred in - which seriously confuses 'make'
find . -exec touch \{\} \;
%build
./autogen.sh
2011-01-11 08:14:32 +00:00
2011-10-06 06:11:41 +00:00
# RHEL <= 5 does not support --docdir
docdir=%{pcmk_docdir} %{configure} \
%{?with_profiling: --with-profiling} \
--with-initdir=%{_initrddir} \
--localstatedir=%{_var} \
2012-08-07 22:46:33 +00:00
--with-version=%{version}-%{release}
2011-10-06 06:11:41 +00:00
2012-08-07 22:46:33 +00:00
make %{_smp_mflags} V=1 docdir=%{pcmk_docdir} all
%install
rm -rf %{buildroot}
2012-03-28 22:53:58 +00:00
make DESTDIR=%{buildroot} docdir=%{pcmk_docdir} V=1 install
2010-09-22 20:06:44 +00:00
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
2012-08-07 22:46:33 +00:00
mkdir -p ${RPM_BUILD_ROOT}%{_var}/lib/pacemaker/cores
2010-09-22 20:06:44 +00:00
install -m 644 mcp/pacemaker.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/pacemaker
2013-06-16 23:22:55 +00:00
%if %{with upstart_job}
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/init
install -m 644 mcp/pacemaker.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.conf
install -m 644 mcp/pacemaker.combined.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.combined.conf
%endif
2010-11-16 13:35:07 +00:00
# Scripts that should be executable
2010-02-11 10:57:32 +00:00
chmod a+x %{buildroot}/%{_datadir}/pacemaker/tests/cts/CTSlab.py
# These are not actually scripts
find %{buildroot} -name '*.xml' -type f -print0 | xargs -0 chmod a-x
find %{buildroot} -name '*.xsl' -type f -print0 | xargs -0 chmod a-x
find %{buildroot} -name '*.rng' -type f -print0 | xargs -0 chmod a-x
find %{buildroot} -name '*.dtd' -type f -print0 | xargs -0 chmod a-x
2013-02-27 05:57:29 +00:00
2011-09-26 03:38:06 +00:00
# Dont package static libs
find %{buildroot} -name '*.a' -type f -print0 | xargs -0 rm -f
find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
2011-09-26 03:38:06 +00:00
# Do not package these either
2010-05-12 11:11:52 +00:00
rm -f %{buildroot}/%{_libdir}/service_crm.so
2011-09-26 03:38:06 +00:00
2013-06-20 06:29:04 +00:00
# Don't ship init scripts for systemd based platforms
%if %{defined _unitdir}
rm -f %{buildroot}/%{_initrddir}/pacemaker
rm -f %{buildroot}/%{_initrddir}/pacemaker_remote
%endif
%if %{with profiling}
2011-09-26 03:38:06 +00:00
GCOV_BASE=%{buildroot}/%{_var}/lib/pacemaker/gcov
mkdir -p $GCOV_BASE
find . -name '*.gcno' -type f | while read F ; do
2011-10-06 06:11:41 +00:00
D=`dirname $F`
mkdir -p ${GCOV_BASE}/$D
cp $F ${GCOV_BASE}/$D
2011-09-26 03:38:06 +00:00
done
%endif
%clean
rm -rf %{buildroot}
2011-04-27 07:30:30 +00:00
%post
2013-06-20 06:29:04 +00:00
%systemd_post pacemaker.service
2011-04-27 07:30:30 +00:00
%preun
2013-06-20 06:29:04 +00:00
%systemd_preun pacemaker.service
%postun
%systemd_postun_with_restart pacemaker.service
%post remote
%systemd_post pacemaker_remote.service
%preun remote
%systemd_preun pacemaker_remote.service
%postun remote
%systemd_postun_with_restart pacemaker_remote.service
2011-04-27 07:30:30 +00:00
2012-08-07 22:46:33 +00:00
%pre -n %{name}-libs
2013-06-16 23:22:55 +00:00
getent group %{gname} >/dev/null || groupadd -r %{gname} -g 189
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u 189 -s /sbin/nologin -c "cluster user" %{uname}
2012-08-07 22:46:33 +00:00
exit 0
2011-09-26 03:03:58 +00:00
%post -n %{name}-libs -p /sbin/ldconfig
2011-09-26 03:03:58 +00:00
%postun -n %{name}-libs -p /sbin/ldconfig
2011-09-26 03:38:06 +00:00
%post -n %{name}-cluster-libs -p /sbin/ldconfig
%postun -n %{name}-cluster-libs -p /sbin/ldconfig
%files
###########################################################
%defattr(-,root,root)
2010-05-12 11:11:52 +00:00
%exclude %{_datadir}/pacemaker/tests
2010-09-22 20:06:44 +00:00
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
%{_sbindir}/pacemakerd
2011-09-26 03:38:06 +00:00
2011-09-26 03:03:58 +00:00
%if %{defined _unitdir}
%{_unitdir}/pacemaker.service
2013-06-20 06:29:04 +00:00
%else
%{_initrddir}/pacemaker
2011-09-26 03:03:58 +00:00
%endif
%{_datadir}/pacemaker
%{_datadir}/snmp/mibs/PCMK-MIB.txt
2013-06-16 23:22:55 +00:00
%exclude %{_libexecdir}/pacemaker/lrmd_test
%exclude %{_sbindir}/pacemaker_remoted
2012-02-02 05:36:03 +00:00
%{_libexecdir}/pacemaker/*
2011-09-26 03:38:06 +00:00
%{_sbindir}/crm_attribute
2011-09-26 03:03:58 +00:00
%{_sbindir}/crm_master
2011-09-26 03:38:06 +00:00
%{_sbindir}/crm_node
2011-09-26 03:03:58 +00:00
%{_sbindir}/attrd_updater
%{_sbindir}/fence_legacy
2011-10-06 06:11:41 +00:00
%{_sbindir}/fence_pcmk
%{_bindir}/ccs2cib
%{_bindir}/ccs_flatten
%{_bindir}/disable_rgmanager
2011-09-26 03:03:58 +00:00
%{_sbindir}/stonith_admin
2011-10-06 06:11:41 +00:00
%doc %{_mandir}/man7/*
%doc %{_mandir}/man8/attrd_updater.*
%doc %{_mandir}/man8/crm_attribute.*
%doc %{_mandir}/man8/crm_node.*
%doc %{_mandir}/man8/crm_master.*
%doc %{_mandir}/man8/fence_pcmk.*
%doc %{_mandir}/man8/pacemakerd.*
%doc %{_mandir}/man8/stonith_admin.*
2011-09-26 03:03:58 +00:00
%doc COPYING
%doc AUTHORS
%doc ChangeLog
2012-08-07 22:46:33 +00:00
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cib
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cores
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/pengine
2013-06-16 23:22:55 +00:00
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/blackbox
2012-03-29 03:01:15 +00:00
%ghost %dir %attr (750, %{uname}, %{gname}) %{_var}/run/crm
2011-09-26 03:03:58 +00:00
%dir /usr/lib/ocf
%dir /usr/lib/ocf/resource.d
/usr/lib/ocf/resource.d/pacemaker
2012-03-28 22:53:58 +00:00
2012-02-02 05:36:03 +00:00
%if 0%{?cs_major} < 2
%if 0%{?cs_minor} < 8
2011-09-26 03:03:58 +00:00
%{_libexecdir}/lcrso/pacemaker.lcrso
%endif
2012-02-02 05:36:03 +00:00
%endif
2011-09-26 03:03:58 +00:00
2013-06-16 23:22:55 +00:00
%if %{with upstart_job}
%config(noreplace) %{_sysconfdir}/init/pacemaker.conf
%config(noreplace) %{_sysconfdir}/init/pacemaker.combined.conf
%endif
2011-09-26 03:03:58 +00:00
%files cli
%defattr(-,root,root)
%{_sbindir}/cibadmin
%{_sbindir}/crm_diff
2012-08-07 22:46:33 +00:00
%{_sbindir}/crm_error
%{_sbindir}/crm_failcount
%{_sbindir}/crm_mon
%{_sbindir}/crm_resource
%{_sbindir}/crm_standby
%{_sbindir}/crm_verify
%{_sbindir}/crmadmin
%{_sbindir}/iso8601
%{_sbindir}/crm_shadow
2011-09-26 03:03:58 +00:00
%{_sbindir}/crm_simulate
%{_sbindir}/crm_report
%{_sbindir}/crm_ticket
%doc %{_mandir}/man8/*
2011-10-06 06:11:41 +00:00
%exclude %{_mandir}/man8/attrd_updater.*
%exclude %{_mandir}/man8/crm_attribute.*
%exclude %{_mandir}/man8/crm_node.*
%exclude %{_mandir}/man8/crm_master.*
%exclude %{_mandir}/man8/fence_pcmk.*
%exclude %{_mandir}/man8/pacemakerd.*
2013-06-16 23:22:55 +00:00
%exclude %{_mandir}/man8/pacemaker_remoted.*
2011-10-06 06:11:41 +00:00
%exclude %{_mandir}/man8/stonith_admin.*
%doc COPYING
%doc AUTHORS
2010-11-16 13:35:07 +00:00
%doc ChangeLog
2011-09-26 03:03:58 +00:00
%files -n %{name}-libs
%defattr(-,root,root)
2012-08-07 22:46:33 +00:00
%{_libdir}/libcib.so.*
2012-08-07 22:46:33 +00:00
%{_libdir}/liblrmd.so.*
%{_libdir}/libcrmservice.so.*
%{_libdir}/libcrmcommon.so.*
%{_libdir}/libpe_status.so.*
%{_libdir}/libpe_rules.so.*
%{_libdir}/libpengine.so.*
2013-06-16 23:22:55 +00:00
%{_libdir}/libstonithd.so.*
%{_libdir}/libtransitioner.so.*
2011-09-26 03:38:06 +00:00
%doc COPYING.LIB
%doc AUTHORS
%files -n %{name}-cluster-libs
%defattr(-,root,root)
%{_libdir}/libcrmcluster.so.*
2013-06-16 23:22:55 +00:00
%doc COPYING.LIB
%doc AUTHORS
2013-06-20 06:29:04 +00:00
%files remote
2013-06-16 23:22:55 +00:00
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
%if %{defined _unitdir}
%{_unitdir}/pacemaker_remote.service
2013-06-20 06:29:04 +00:00
%else
%{_initrddir}/pacemaker_remote
2013-06-16 23:22:55 +00:00
%endif
%{_sbindir}/pacemaker_remoted
%{_mandir}/man8/pacemaker_remoted.*
%doc COPYING.LIB
%doc AUTHORS
2010-05-12 11:11:52 +00:00
%files doc
%defattr(-,root,root)
%doc %{pcmk_docdir}
%files cts
%defattr(-,root,root)
2013-06-20 06:29:04 +00:00
%{py_site}/cts
2010-05-12 11:11:52 +00:00
%{_datadir}/pacemaker/tests/cts
2013-06-16 23:22:55 +00:00
%{_libexecdir}/pacemaker/lrmd_test
2010-05-12 11:11:52 +00:00
%doc COPYING.LIB
%doc AUTHORS
2011-09-26 03:03:58 +00:00
%files -n %{name}-libs-devel
%defattr(-,root,root)
2010-05-12 11:11:52 +00:00
%exclude %{_datadir}/pacemaker/tests/cts
%{_datadir}/pacemaker/tests
%{_includedir}/pacemaker
%{_libdir}/*.so
2013-06-20 06:29:04 +00:00
%if %{with profiling}
2011-09-26 03:38:06 +00:00
%{_var}/lib/pacemaker
%endif
2011-09-26 03:03:58 +00:00
%{_libdir}/pkgconfig/*.pc
%doc COPYING.LIB
%doc AUTHORS
%changelog
2013-07-17 20:37:11 +00:00
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.1.9-3.1
- Perl 5.18 rebuild
2013-06-20 06:29:04 +00:00
* Thu Jun 20 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.9-3
- Update to upstream 7d8acec
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for full details
+ Feature: Turn off auto-respawning of systemd services when the cluster starts them
+ Fix: crmd: Ensure operations for cleaned up resources don't block recovery
+ Fix: logging: If SIGTRAP is sent before tracing is turned on, turn it on instead of crashing
2013-06-17 00:05:13 +00:00
* Mon Jun 17 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.9-2
- Update for new upstream tarball: 781a388
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for full details
+ crmd: Allow remote nodes to have transient attributes
+ doc: Pacemaker Remote deployment and reference guide
+ Feature: crm_error: Add the ability to list and print error symbols
+ Feature: Pacemaker Remote Daemon for extending pacemaker functionality outside corosync cluster.
+ Feature: pengine: Allow active nodes in our current membership to be fenced without quorum
+ Feature: pengine: Display a list of nodes on which stopped anonymous clones are not active instead of meaningless clone IDs
+ Feature: pengine: Suppress meaningless IDs when displaying anonymous clone status
+ Fix: Check for and replace non-printing characters with their octal equivalent while exporting xml text
+ Fix: Convert all exit codes to positive errno values
+ Fix: Core: Ensure custom error codes are less than 256
+ Fix: Core: Correctly unreference GSource inputs
+ Fix: Core: Ensure the blackbox is saved on abnormal program termination
+ Fix: corosync: Detect the loss of members for which we only know the nodeid
+ Fix: corosync: Reduce excessive delays when resending CPG messages
+ Fix: crm_attribute: Send details on duplicate values to stdout
+ Fix: crmd: Ensure we return to a stable state if there have been too many fencing failures
+ Fix: crmd: Initiate node shutdown if another node claims to have successfully fenced us
+ Fix: crm_report: Find logs in compressed files
+ Fix: crm_simulate: Support systemd and upstart actions
+ Fix: Fencing: Restore the ability to manually confirm that fencing completed
+ Fix: lrmd: Default to the upstream location for resource agent scratch directory
+ Fix: pengine: Bug cl#5140 - Allow set members to be stopped when the subseqent set has require-all=false
+ Fix: pengine: Bug cl#5143 - Prevent shuffling of anonymous master/slave instances
+ Fix: pengine: cl#5142 - Do not delete orphaned children of an anonymous clone
+ Fix: pengine: Correctly handle resources that recover before we operate on them
+ Fix: pengine: If fencing is unavailable or disabled, block further recovery for resources that fail to stop
+ Fix: pengine: Mark unrunnable stop actions as "blocked"
+ Fix: systemd: Ensure we get shut down correctly by systemd
+ Fix: xml: Restore the ability to embed comments in the cib
2013-02-27 05:57:29 +00:00
* Wed Feb 27 2013 Andrew Beekhof <andrew@beekhof.net> 1.1.9-0.1.70ad9fa.git
- Rebuild for upstream 1.1.9 pre-release
- New upstream tarball: 70ad9fa
Changesets: 617
Diff: 1280 files changed, 88199 insertions(+), 57133 deletions(-)
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for full details
+ Fix: Fencing: Do not merge new fencing requests with stale ones from dead nodes
+ Fix: PE: Any location constraint for the slave role applies to all roles
+ Fix: crmd: Correctly determin if cluster disconnection was abnormal
+ Fix: Invoke destroy functions if we are evicted from the CPG group
+ Fix: fencing: Do not wait for the query timeout if all replies have arrived
+ Fix: crmd: Improved continue/wait logic in do_dc_join_finalize()
+ Feature: fencing: Ability to identify fencing operations with a tag
+ Fix: crmd: Detect and recover when we are evicted from CPG
+ Fix: crmd: Prevent timeouts when performing pacemaker level membership negotiation
+ Feature: crmd: Enable A_DC_JOIN_OFFER_ONE
+ Feature: ipc: Support compressed messages from clients
+ Feature: corosync: Use queues to avoid blocking when sending CPG messages
+ Fix: systemd: Gracefully handle unexpected DBus return types
+ Fix: Date/time: Bug cl#5118 - Correctly convert seconds-since-epoch to the current time
+ Fix: corosync: Correctly detect corosync 2.0 clusters even if we don't have permission to access it
+ Fix: Bug cl#5135 - Improved detection of the active cluster type
+ Fix: fencing: Correctly record completed but previously unknown fencing operations
+ Fix: crm_report: Ensure policy engine logs are found
+ High: pengine: rhbz#902459 - Remove rsc node status for orphan resources
+ High: pengine: Refresh after delete action is no long required.
+ High: pengine: Process rsc_ticket dependencies earlier for correctly allocating resources (bnc#802307)
+ High: pengine: cl#5025 - Automatically clear failcount for start/monitor failures after resource parameters change
+ Refactor: Use our custom xml-to-string function for performance
+ Feature: Compress messages that exceed the configured IPC message limit
+ Feature: Reliably detect when an IPC message size exceeds the connection's maximum
+ Feature: Use shared memory for IPC by default
+ Feature: IPC: Use queues to prevent slow clients from blocking the server
+ Refactor: Core: A faster and more consistant digest function
+ High: tools: Have crm_resource generate a valid transition key when sending resource commands to the crmd
+ High: Fencing: Only try peers for non-topology based operations once
+ High: PE: cl#5099 - Probe operation uses the timeout value from the minimum interval monitor by default (#bnc776386)
+ High: cib: Avoid use-after-free by correctly support cib_no_children for non-xpath queries
+ High: Core: Prevent use-of_NULL in IPC code
+ High: crmd: Prevent election storms caused by getrusage() values being too close
+ High: corosync: Ensure peer state is preserved when matching names to nodeids
+ High: Cluster: Preserve corosync membership state when matching node name/id entries
+ High: Fencing: Record delegated self-fencing operations in case they fail
+ High: Fencing: Correctly terminate when all device options have been exhausted
+ High: cib: Remove text nodes from cib replace operations
+ High: PE: Bug rhbz#880249 - Teach the PE how to recover masters into primitives
+ High: PE: Bug rhbz#880249 - Ensure orphan masters are demoted before being stopped
+ High: attrd: Correctly handle deletion of non-existant attributes
+ High: tools: Fixes crm_mon crash when using snmp traps.
+ High: mcp: Re-attach to existing pacemaker components when mcp fails
+ High: pengine: cl#5111 - When clone/master child rsc has on-fail=stop, insure all children stop on failure.
+ High: Replace the use of the insecure mktemp(3) with mkstemp(3)
+ High: Core: Prevent ordering changes when applying xml diffs
+ High: cib: Reduce duplication and ensure all diffs contain an md5 digest
+ High: Core: Correctly process XML diff's involving element removal
+ High: PE: Correctly unpack active anonymous clones
+ High: IPC: Bug cl#5110 - Prevent 100% CPU usage when looking for synchronous replies
+ High: PE: Bug cl#5101 - Ensure stop order is preserved for partially active groups
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2013-02-27 05:57:29 +00:00
* Wed Oct 17 2012 Jon Ciesla <limburgher@gmail.com> 1.1.8-3
- EVR fix.
* Wed Oct 17 2012 Jon Ciesla <limburgher@gmail.com> 1.1.8-2
- Fix FTBFS on ARM by removing cast-align.
* Fri Sep 21 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.8-2
2012-09-21 00:58:31 +00:00
- Rebuild for upstream 1.1.8 release
- New upstream tarball: 394e906
Changesets: 269
Diff: 218 files changed, 16188 insertions(+), 5106 deletions(-)
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for full details
2013-02-27 05:57:29 +00:00
+ High: Core: Bug cl#5032 - Rewrite the iso8601 date handling code
+ High: corosync: Use unsigned nodeid's in the cib
+ High: crmd: Correctly handle scheduled node down events
+ High: fencing: Bug cl#5092 - Always timeout stonith operations if timeout period expires.
+ High: fencing: Bug cl#5093 - Stonith per device timeout option
+ High: fencing: Bug rhbz#801355 - Abort transition on DC when external fencing operation is detected
+ High: fencing: Bug rhbz#801355 - Merge fence requests for identical operations already in progress.
+ High: fencing: Bug rhbz#801355 - Report fencing operations external of pacemaker to cib
+ High: Fencing: fence_legacy - Fix passing of parameters containing '='
+ High: fencing: Guarantee non-blocking when fetching stonith metadata
+ High: fencing: Return cached dynamic target list for busy devices.
+ High: lrmd: Cancel of recurring ops is now implied by rsc stop action.
+ High: lrmd: Bug cl#5090 - Do not block stonith monitor actions
+ High: lrmd: Bug cl#5092 - Fixes timeout value used when monitoring stonith resources
+ High: lrmd: Bug cl#5094 - Immediately report monitor errors for all stonith devices when lrmd's stonith connection fails.
+ High: PE: Bug cl#5044 - migrate_to no longer requires load_stopped due to transition loops
+ High: PE: Correctly find action definitions for anonymous clones
+ High: PE: Correctly find failcounts for /stopped/ anonymous clones
+ High: PE: Fix memory leaks found by valgrind
+ High: PE: Fix failcount expiration
2012-09-21 00:58:31 +00:00
2012-08-07 22:46:33 +00:00
* Wed Aug 8 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.8-0.1-c72d970.git
- Pre-release 1.1.8 build
+ New IPC implementation from libqb
+ New logging implementation from libqb
+ Quieter - info, debug and trace logs are no longer sent to syslog
+ Dropped dependancy on cluster-glue
+ Config and core directories no longer located in heartbeat directories
+ Support for managing systemd services
+ Rewritten local resource management daemon
+ Version bumps for every shared library due to API cleanups
+ Removes crm shell, install/use pcs shell and GUI instead
- New upstream tarball: c72d970
Changesets: 764
Diff: 2073 files changed, 102539 insertions(+), 69977 deletions(-)
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for details
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-2.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-03-29 03:01:15 +00:00
* Wed Mar 28 2012 Andrew Beekhof <andrew@beekhof.net> Pacemaker-1.1.7-2
- Reinstate the ghost directive for /var/run/crm
2012-03-28 22:53:58 +00:00
* Wed Mar 28 2012 Andrew Beekhof <andrew@beekhof.net> Pacemaker-1.1.7-1
- Update source tarball to upstream release: Pacemaker-1.1.7
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for details
2012-02-16 10:57:51 +00:00
* Thu Feb 16 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.3-7742926.git
- New upstream tarball: 7742926
- Additional Provides and Obsoletes directives to enable upgrading from heartbeat
2013-02-27 05:57:29 +00:00
- Rebuild now that the Corosync CFG API has been removed
2012-02-16 10:57:51 +00:00
* Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.2-bc7c125.git
- Additional Provides and Obsoletes directives to enable upgrading from rgmanager
2012-02-02 05:36:03 +00:00
* Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.1-bc7c125.git
- New upstream tarball: bc7c125
- Pre-release 1.1.7 build to deal with the removal of cman and support for corosync plugins
- Add libqb as a dependancy
2013-06-20 06:45:12 +00:00
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 1.1.6-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-10-06 06:11:41 +00:00
* Mon Sep 26 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-3
- New upstream tarball: 89678d4
- Move man pages to the correct subpackages
2011-09-26 03:38:06 +00:00
* Mon Sep 26 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-2
- Do not build in support for heartbeat, snmp, esmtp by default
- Create a package for cluster unaware libraries to minimze our
footprint on non-cluster nodes
- Better package descriptions
2013-06-20 06:45:12 +00:00
* Wed Sep 07 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-1
2011-09-26 03:03:58 +00:00
- Upstream release of 1.1.6
- See included ChangeLog file or http://hg.clusterlabs.org/pacemaker/1.1/file/tip/ChangeLog for details
2013-02-27 05:57:29 +00:00
- Disabled eSMTP and SNMP support. Painful to configure and rarely used.
2011-09-26 03:03:58 +00:00
- Created cli sub-package for non-cluster usage
2011-07-21 16:27:30 +00:00
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.1.5-3.2
- Perl mass rebuild
2011-07-20 09:32:53 +00:00
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.1.5-3.1
- Perl mass rebuild
2011-07-11 02:48:32 +00:00
* Mon Jul 11 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-3
- Rebuild for new snmp .so
2011-06-17 11:09:25 +00:00
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.5-2.2
- Perl mass rebuild
2011-06-10 11:44:32 +00:00
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.5-2.1
- Perl 5.14 mass rebuild
2011-04-27 12:13:21 +00:00
* Wed Apr 27 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-2
- Mark /var/run directories with ghost directive
Resolves: rhbz#656654
2011-04-27 07:30:30 +00:00
* Wed Apr 27 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-1
- New upstream release plus patches for CMAN integration
2013-02-27 05:57:29 +00:00
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-5.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-01-11 08:14:32 +00:00
* Tue Jan 11 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.4-5
- Re-enable corosync and heartbeat support with correct bcond variable
usage
* Wed Dec 8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-4
- Temporary drop publican doc build
* Wed Dec 8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-3
- Fix publican build on x86
* Wed Dec 8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-2
- Drop double source entry and 22Mb from the srpm
2010-11-16 13:35:07 +00:00
* Mon Nov 15 2010 Andrew Beekhof <andrew@beekhof.net> 1.1.4-1
- Upstream release of 1.1.4
- See included ChangeLog file or http://hg.clusterlabs.org/pacemaker/1.1/file/tip/ChangeLog for details
2010-09-29 21:56:57 +00:00
* Wed Sep 29 2010 jkeating - 1.1.3-1.1
- Rebuilt for gcc bug 634757
2013-06-20 06:45:12 +00:00
* Tue Sep 21 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.3-1
2010-09-22 20:06:44 +00:00
- Upstream release of 1.1.3
+ High: crmd: Use the correct define/size for lrm resource IDs
+ High: crmd: Bug lf#2458 - Ensure stop actions always have the relevant resource attributes
+ High: crmd: Ensure we activate the DC timer if we detect an alternate DC
+ High: mcp: Correctly initialize the string containing the list of active daemons
+ High: mcp: Fix the expansion of the pid file in the init script
+ High: mcp: Tell chkconfig we need to shut down early on
+ High: PE: Bug lf#2476 - Repair on-fail=block for groups and primitive resources
+ High: PE: Do not demote resources because something that requires it can't run
+ High: PE: Rewrite the ordering constraint logic to be simplicity, clarity and maintainability
+ High: PE: Wait until stonith is available, don't fall back to shutdown for nodes requesting termination
+ High: PE: Prevent segfault by ensuring the arguments to do_calculations() are initialized
+ High: stonith: Bug lf#2461 - Prevent segfault by not looking up operations if the hashtable hasn't been initialized yet
+ High: Stonith: Bug lf#2473 - Ensure stonith operations complete within the timeout and are terminated if they run too long
+ High: stonith: Bug lf#2473 - Gracefully handle remote operations that arrive late (after we've done notifications)
+ High: stonith: Bug lf#2473 - Add the timeout at the top level where the daemon is looking for it
+ High: stonith: Bug lf#2473 - Ensure timeouts are included for fencing operations
+ High: Stonith: Use the timeout specified by the user
+ High: Tools: Bug lf#2456 - Fix assertion failure in crm_resource
2011-07-11 02:48:32 +00:00
* Mon Jul 26 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.3-0.1-b3cb4f4a30ae.hg
- Pre-release version of 1.1.3
+ High: ais: Bug lf2401 - Improved processing when the peer crmd processes join/leave
+ High: ais: fix list of active processes sent to clients (bnc#603685)
+ High: ais: Move the code for finding uid before the fork so that the child does no logging
+ High: ais: Resolve coverity CONSTANT_EXPRESSION_RESULT defects
+ High: cib: Also free query result for xpath operations that return more than one hit
+ High: cib: Attempt to resolve memory corruption when forking a child to write the cib to disk
+ High: cib: Correctly free memory when writing out the cib to disk
+ High: cib: Fix the application of unversioned diffs
+ High: cib: Remove old developmental error logging
+ High: cib: Restructure the 'valid peer' check for deciding which instructions to ignore
+ High: Core: Bug lf#2401 - Backed out changeset 6e6980376f01
+ High: Core: Correctly unpack HA_Messages containing multiple entries with the same name
+ High: Core: crm_count_member() should only track nodes that have the full stack up
+ High: Core: New developmental logging system inspired by the kernel and a PoC from Lars Ellenberg
+ High: crmd: All nodes should see status updates, not just he DC
+ High: crmd: Allow non-DC nodes to clear failcounts too
+ High: crmd: Base DC election on process relative uptime
+ High: crmd: Bug lf#2439 - cancel_op() can also return HA_RSCBUSY
+ High: crmd: Bug lf#2439 - Handle asynchronous notification of resource deletion events
+ High: crmd: Fix assertion failure when performing async resource failures
+ High: crmd: Fix handling of async resource deletion results
+ High: crmd: Include the action for crm graph operations
+ High: crmd: Make sure the membership cache is accurate after a sucessful fencing operation
+ High: crmd: Make sure we always poke the FSA after a transition to clear any TE_HALT actions
+ High: crmd: Offer crm-level membership once the peer starts the crmd process
+ High: crmd: Only need to request quorum update for plugin based clusters
+ High: crmd: Prevent everyone from loosing DC elections by correctly initializing all relevant variables
+ High: crmd: Prevent segmentation fault
+ High: crmd: several fixes for async resource delete
+ High: mcp: Add missing headers when built without heartbeat support
+ High: mcp: New master control process for (re)spawning pacemaker daemons
+ High: PE: Avoid creating invalid ordering constraints for probes that are not needed
+ High: PE: Bug lf#1959 - Fail unmanaged resources should not prevent other services from shutting down
+ High: PE: Bug lf#2422 - Ordering dependencies on partially active groups not observed properly
+ High: PE: Bug lf#2424 - Use notify oepration definition if it exists in the configuration
+ High: PE: Bug lf#2433 - No services should be stopped until probes finish
+ High: PE: Bug lf#2453 - Enforce clone ordering in the absense of colocation constraints
+ High: PE: Correctly detect when there is a real failcount that expired and needs to be cleared
+ High: PE: Correctly handle pseudo action creation
+ High: PE: Correctly order clone startup after group/clone start
+ High: PE: Fix colocation for interleaved clones
+ High: PE: Fix colocation with partially active groups
+ High: PE: Fix potential use-after-free defect from coverity
+ High: PE: Fix previous merge
+ High: PE: Fix use-after-free in order_actions() reported by valgrind
+ High: PE: Prevent endless loop when looking for operation definitions in the configuration
+ High: Resolve coverity RESOURCE_LEAK defects
+ High: Shell: Complete the transition to using crm_attribute instead of crm_failcount and crm_standby
+ High: stonith: Advertise stonith-ng options in the metadata
+ High: stonith: Correctly parse pcmk_host_list parameters that appear on a single line
+ High: stonith: Map poweron/poweroff back to on/off expected by the stonith tool from cluster-glue
+ High: stonith: pass the configuration to the stonith program via environment variables (bnc#620781)
+ High: Support starting plugin-based Pacemaker clusters with the MCP as well
+ High: tools: crm_report - corosync.conf wont necessarily contain the text 'pacemaker' anymore
+ High: tools: crm_simulate - Resolve coverity USE_AFTER_FREE defect
+ High: Tools: Drop the 'pingd' daemon and resource agent in favor of ocf:pacemaker:ping
+ High: Tools: Fix recently introduced use-of-NULL
+ High: Tools: Fix use-after-free defect from coverity
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.2-5.1
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
2010-07-09 12:15:41 +00:00
* Fri Jul 9 2010 Dan Horák <dan[at]danny.cz> - 1.1.2-5
- re-enable AIS cluster on s390(x)
2010-07-09 10:14:21 +00:00
* Fri Jul 9 2010 Dan Horák <dan[at]danny.cz> - 1.1.2-4
- AIS cluster not available on s390(x)
* Mon Jun 21 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-3
- publican is only available as a dependancy on i386/x86_64 machines
2010-06-11 13:06:24 +00:00
* Fri Jun 11 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-2
- Resolves rhbz#602239 - Added patch to documentation so that it passes validation
- High: Core: Bug lf#2401 - Backed out changeset 6e6980376f01
2010-06-01 21:11:12 +00:00
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1.2-1.1
- Mass rebuild with perl-5.12.0
2010-05-12 11:11:52 +00:00
* Wed May 12 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-1
2013-02-27 05:57:29 +00:00
- Update the tarball from the upstream 1.1.2 release
2010-05-12 11:11:52 +00:00
+ High: ais: Bug lf#2340 - Force rogue child processes to terminate after waiting 2.5 minutes
+ High: ais: Bug lf#2359 - Default expected votes to 2 inside Corosync/OpenAIS plugin
+ High: ais: Bug lf#2359 - expected-quorum-votes not correctly updated after membership change
+ High: ais: Bug rhbz#525552 - Move non-threadsafe calls to setenv() to after the fork()
+ High: ais: Do not count votes from offline nodes and calculate current votes before sending quorum data
+ High: ais: Ensure the list of active processes sent to clients is always up-to-date
+ High: ais: Fix previous commit, actually return a result in get_process_list()
+ High: ais: Fix two more uses of getpwnam() in non-thread-safe locations
+ High: ais: Look for the correct conf variable for turning on file logging
+ High: ais: Need to find a better and thread-safe way to set core_uses_pid. Disable for now.
+ High: ais: Use the threadsafe version of getpwnam
+ High: Core: Bug lf#2414 - Prevent use-after-free reported by valgrind when doing xpath based deletions
+ High: Core: Bump the feature set due to the new failcount expiry feature
+ High: Core: Fix memory leak in replace_xml_child() reported by valgrind
+ High: Core: fix memory leaks exposed by valgrind
+ High: crmd: Bug 2401 - Improved detection of partially active peers
+ High: crmd: Bug bnc#578644 - Improve handling of cancelled operations caused by resource cleanup
+ High: crmd: Bug lf#2379 - Ensure the cluster terminates when the PE is not available
+ High: crmd: Bug lf#2414 - Prevent use-after-free of the PE connection after it dies
+ High: crmd: Bug lf#2414 - Prevent use-after-free of the stonith-ng connection
+ High: crmd: Do not allow the target_rc to be misused by resource agents
+ High: crmd: Do not ignore action timeouts based on FSA state
+ High: crmd: Ensure we dont get stuck in S_PENDING if we loose an election to someone that never talks to us again
+ High: crmd: Fix memory leaks exposed by valgrind
+ High: crmd: Remove race condition that could lead to multiple instances of a clone being active on a machine
+ High: crmd: Send erase_status_tag() calls to the local CIB when the DC is fenced, since there is no DC to accept them
+ High: crmd: Use global fencing notifications to prevent secondary fencing operations of the DC
+ High: fencing: Account for stonith_get_info() always returning a pointer to the same static buffer
+ High: PE: Allow startup probes to be disabled - their calculation is a major bottleneck for very large clusters
+ High: PE: Bug lf#2317 - Avoid needless restart of primitive depending on a clone
+ High: PE: Bug lf#2358 - Fix master-master anti-colocation
+ High: PE: Bug lf#2361 - Ensure clones observe mandatory ordering constraints if the LHS is unrunnable
+ High: PE: Bug lf#2383 - Combine failcounts for all instances of an anonymous clone on a host
+ High: PE: Bug lf#2384 - Fix intra-set colocation and ordering
+ High: PE: Bug lf#2403 - Enforce mandatory promotion (colocation) constraints
+ High: PE: Bug lf#2412 - Correctly locate clone instances by their prefix
+ High: PE: Correctly implement optional colocation between primitives and clone resources
+ High: PE: Do not be so quick to pull the trigger on nodes that are coming up
+ High: PE: Fix memory leaks exposed by valgrind
+ High: PE: Fix memory leaks reported by valgrind
+ High: PE: Repair handling of unordered groups in RHS ordering constraints
+ High: PE: Rewrite native_merge_weights() to avoid Fix use-after-free
+ High: PE: Suppress duplicate ordering constraints to achieve orders of magnitude speed increases for large clusters
+ High: Shell: add support for xml in cli
+ High: Shell: always reload status if working with the cluster (bnc#590035)
+ High: Shell: check timeouts also against the default-action-timeout property
+ High: Shell: Default to using the status section from the live CIB (bnc#592762)
+ High: Shell: edit multiple meta_attributes sets in resource management (lf#2315)
+ High: Shell: enable comments (lf#2221)
+ High: Shell: implement new cibstatus interface and commands (bnc#580492)
+ High: Shell: improve configure commit (lf#2336)
+ High: Shell: new cibstatus import command (bnc#585471)
+ High: Shell: new configure filter command
+ High: Shell: restore error reporting in options
+ High: Shell: split shell into modules
+ High: Shell: support for the utilization element (old patch for the new structure)
+ High: Shell: update previous node lookup procedure to include the id where necessary
+ High: Tools: crm_mon - fix memory leaks exposed by valgrind
2010-02-11 10:57:32 +00:00
* Thu Feb 11 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.1-0.1-60b7753f7310.hg
- Update the tarball from upstream to version 60b7753f7310
+ First public release of the 1.1 series
* Wed Dec 9 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-5
- Include patch of changeset 66b7bfd467f3:
Some clients such as gfs_controld want a cluster name, allow one to be specified in corosync.conf
* Thu Oct 29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-4
- Include the fixes from CoroSync integration testing
2010-05-12 11:11:52 +00:00
- Move the resource templates - they are not documentation
- Ensure documentation is placed in a standard location
- Exclude documentation that is included elsewhere in the package
- Update the tarball from upstream to version ee19d8e83c2a
+ High: cib: Correctly clean up when both plaintext and tls remote ports are requested
+ High: PE: Bug bnc#515172 - Provide better defaults for lt(e) and gt(e) comparisions
+ High: PE: Bug lf#2197 - Allow master instances placemaker to be influenced by colocation constraints
+ High: PE: Make sure promote/demote pseudo actions are created correctly
+ High: PE: Prevent target-role from promoting more than master-max instances
+ High: ais: Bug lf#2199 - Prevent expected-quorum-votes from being populated with garbage
+ High: ais: Prevent deadlock - dont try to release IPC message if the connection failed
+ High: cib: For validation errors, send back the full CIB so the client can display the errors
+ High: cib: Prevent use-after-free for remote plaintext connections
+ High: crmd: Bug lf#2201 - Prevent use-of-NULL when running heartbeat
+ High: Core: Bug lf#2169 - Allow dtd/schema validation to be disabled
+ High: PE: Bug lf#2106 - Not all anonymous clone children are restarted after configuration change
+ High: PE: Bug lf#2170 - stop-all-resources option had no effect
2010-05-12 11:11:52 +00:00
+ High: PE: Bug lf#2171 - Prevent groups from starting if they depend on a complex resource which cannot
+ High: PE: Disable resource management if stonith-enabled=true and no stonith resources are defined
2010-05-12 11:11:52 +00:00
+ High: PE: Do not include master score if it would prevent allocation
+ High: ais: Avoid excessive load by checking for dead children every 1s (instead of 100ms)
+ High: ais: Bug rh#525589 - Prevent shutdown deadlocks when running on CoroSync
+ High: ais: Gracefully handle changes to the AIS nodeid
+ High: crmd: Bug bnc#527530 - Wait for the transition to complete before leaving S_TRANSITION_ENGINE
+ High: crmd: Prevent use-after-free with LOG_DEBUG_3
+ Medium: xml: Mask the "symmetrical" attribute on rsc_colocation constraints (bnc#540672)
+ Medium (bnc#520707): Tools: crm: new templates ocfs2 and clvm
+ Medium: Build: Invert the disable ais/heartbeat logic so that --without (ais|heartbeat) is available to rpmbuild
+ Medium: PE: Bug lf#2178 - Indicate unmanaged clones
+ Medium: PE: Bug lf#2180 - Include node information for all failed ops
+ Medium: PE: Bug lf#2189 - Incorrect error message when unpacking simple ordering constraint
2010-05-12 11:11:52 +00:00
+ Medium: PE: Correctly log resources that would like to start but cannot
+ Medium: PE: Stop ptest from logging to syslog
+ Medium: ais: Include version details in plugin name
+ Medium: crmd: Requery the resource metadata after every start operation
2009-10-09 15:04:26 +00:00
* Fri Oct 9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.5-3
- rebuilt with new net-snmp
2009-08-21 15:11:11 +00:00
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0.5-2.1
- rebuilt with new openssl
2009-08-19 08:26:12 +00:00
* Wed Aug 19 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-2
2009-08-19 08:25:30 +00:00
- Add versioned perl dependancy as specified by
https://fedoraproject.org/wiki/Packaging/Perl#Packages_that_link_to_libperl
- No longer remove RPATH data, it prevents us finding libperl.so and no other
libraries were being hardcoded
- Compile in support for heartbeat
2013-02-27 05:57:29 +00:00
- Conditionally add heartbeat-devel and corosynclib-devel to the -devel requirements
2009-08-19 08:25:30 +00:00
depending on which stacks are supported
2009-08-17 19:14:09 +00:00
* Mon Aug 17 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-1
- Add dependancy on resource-agents
- Use the version of the configure macro that supplies --prefix, --libdir, etc
- Update the tarball from upstream to version 462f1569a437 (Pacemaker 1.0.5 final)
+ High: Tools: crm_resource - Advertise --move instead of --migrate
+ Medium: Extra: New node connectivity RA that uses system ping and attrd_updater
+ Medium: crmd: Note that dc-deadtime can be used to mask the brokeness of some switches
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.0.5-0.7.c9120a53a6ae.hg
- Use bzipped upstream tarball.
* Wed Jul 29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.6.c9120a53a6ae.hg
- Add back missing build auto* dependancies
- Minor cleanups to the install directive
* Tue Jul 28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.5.c9120a53a6ae.hg
- Add a leading zero to the revision when alphatag is used
* Tue Jul 28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.4.c9120a53a6ae.hg
- Incorporate the feedback from the cluster-glue review
- Realistically, the version is a 1.0.5 pre-release
- Use the global directive instead of define for variables
- Use the haclient/hacluster group/user instead of daemon
- Use the _configure macro
- Fix install dependancies
* Fri Jul 24 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-3
- Include an AUTHORS and license file in each package
2013-02-27 05:57:29 +00:00
- Change the library package name to pacemaker-libs to be more
Fedora compliant
- Remove execute permissions from xml related files
- Reference the new cluster-glue devel package name
- Update the tarball from upstream to version c9120a53a6ae
+ High: PE: Only prevent migration if the clone dependancy is stopping/starting on the target node
+ High: PE: Bug 2160 - Dont shuffle clones due to colocation
+ High: PE: New implementation of the resource migration (not stop/start) logic
+ Medium: Tools: crm_resource - Prevent use-of-NULL by requiring a resource name for the -A and -a options
+ Medium: PE: Prevent use-of-NULL in find_first_action()
+ Low: Build: Include licensing files
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-2
- Reference authors from the project AUTHORS file instead of listing in description
- Change Source0 to reference the project's Mercurial repo
- Cleaned up the summaries and descriptions
- Incorporate the results of Fedora package self-review
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-1
- Initial checkin