ed0026
%global gname haclient
ed0026
%global uname hacluster
ed0026
%global pcmk_docdir %{_docdir}/%{name}
ed0026
3d71c6
%global specversion 10
3d71c6
%global commit 44eb2ddf8d4f8fc05256aae2abc9fbf3ae4d1fbc
1f016a
%global shortcommit %(c=%{commit}; echo ${c:0:7})
1f016a
%global github_owner ClusterLabs
ed0026
3d71c6
%global nagios_hash 105ab8a
3d71c6
ed0026
# Turn off the auto compilation of python files not in the site-packages directory
ed0026
# Needed so that the -devel package is multilib compliant
ed0026
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
ed0026
ed0026
%global rawhide  %(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?)
ed0026
%global cs_version %(pkg-config corosync --modversion  | awk -F . '{print $1}')
ed0026
%global py_site %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")
ed0026
ed0026
# Conditionals
ed0026
# Invoke "rpmbuild --without <feature>" or "rpmbuild --with <feature>"
ed0026
# to disable or enable specific features
ed0026
ed0026
# Legacy stonithd fencing agents
ed0026
%bcond_with stonithd
ed0026
ed0026
# Build with/without support for profiling tools
ed0026
%bcond_with profiling
ed0026
ed0026
# Include Build with/without support for performing coverage analysis
ed0026
%bcond_with coverage
ed0026
ed0026
# We generate docs using Publican, Asciidoc and Inkscape, but they're not available everywhere
3d71c6
%bcond_with doc
ed0026
ed0026
# Use a different versioning scheme
ed0026
%bcond_with pre_release
ed0026
ed0026
# Ship an Upstart job file
ed0026
%bcond_with upstart_job
ed0026
ed0026
# Turn off cman support on platforms that normally ship with it
ed0026
%bcond_with cman
ed0026
ed0026
%if %{with profiling}
ed0026
# This disables -debuginfo package creation and also the stripping binaries/libraries
ed0026
# Useful if you want sane profiling data
ed0026
%global debug_package %{nil}
ed0026
%endif
ed0026
ed0026
%if %{with pre_release}
1f016a
%global pcmk_release 0.%{specversion}.%{shortcommit}.git
ed0026
%else
ed0026
%global pcmk_release %{specversion}
ed0026
%endif
ed0026
ed0026
Name:          pacemaker
ed0026
Summary:       Scalable High-Availability cluster resource manager
3d71c6
Version:       1.1.13
f3a210
Release:       %{pcmk_release}%{?dist}.4
ed0026
License:       GPLv2+ and LGPLv2+
ed0026
Url:           http://www.clusterlabs.org
ed0026
Group:         System Environment/Daemons
ed0026
3d71c6
# eg. https://github.com/ClusterLabs/pacemaker/archive/8ae45302394b039fb098e150f156df29fc0cb576/pacemaker-8ae45302394b039fb098e150f156df29fc0cb576.tar.gz
1f016a
Source0:       https://github.com/%{github_owner}/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
3d71c6
Source1:       nagios-agents-metadata-%{nagios_hash}.tar.gz
3d71c6
Patch1:        pacemaker-63f8e9a-rollup.patch
13f052
Patch2:        pacemaker-rollup-7-1-3d781d3.patch
3d71c6
Patch3:        pacemaker-rollup-3a7715d.patch
3d71c6
Patch4: 0004-Fix-crm_resource-Correctly-check-if-a-resource-is-un.patch
3d71c6
Patch5: 0005-Fix-PE-Bug-cl-5247-Imply-resources-running-on-a-cont.patch
3d71c6
Patch6: 0006-Fix-Date-Correctly-set-time-from-seconds-since-epoch.patch
3d71c6
Patch7: 0007-Test-PE-Bug-cl-5247-Imply-resources-running-on-a-con.patch
3d71c6
Patch8: 0008-Fix-tools-memory-leak-in-crm_resource.patch
3d71c6
Patch9: 0009-Fix-pengine-The-failed-action-of-the-resource-that-o.patch
3d71c6
Patch10: 0010-Log-services-Reduce-severity-of-noisy-log-messages.patch
3d71c6
Patch11: 0011-Fix-xml-Mark-xml-nodes-as-dirty-if-any-children-move.patch
3d71c6
Patch12: 0012-Feature-crmd-Implement-reliable-event-notifications.patch
3d71c6
Patch13: 0013-Fix-cman-Suppress-implied-node-names.patch
3d71c6
Patch14: 0014-Fix-crmd-Choose-more-appropriate-names-for-notificat.patch
3d71c6
Patch15: 0015-Fix-crmd-Correctly-enable-disable-notifications.patch
3d71c6
Patch16: 0016-Fix-crmd-Report-the-completion-status-and-output-of-.patch
3d71c6
Patch17: 0017-Fix-cman-Print-the-nodeid-of-nodes-with-fake-names.patch
3d71c6
Patch18: 0018-Refactor-Tools-Isolate-the-paths-which-truely-requir.patch
3d71c6
Patch19: 0019-Fix-corosync-Display-node-state-and-quorum-data-if-a.patch
3d71c6
Patch20: 0020-Fix-pacemakerd-Do-not-forget-about-nodes-that-leave-.patch
3d71c6
Patch21: 0021-Fix-pacemakerd-Track-node-state-in-pacemakerd.patch
3d71c6
Patch22: 0022-Fix-PE-Resolve-memory-leak.patch
3d71c6
Patch23: 0023-Fix-cman-Purge-all-node-caches-for-crm_node-R.patch
3d71c6
Patch24: 0024-Refactor-membership-Safely-autoreap-nodes-without-co.patch
3d71c6
Patch25: 0025-Fix-crmd-Prevent-segfault-by-correctly-detecting-whe.patch
3d71c6
Patch26: 0026-Fix-crmd-don-t-add-node-ID-to-proxied-remote-node-re.patch
3d71c6
Patch27: 0027-Fix-pacemaker_remote-memory-leak-in-ipc_proxy_dispat.patch
3d71c6
Patch28: 0028-Log-The-package-version-is-more-informative.patch
3d71c6
Patch29: 0029-Fix-crm_resource-Allow-the-resource-configuration-to.patch
3d71c6
Patch30: 0030-Log-lrmd-Improved-logging-when-no-pacemaker-remote-a.patch
3d71c6
Patch31: 0031-Fix-liblrmd-don-t-print-error-if-remote-key-environm.patch
3d71c6
Patch32: 0032-Fix-Tools-Repair-the-logging-of-interesting-command-.patch
3d71c6
Patch33: 0033-Feature-Tools-Do-not-send-command-lines-to-syslog.patch
3d71c6
Patch34: 0034-Log-cibadmin-Default-once-again-to-LOG_CRIT.patch
3d71c6
Patch35: 0035-Fix-crm_resource-Correctly-update-existing-meta-attr.patch
3d71c6
Patch36: 0036-Log-crm_resource-restart-Improved-user-feedback-on-f.patch
3d71c6
Patch37: 0037-Fix-crm_resource-Correctly-delete-existing-meta-attr.patch
3d71c6
Patch38: 0038-Fix-crm_resource-Correctly-observe-force-when-deleti.patch
0240e4
Patch39: 0039-prevent-segfault-when-logging.patch
0240e4
Patch40: 0040-update-top-format-in-HealthCPU.patch
0240e4
Patch41: 0041-delete-fence-attributes-correctly.patch
0240e4
Patch42: 0042-handle-systemd-shutdown.patch
0240e4
Patch43: 0043-cts-fix-for-command-lines.patch
0240e4
0240e4
# graceful pacemaker_remote stops
0240e4
Patch100: 0100-Refactor-lrmd-handle-shutdown-a-little-more-cleanly.patch
0240e4
Patch101: 0101-Refactor-lrmd-make-proxied-IPC-providers-clients-opa.patch
0240e4
Patch102: 0102-Refactor-crmd-lrmd-liblrmd-use-defined-constants-for.patch
0240e4
Patch103: 0103-Test-cts-simulate-pacemaker_remote-failure-with-kill.patch
0240e4
Patch104: 0104-Feature-lrmd-liblrmd-add-lrmd-IPC-operations-for-req.patch
0240e4
Patch105: 0105-Feature-crmd-support-graceful-pacemaker_remote-stops.patch
0240e4
Patch106: 0106-Feature-pacemaker_remote-support-graceful-stops.patch
0240e4
Patch107: 0107-Feature-PE-Honor-the-shutdown-transient-attributes-f.patch
0240e4
Patch108: 0108-Feature-crmd-Set-the-shutdown-transient-attribute-in.patch
0240e4
Patch109: 0109-Fix-attrd-Hook-up-the-client-name-so-we-can-track-re.patch
0240e4
Patch111: 0111-Log-crmd-Graceful-proxy-shutdown-is-now-tested.patch
0240e4
Patch112: 0112-Fix-crmd-set-remote-flag.patch
0240e4
Patch113: 0113-Fix-attrd-correct-peer-cache.patch
f3a210
Patch114: 0114-clear-remote-node-transient.patch
f3a210
f3a210
# later patches
f3a210
Patch115: 0115-crm_resource-restart-fixes.patch
f3a210
Patch116: 0116-unrunnable-clones.patch
ed0026
ed0026
BuildRoot:     %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
ed0026
AutoReqProv:   on
ed0026
Requires:      python >= 2.4
13f052
Requires:      resource-agents
ed0026
Requires:      %{name}-libs = %{version}-%{release}
ed0026
Requires:      %{name}-cluster-libs = %{version}-%{release}
ed0026
Requires:      %{name}-cli = %{version}-%{release}
ed0026
Obsoletes:     rgmanager < 3.2.0
ed0026
Provides:      rgmanager >= 3.2.0
3d71c6
Provides:      pcmk-cluster-manager
ed0026
ed0026
%if %{defined systemd_requires}
ed0026
%systemd_requires
ed0026
%endif
ed0026
ed0026
%if 0%{?rhel} > 0
1f016a
ExclusiveArch: i686 x86_64 s390x
ed0026
%endif
ed0026
ed0026
# Required for core functionality
ed0026
BuildRequires: automake autoconf libtool pkgconfig python libtool-ltdl-devel
ed0026
BuildRequires: glib2-devel libxml2-devel libxslt-devel libuuid-devel
ed0026
BuildRequires: pkgconfig python-devel gcc-c++ bzip2-devel pam-devel
ed0026
ed0026
# Required for agent_config.h which specifies the correct scratch directory
ed0026
BuildRequires: resource-agents
ed0026
ed0026
# We need reasonably recent versions of libqb
3d71c6
BuildRequires: libqb-devel > 0.17.0
3d71c6
Requires:      libqb > 0.17.0
ed0026
ed0026
# Enables optional functionality
ed0026
BuildRequires: ncurses-devel openssl-devel libselinux-devel docbook-style-xsl
7100e8
BuildRequires: bison byacc flex help2man gnutls-devel dbus-devel
ed0026
ed0026
%if %{defined _unitdir}
ed0026
BuildRequires: systemd-devel
ed0026
%endif
ed0026
ed0026
%if %{with cman}
ed0026
ed0026
%if 0%{?fedora} > 0
ed0026
%if 0%{?fedora} < 17
ed0026
BuildRequires: clusterlib-devel
ed0026
%endif
ed0026
%endif
ed0026
ed0026
%if 0%{?rhel} > 0
ed0026
%if 0%{?rhel} < 7
ed0026
BuildRequires: clusterlib-devel
ed0026
%endif
ed0026
%endif
ed0026
ed0026
%endif
ed0026
ed0026
Requires:      corosync
ed0026
BuildRequires: corosynclib-devel
ed0026
ed0026
%if %{with stonithd}
ed0026
BuildRequires: cluster-glue-libs-devel
ed0026
%endif
ed0026
ed0026
%if !%{rawhide}
ed0026
# More often than not, inkscape is busted on rawhide, don't even bother
ed0026
ed0026
%if %{with doc}
ed0026
%ifarch %{ix86} x86_64
ed0026
BuildRequires: publican inkscape asciidoc
ed0026
%endif
ed0026
%endif
ed0026
ed0026
%endif
ed0026
ed0026
%description
ed0026
Pacemaker is an advanced, scalable High-Availability cluster resource
ed0026
manager for Corosync, CMAN and/or Linux-HA.
ed0026
ed0026
It supports more than 16 node clusters with significant capabilities
ed0026
for managing resources and dependencies.
ed0026
ed0026
It will run scripts at initialization, when machines go up or down,
ed0026
when related resources fail and can be configured to periodically check
ed0026
resource health.
ed0026
ed0026
Available rpmbuild rebuild options:
ed0026
  --with(out) : cman stonithd doc coverage profiling pre_release upstart_job
ed0026
ed0026
%package cli
ed0026
License:      GPLv2+ and LGPLv2+
ed0026
Summary:      Command line tools for controlling Pacemaker clusters
ed0026
Group:        System Environment/Daemons
ed0026
Requires:     %{name}-libs = %{version}-%{release}
ed0026
Requires:     perl-TimeDate
ed0026
ed0026
%description cli
ed0026
Pacemaker is an advanced, scalable High-Availability cluster resource
ed0026
manager for Corosync, CMAN and/or Linux-HA.
ed0026
ed0026
The %{name}-cli package contains command line tools that can be used
ed0026
to query and control the cluster from machines that may, or may not,
ed0026
be part of the cluster.
ed0026
ed0026
%package -n %{name}-libs
ed0026
License:      GPLv2+ and LGPLv2+
ed0026
Summary:      Core Pacemaker libraries
ed0026
Group:        System Environment/Daemons
ed0026
ed0026
%description -n %{name}-libs
ed0026
Pacemaker is an advanced, scalable High-Availability cluster resource
ed0026
manager for Corosync, CMAN and/or Linux-HA.
ed0026
ed0026
The %{name}-libs package contains shared libraries needed for cluster
ed0026
nodes and those just running the CLI tools.
ed0026
ed0026
%package -n %{name}-cluster-libs
ed0026
License:      GPLv2+ and LGPLv2+
ed0026
Summary:      Cluster Libraries used by Pacemaker
ed0026
Group:        System Environment/Daemons
ed0026
Requires:     %{name}-libs = %{version}-%{release}
ed0026
ed0026
%description -n %{name}-cluster-libs
ed0026
Pacemaker is an advanced, scalable High-Availability cluster resource
ed0026
manager for Corosync, CMAN and/or Linux-HA.
ed0026
ed0026
The %{name}-cluster-libs package contains cluster-aware shared
ed0026
libraries needed for nodes that will form part of the cluster nodes.
ed0026
ed0026
%package remote
ed0026
License:      GPLv2+ and LGPLv2+
ed0026
Summary:      Pacemaker remote daemon for non-cluster nodes
ed0026
Group:        System Environment/Daemons
ed0026
Requires:     %{name}-libs = %{version}-%{release}
3d71c6
Requires:     %{name}-cli = %{version}-%{release}
3d71c6
Requires:     resource-agents
3d71c6
Provides:     pcmk-cluster-manager
ed0026
%if %{defined systemd_requires}
ed0026
%systemd_requires
ed0026
%endif
ed0026
ed0026
%description remote
ed0026
Pacemaker is an advanced, scalable High-Availability cluster resource
ed0026
manager for Corosync, CMAN and/or Linux-HA.
ed0026
ed0026
The %{name}-remote package contains the Pacemaker Remote daemon
ed0026
which is capable of extending pacemaker functionality to remote
ed0026
nodes not running the full corosync/cluster stack.
ed0026
ed0026
%package -n %{name}-libs-devel
ed0026
License:      GPLv2+ and LGPLv2+
ed0026
Summary:      Pacemaker development package
ed0026
Group:        Development/Libraries
ed0026
Requires:     %{name}-cts = %{version}-%{release}
ed0026
Requires:     %{name}-libs = %{version}-%{release}
ed0026
Requires:     %{name}-cluster-libs = %{version}-%{release}
ed0026
Requires:     libtool-ltdl-devel libqb-devel libuuid-devel
ed0026
Requires:     libxml2-devel libxslt-devel bzip2-devel glib2-devel
ed0026
Requires:     corosynclib-devel
ed0026
ed0026
%description -n %{name}-libs-devel
ed0026
Pacemaker is an advanced, scalable High-Availability cluster resource
ed0026
manager for Corosync, CMAN and/or Linux-HA.
ed0026
ed0026
The %{name}-libs-devel package contains headers and shared libraries
ed0026
for developing tools for Pacemaker.
ed0026
ed0026
%package      cts
ed0026
License:      GPLv2+ and LGPLv2+
ed0026
Summary:      Test framework for cluster-related technologies like Pacemaker
ed0026
Group:        System Environment/Daemons
ed0026
Requires:     python
ed0026
Requires:     %{name}-libs = %{version}-%{release}
ed0026
ed0026
%description  cts
ed0026
Test framework for cluster-related technologies like Pacemaker
ed0026
ed0026
%package      doc
ed0026
License:      GPLv2+ and LGPLv2+
ed0026
Summary:      Documentation for Pacemaker
ed0026
Group:        Documentation
ed0026
ed0026
%description  doc
ed0026
Documentation for Pacemaker.
ed0026
ed0026
Pacemaker is an advanced, scalable High-Availability cluster resource
ed0026
manager for Corosync, CMAN and/or Linux-HA.
ed0026
3d71c6
%package      nagios-plugins-metadata
3d71c6
License:      GPLv2+ and LGPLv2+
3d71c6
Summary:      Pacemaker Nagios Metadata
3d71c6
Group:        System Environment/Daemons
3d71c6
# NOTE below are the plugins this metadata uses.
3d71c6
# These plugin packages are currently not requirements
3d71c6
# for the nagios metadata because rhel does not ship these
3d71c6
# plugins. This metadata is providing 3rd party support
3d71c6
# for nagios. Users may install the plugins via 3rd party
3d71c6
# rpm packages, or source. If rhel ships the nagios plugins
3d71c6
# in the future, we should consider enabling the following
3d71c6
# required fields.
3d71c6
#Requires:     nagios-plugins-http
3d71c6
#Requires:     nagios-plugins-ldap
3d71c6
#Requires:     nagios-plugins-mysql
3d71c6
#Requires:     nagios-plugins-pgsql
3d71c6
#Requires:     nagios-plugins-tcp
3d71c6
Requires:     pcmk-cluster-manager
3d71c6
3d71c6
%description  nagios-plugins-metadata
3d71c6
The metadata files required for Pacemaker to execute the nagios plugin
3d71c6
monitor resources.
ed0026
ed0026
%prep
3d71c6
%setup -q -a 0 -n %{name}-%{commit}
3d71c6
%setup -q -a 1 -n %{name}-%{commit}
3d71c6
%autopatch -p1
ed0026
ed0026
# Force the local time
ed0026
#
ed0026
# Git sets the file date to the date of the last commit.
ed0026
# This can result in files having been created in the future
ed0026
# when building on machines in timezones 'behind' the one the
ed0026
# commit occurred in - which seriously confuses 'make'
ed0026
find . -exec touch \{\} \;
ed0026
ed0026
%build
ed0026
./autogen.sh
ed0026
7ebc05
# For some reason, 'Apache Configuration' is no longer accepted by publican/Kate.pm on RHEL7
7ebc05
sed -i 's/Apache Configuration/Bash/'  doc/Clusters_from_Scratch/en-US/Ch-Apache.txt
7ebc05
ed0026
# RHEL <= 5 does not support --docdir
ed0026
docdir=%{pcmk_docdir} %{configure}                 \
ed0026
        %{?with_profiling:   --with-profiling}     \
ed0026
        %{?with_coverage:    --with-coverage}      \
ed0026
        %{!?with_cman:       --without-cman}       \
ed0026
        --with-initdir=%{_initrddir}               \
ed0026
        --localstatedir=%{_var}                    \
3d71c6
        --with-version=%{version}-%{release}       \
3d71c6
        --with-nagios                              \
3d71c6
        --with-nagios-metadata-dir=%{_datadir}/pacemaker/nagios/plugins-metadata/   \
3d71c6
        --with-nagios-plugin-dir=%{_libdir}/nagios/plugins/   \
ed0026
ed0026
%if 0%{?suse_version} >= 1200
ed0026
# Fedora handles rpath removal automagically
ed0026
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
ed0026
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
ed0026
%endif
ed0026
ed0026
make %{_smp_mflags} V=1 docdir=%{pcmk_docdir} all
ed0026
7100e8
%check
1f016a
# Prevent false positives in rpmlint
1f016a
./BasicSanity.sh -V pengine cli 2>&1 | sed s/[fF]ail/faiil/g
7100e8
ed0026
%install
ed0026
rm -rf %{buildroot}
ed0026
make DESTDIR=%{buildroot} docdir=%{pcmk_docdir} V=1 install
ed0026
ed0026
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
ed0026
mkdir -p ${RPM_BUILD_ROOT}%{_var}/lib/pacemaker/cores
ed0026
install -m 644 mcp/pacemaker.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/pacemaker
ed0026
3d71c6
mkdir -p %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
3d71c6
for file in $(find nagios-agents-metadata-%{nagios_hash}/metadata -type f); do
3d71c6
	# fping isn't shipped in rhel
3d71c6
	if [ "$file" = "check_fping.xml" ]; then
3d71c6
		continue
3d71c6
	# udp plugin is not being shipped in rhel
3d71c6
	elif [ "$file" = "check_udp.xml" ]; then
3d71c6
		continue
3d71c6
	fi
3d71c6
	install -m 644 $file %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
3d71c6
done
3d71c6
ed0026
%if %{with upstart_job}
ed0026
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/init
ed0026
install -m 644 mcp/pacemaker.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.conf
ed0026
install -m 644 mcp/pacemaker.combined.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.combined.conf
ed0026
%endif
ed0026
ed0026
# Scripts that should be executable
ed0026
chmod a+x %{buildroot}/%{_datadir}/pacemaker/tests/cts/CTSlab.py
ed0026
ed0026
# These are not actually scripts
ed0026
find %{buildroot} -name '*.xml' -type f -print0 | xargs -0 chmod a-x
ed0026
find %{buildroot} -name '*.xsl' -type f -print0 | xargs -0 chmod a-x
ed0026
find %{buildroot} -name '*.rng' -type f -print0 | xargs -0 chmod a-x
ed0026
find %{buildroot} -name '*.dtd' -type f -print0 | xargs -0 chmod a-x
ed0026
ed0026
# Dont package static libs
ed0026
find %{buildroot} -name '*.a' -type f -print0 | xargs -0 rm -f
ed0026
find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
ed0026
ed0026
# Do not package these either
ed0026
rm -f %{buildroot}/%{_libdir}/service_crm.so
7100e8
rm -f %{buildroot}/%{_sbindir}/fence_legacy
7100e8
rm -f %{buildroot}/%{_mandir}/man8/fence_legacy.*
ed0026
find %{buildroot} -name 'o2cb*' -type f -print0 | xargs -0 rm -f
ed0026
ed0026
# Don't ship init scripts for systemd based platforms
ed0026
%if %{defined _unitdir}
ed0026
rm -f %{buildroot}/%{_initrddir}/pacemaker
ed0026
rm -f %{buildroot}/%{_initrddir}/pacemaker_remote
ed0026
%endif
ed0026
ed0026
%if %{with coverage}
ed0026
GCOV_BASE=%{buildroot}/%{_var}/lib/pacemaker/gcov
ed0026
mkdir -p $GCOV_BASE
ed0026
find . -name '*.gcno' -type f | while read F ; do
ed0026
        D=`dirname $F`
ed0026
        mkdir -p ${GCOV_BASE}/$D
ed0026
        cp $F ${GCOV_BASE}/$D
ed0026
done
ed0026
%endif
ed0026
ed0026
%clean
ed0026
rm -rf %{buildroot}
ed0026
ed0026
%post
ed0026
%systemd_post pacemaker.service
ed0026
ed0026
%preun
ed0026
%systemd_preun pacemaker.service
ed0026
ed0026
%postun
ed0026
%systemd_postun_with_restart pacemaker.service 
ed0026
ed0026
%post remote
ed0026
%systemd_post pacemaker_remote.service
ed0026
ed0026
%preun remote
ed0026
%systemd_preun pacemaker_remote.service
ed0026
ed0026
%postun remote
ed0026
%systemd_postun_with_restart pacemaker_remote.service 
ed0026
ed0026
%pre -n %{name}-libs
ed0026
ed0026
getent group %{gname} >/dev/null || groupadd -r %{gname} -g 189
ed0026
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u 189 -s /sbin/nologin -c "cluster user" %{uname}
ed0026
exit 0
ed0026
ed0026
%post -n %{name}-libs -p /sbin/ldconfig
ed0026
ed0026
%postun -n %{name}-libs -p /sbin/ldconfig
ed0026
ed0026
%post -n %{name}-cluster-libs -p /sbin/ldconfig
ed0026
ed0026
%postun -n %{name}-cluster-libs -p /sbin/ldconfig
ed0026
ed0026
%files
ed0026
###########################################################
ed0026
%defattr(-,root,root)
ed0026
ed0026
%exclude %{_datadir}/pacemaker/tests
ed0026
1f016a
%config(noreplace) %{_sysconfdir}/logrotate.d/pacemaker
ed0026
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
ed0026
%{_sbindir}/pacemakerd
ed0026
ed0026
%if %{defined _unitdir}
ed0026
%{_unitdir}/pacemaker.service
ed0026
%else
ed0026
%{_initrddir}/pacemaker
ed0026
%endif
ed0026
80850c
%exclude %{_datadir}/pacemaker/report.common
80850c
%exclude %{_datadir}/pacemaker/report.collector
3d71c6
%exclude %{_datadir}/pacemaker/nagios/plugins-metadata/*
ed0026
%{_datadir}/pacemaker
ed0026
%{_datadir}/snmp/mibs/PCMK-MIB.txt
3d71c6
ed0026
%exclude %{_libexecdir}/pacemaker/lrmd_test
ed0026
%exclude %{_sbindir}/pacemaker_remoted
ed0026
%{_libexecdir}/pacemaker/*
ed0026
ed0026
%{_sbindir}/crm_attribute
ed0026
%{_sbindir}/crm_master
ed0026
%{_sbindir}/crm_node
ed0026
%{_sbindir}/attrd_updater
ed0026
%{_sbindir}/fence_pcmk
ed0026
%{_sbindir}/stonith_admin
ed0026
ed0026
%if %{with cman}
ed0026
%{_bindir}/ccs2cib
ed0026
%{_bindir}/ccs_flatten
ed0026
%{_bindir}/disable_rgmanager
ed0026
%endif
ed0026
ed0026
%doc %{_mandir}/man7/*
ed0026
%doc %{_mandir}/man8/attrd_updater.*
ed0026
%doc %{_mandir}/man8/crm_attribute.*
ed0026
%doc %{_mandir}/man8/crm_node.*
ed0026
%doc %{_mandir}/man8/crm_master.*
ed0026
%doc %{_mandir}/man8/fence_pcmk.*
ed0026
%doc %{_mandir}/man8/pacemakerd.*
ed0026
%doc %{_mandir}/man8/stonith_admin.*
ed0026
ed0026
%doc COPYING
ed0026
%doc AUTHORS
ed0026
%doc ChangeLog
ed0026
ed0026
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker
ed0026
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cib
ed0026
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cores
ed0026
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/pengine
ed0026
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/blackbox
ed0026
%dir /usr/lib/ocf
ed0026
%dir /usr/lib/ocf/resource.d
3d71c6
/usr/lib/ocf/resource.d/.isolation
ed0026
/usr/lib/ocf/resource.d/pacemaker
ed0026
ed0026
%if 0%{?cs_version} < 2
ed0026
%{_libexecdir}/lcrso/pacemaker.lcrso
ed0026
%endif
ed0026
ed0026
%if %{with upstart_job}
ed0026
%config(noreplace) %{_sysconfdir}/init/pacemaker.conf
ed0026
%config(noreplace) %{_sysconfdir}/init/pacemaker.combined.conf
ed0026
%endif
ed0026
ed0026
%files cli
ed0026
%defattr(-,root,root)
ed0026
%{_sbindir}/cibadmin
ed0026
%{_sbindir}/crm_diff
ed0026
%{_sbindir}/crm_error
ed0026
%{_sbindir}/crm_failcount
ed0026
%{_sbindir}/crm_mon
ed0026
%{_sbindir}/crm_resource
ed0026
%{_sbindir}/crm_standby
ed0026
%{_sbindir}/crm_verify
ed0026
%{_sbindir}/crmadmin
ed0026
%{_sbindir}/iso8601
ed0026
%{_sbindir}/crm_shadow
ed0026
%{_sbindir}/crm_simulate
ed0026
%{_sbindir}/crm_report
ed0026
%{_sbindir}/crm_ticket
80850c
%{_datadir}/pacemaker/report.common
80850c
%{_datadir}/pacemaker/report.collector
3d71c6
ed0026
%doc %{_mandir}/man8/*
ed0026
%exclude %{_mandir}/man8/attrd_updater.*
ed0026
%exclude %{_mandir}/man8/crm_attribute.*
ed0026
%exclude %{_mandir}/man8/crm_node.*
ed0026
%exclude %{_mandir}/man8/crm_master.*
ed0026
%exclude %{_mandir}/man8/fence_pcmk.*
ed0026
%exclude %{_mandir}/man8/pacemakerd.*
ed0026
%exclude %{_mandir}/man8/pacemaker_remoted.*
ed0026
%exclude %{_mandir}/man8/stonith_admin.*
ed0026
3d71c6
%if %{defined _unitdir}
3d71c6
%{_unitdir}/crm_mon.service
3d71c6
%endif
3d71c6
ed0026
%doc COPYING
ed0026
%doc AUTHORS
ed0026
%doc ChangeLog
ed0026
ed0026
%files -n %{name}-libs
ed0026
%defattr(-,root,root)
ed0026
ed0026
%{_libdir}/libcib.so.*
ed0026
%{_libdir}/liblrmd.so.*
ed0026
%{_libdir}/libcrmservice.so.*
ed0026
%{_libdir}/libcrmcommon.so.*
ed0026
%{_libdir}/libpe_status.so.*
ed0026
%{_libdir}/libpe_rules.so.*
ed0026
%{_libdir}/libpengine.so.*
ed0026
%{_libdir}/libstonithd.so.*
ed0026
%{_libdir}/libtransitioner.so.*
ed0026
%doc COPYING.LIB
ed0026
%doc AUTHORS
ed0026
ed0026
%files -n %{name}-cluster-libs
ed0026
%defattr(-,root,root)
ed0026
%{_libdir}/libcrmcluster.so.*
ed0026
%doc COPYING.LIB
ed0026
%doc AUTHORS
ed0026
ed0026
%files remote
ed0026
%defattr(-,root,root)
ed0026
ed0026
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
ed0026
%if %{defined _unitdir}
ed0026
%{_unitdir}/pacemaker_remote.service
ed0026
%else
ed0026
%{_initrddir}/pacemaker_remote
ed0026
%endif
ed0026
ed0026
%{_sbindir}/pacemaker_remoted
ed0026
%{_mandir}/man8/pacemaker_remoted.*
ed0026
%doc COPYING.LIB
ed0026
%doc AUTHORS
ed0026
ed0026
%files doc
ed0026
%defattr(-,root,root)
ed0026
%doc %{pcmk_docdir}
ed0026
ed0026
%files cts
ed0026
%defattr(-,root,root)
ed0026
%{py_site}/cts
ed0026
%{_datadir}/pacemaker/tests/cts
ed0026
%{_libexecdir}/pacemaker/lrmd_test
ed0026
%doc COPYING.LIB
ed0026
%doc AUTHORS
ed0026
ed0026
%files -n %{name}-libs-devel
ed0026
%defattr(-,root,root)
ed0026
%exclude %{_datadir}/pacemaker/tests/cts
ed0026
%{_datadir}/pacemaker/tests
ed0026
%{_includedir}/pacemaker
ed0026
%{_libdir}/*.so
ed0026
%if %{with coverage}
3d71c6
%{_var}/lib/pacemaker/gcov
ed0026
%endif
ed0026
%{_libdir}/pkgconfig/*.pc
ed0026
%doc COPYING.LIB
ed0026
%doc AUTHORS
ed0026
3d71c6
%files nagios-plugins-metadata
3d71c6
%defattr(-,root,root)
3d71c6
%dir %{_datadir}/pacemaker/nagios/plugins-metadata
3d71c6
%attr(0644,root,root) %{_datadir}/pacemaker/nagios/plugins-metadata/*
3d71c6
ed0026
%changelog
f3a210
* Fri Jun 17 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.13-10.4
f3a210
- Fix multiple issues with crm_resource --restart
f3a210
- Properly handle descendents of unrunnable clones
f3a210
- Resolves: rhbz#1347806
f3a210
- Resolves: rhbz#1349493
f3a210
f3a210
* Fri Jun 10 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.13-10.3
f3a210
- Properly clear remote node transient attributes on disconnect
f3a210
- Resolves: rhbz#1344223
f3a210
0240e4
* Tue Jan 26 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.13-10.2
0240e4
- Properly cache remote nodes when adding node attributes
0240e4
- Resolves: rhbz#1299348
0240e4
0240e4
* Mon Jan 18 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.13-10.1
0240e4
- Prevent lrmd crash when logging certain systemd operation failures
0240e4
- Handle systemd shutdown properly
0240e4
- Don't delete fence device when deleting an attribute
0240e4
- Handle new top output format in HealthCPU resource
0240e4
- Implement graceful stopping of pacemaker_remote
0240e4
- Update CTS to match applied code patches
0240e4
- Resolves: rhbz#1299339
0240e4
- Resolves: rhbz#1299340
0240e4
- Resolves: rhbz#1299341
0240e4
- Resolves: rhbz#1299342
0240e4
- Resolves: rhbz#1299348
0240e4
3d71c6
* Thu Oct 08 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-10
3d71c6
- More improvements when updating and deleting meta attributes
3d71c6
- Resolves: rhbz#1267265
3d71c6
3d71c6
* Mon Oct 05 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-9
3d71c6
- Fix regression when updating child meta attributes
3d71c6
- Resolves: rhbz#1267265
3d71c6
3d71c6
* Wed Sep 16 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-8
3d71c6
- Fix regression when setting attributes for remote nodes 
3d71c6
- Resolves: rhbz#1206647
3d71c6
3d71c6
* Thu Sep 10 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-7
3d71c6
- Additional upstream patches
3d71c6
- Resolves: rhbz#1234680
3d71c6
3d71c6
* Wed Jul 22 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-6
3d71c6
- Correctly apply and build patches
3d71c6
- Resolves: rhbz#1234680
3d71c6
3d71c6
* Wed Jul 22 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-5
3d71c6
- Sync with upstream 63f8e9a
3d71c6
- Resolves: rhbz#1234680
3d71c6
3d71c6
* Mon Jul 20 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-4
3d71c6
- Sync with upstream 63f8e9a
3d71c6
- Resolves: rhbz#1234680
e85401
3d71c6
* Fri Jun 26 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-3
3d71c6
- New upstream tarball 44eb2ddf8d4f8fc05256aae2abc9fbf3ae4d1fbc
3d71c6
- Resolves: rhbz#1234680
13f052
3d71c6
* Thu Jun 11 2015 David Vossel <dvossel@redhat.com> - 1.1.13-2
3d71c6
- Adds nagios metadata.
13f052
3d71c6
  Resolves: rhbz#1203053
13f052
3d71c6
* Tue May 12 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-0.1
3d71c6
- New upstream tarball 8ae45302394b039fb098e150f156df29fc0cb576
13f052
3d71c6
* Wed Mar 18 2015 David Vossel <dvossel@redhat.com> - 1.1.12-25
80850c
- Convince systemd to shutdown dbus after pacemaker.
80850c
80850c
  Resolves: rhbz#1198886
80850c
3d71c6
* Wed Mar 18 2015 David Vossel <dvossel@redhat.com> - 1.1.12-23
46d66e
- Ensure B with A, that B can not run if A can not run.
46d66e
3d71c6
  Resolves: rhbz#1194475
46d66e
1f016a
* Thu Jan 15 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-22
1f016a
- Fix segfault encountered with orphaned remote node connections
1f016a
1f016a
  Resolves: rhbz#1176210
1f016a
1f016a
* Thu Jan 15 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-21
1f016a
- Fix use-after-free in CLI tool when restarting a resource 
1f016a
1f016a
* Tue Jan 13 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-20
1f016a
- Expose the -N/--node option for attrd_updater to allow attributes to
1f016a
  be set for other nodes
1f016a
1f016a
* Sun Jan 11 2015 David Vossel <dvossel@redhat.com> - 1.1.12-19
1f016a
- Imply stop on actions within containers during host fencing
1f016a
- acl correctly implement the reference acl direct
1f016a
1f016a
  Resolves: rhbz#1117341
1f016a
1f016a
* Tue Jan 6 2015 David Vossel <dvossel@redhat.com> - 1.1.12-18
1f016a
- clone order constraint require-all option.
1f016a
- fix memory leaks in crmd and pacemakerd
1f016a
1f016a
  Resolves: rhbz#1176210
1f016a
1f016a
* Tue Dec 16 2014 David Vossel <dvossel@redhat.com> - 1.1.12-15
1f016a
- Include ipc and pacemaker remote related upstream fixes.
1f016a
1f016a
* Wed Nov 26 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-13
1f016a
- Update patch level to upstream a433de6
1f016a
- Ensure we wait for long running systemd stop operations to complete
1f016a
  Resolves: rhbz#1165423
1f016a
1f016a
* Tue Nov 18 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-11
1f016a
- Update patch level to upstream 7dd9022
1f016a
- Ensure all internal caches are updated when nodes are removed from the cluster
1f016a
  Resolves: rhbz#1162727
1f016a
 
1f016a
* Wed Nov 05 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-10
1f016a
- Update patch level to upstream 98b6688
1f016a
- Support an intelligent resource restart operation
1f016a
- Exclusive discovery implies running the resource is only possible on the listed nodes
1f016a
1f016a
* Wed Nov 05 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-9
1f016a
- Update patch level to upstream fb94901
1f016a
- Prevent blocking by performing systemd reloads asynchronously
1f016a
1f016a
* Tue Oct 28 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-8
1f016a
- Repair the ability to start when sbd is not enabled
1f016a
1f016a
* Mon Oct 27 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-7
1f016a
- Update patch level to upstream afa0f33
1f016a
  - Resolve coverity defects
1f016a
1f016a
* Fri Oct 24 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-5
1f016a
- Update patch level to upstream 031e46c
1f016a
  - Prevent glib assert triggered by timers being removed from mainloop more than once 
1f016a
  - Allow rsc discovery to be disabled in certain situations
1f016a
  - Allow remote-nodes to be placed in maintenance mode
1f016a
  - Improved sbd integration
1f016a
1f016a
* Thu Oct 16 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-4
1f016a
- Add install dependancy on sbd
1f016a
1f016a
* Wed Oct 01 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-3
1f016a
- Update patch level to upstream be1e835
1f016a
    Resolves: rhbz#1147989
1f016a
1f016a
* Fri Sep 19 2014 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.1.12-2
1f016a
- Enable build on s390x
1f016a
    Resolves: rhbz#1140917
1f016a
1f016a
* Mon Sep 08 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-1
1f016a
- Rebase to upstream a14efad51ca8f1e3742fd8520e051cd7a0864f04 (1.1.12+)
1f016a
    Resolves: rhbz#1059626
e85401
60d645
* Fri Jul 04 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-32
60d645
60d645
- Fix: lrmd: Handle systemd reporting 'done' before a resource is actually stopped
1f016a
    Resolves: rhbz#1111747
60d645
7ebc05
* Thu Apr 17 2014 David Vossel <dvossel@redhat.com> - 1.1.10-31
7ebc05
7ebc05
- fencing: Fence using all required devices
7ebc05
- fencing: Execute all required fencing devices regardless of what topology level they are at
7ebc05
- fencing: default to 'off' when agent does not advertise 'reboot' in metadata
7ebc05
    Resolves: rhbz#1078078
7ebc05
7ebc05
* Mon Apr 14 2014 Andrew Beekhof <abeekhof@redhat.com> 1.1.10-30
7ebc05
7ebc05
- crmd: Do not erase the status section for unfenced nodes
7ebc05
- crmd: Correctly react to successful unfencing operations
7ebc05
- crmd: Report unsuccessful unfencing operations
7ebc05
- crmd: Do not overwrite existing node state when fencing completes
7ebc05
- fencing: Correctly record which peer performed the fencing operation
7ebc05
- fencing: Automatically switch from 'list' to 'status' to 'static-list' if those actions are not advertised in the metadata
7ebc05
- fencing: Filter self-fencing at the peers to allow unfencing to work correctly
7ebc05
- pengine: Automatically re-unfence a node if the fencing device definition changes
7ebc05
- pengine: Fencing devices default to only requiring quorum in order to start
7ebc05
- pengine: Delay unfencing until after we know the state of all resources that require unfencing
7ebc05
- pengine: Ensure unfencing occurs before fencing devices are (re-)probed
7ebc05
- pengine: Ensure unfencing only happens once, even if the transition is interrupted
7ebc05
- pengine: Do not unfence nodes that are offline, unclean or shutting down
7ebc05
- pengine: Unfencing is based on device probes, there is no need to unfence when normal resources are found active
7ebc05
- logging: daemons always get a log file, unless explicitly set to configured 'none'
7ebc05
- lrmd: Expose logging variables expected by OCF agents
7ebc05
- crm_report: Suppress logging errors after the target directory has been compressed
7ebc05
- crm_resource: Wait for the correct number of replies when cleaning up resources
7ebc05
    Resolves: rhbz#1078078
7ebc05
7100e8
* Tue Mar 25 2014 David Vossel <dvossel@redhat.com> - 1.1.10-29
7100e8
7100e8
- Low: controld: Remove '-q 0' from default dlm_controld arguments
7100e8
    Resolves: rhbz#1064519
7100e8
7100e8
* Tue Mar 25 2014 David Vossel <dvossel@redhat.com> - 1.1.10-28
7100e8
7ebc05
- pengine: fixes invalid transition caused by clones with more than 10 instances
7100e8
    Resolves: rhbz#1078504
7100e8
7100e8
* Fri Feb 28 2014 Andrew Beekhof <beekhof@redhat.com> - 1.1.10-27
7100e8
7100e8
- crm_resource: Prevent use-of-NULL
7100e8
- systemd: Prevent use-of-NULL when determining if an agent exists
7100e8
- Fencing: Remove shadow definition and use of variable 'progress'
7100e8
    Resolves: rhbz#1070916
7100e8
7100e8
* Thu Feb 27 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-26
7100e8
7100e8
- Run automated regression tests after every build
7100e8
- Fencing: Send details of stonith_api_time() and stonith_api_kick() to syslog
7100e8
- Fencing: Pass the correct options when looking up the history by node name
7100e8
- Fencing: stonith_api_time_helper now returns when the most recent fencing operation completed
7100e8
- crm_report: Additional dlm detail if dlm_controld is running
7100e8
- crmd: Gracefully handle actions that cannot be initiated
7100e8
- pengine: Gracefully handle bad values for XML_ATTR_TRANSITION_MAGIC
7100e8
    Resolves: rhbz#1070916
7100e8
7100e8
* Tue Feb 25 2014 David Vossel <dvossel@redhat.com> - 1.1.10-25
7100e8
7100e8
- pengine: cl#5187 - Prevent resources in an anti-colocation from even temporarily running on a same node
7100e8
    Resolves: rhbz#1069284
7100e8
7100e8
* Thu Feb 20 2014 David Vossel <dvossel@redhat.com> - 1.1.10-24
7100e8
7100e8
- controld: handling startup fencing within the controld agent, not the dlm
7100e8
    Resolves: rhbz#1064519
7100e8
- controld: Do not consider the dlm up until the address list is present
7100e8
    Resolves: rhbz#1067536
7100e8
7100e8
* Wed Feb 12 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-23
7100e8
7100e8
- mcp: Tell systemd not to respawn us if we return 100
7100e8
- services: Detect missing agents and permission errors before forking
7100e8
- Use native DBus library for systemd support to avoid problematic use of threads
7100e8
    Resolves: rhbz#720543 (aka. 1057697)
7100e8
7100e8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.10-22
7100e8
- Mass rebuild 2013-12-27
7100e8
7100e8
* Wed Dec 04 2013 David Vossel <dvossel@redhat.com> - 1.1.10-21
7100e8
7100e8
- Fix: Removes unnecessary newlines in crm_resource -O output
7100e8
    Resolves: rhbz#720543
7100e8
7100e8
* Thu Nov 14 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-20
7100e8
7100e8
- Fix: tools: Fixes formatting of remote-nodes in crm_mon and crm_simulate
7100e8
- Fix: Corosync: Attempt to retrieve a peers node name if it is not already known
7100e8
    Resolves: rhbz#720543
7100e8
ed0026
* Thu Nov 14 2013 David Vossel <dvossel@redhat.com> - 1.1.10-19
ed0026
- Fix: controld: Use the correct variant of dlm_controld for
ed0026
  corosync-2 clusters
ed0026
ed0026
    Resolves: rhbz#1028627
ed0026
ed0026
* Thu Nov 07 2013 David Vossel <dvossel@redhat.com> - 1.1.10-18
ed0026
ed0026
- High: remote: Add support for ipv6 into pacemaker_remote daemon
ed0026
    Resolves: rhbz#720543
ed0026
7100e8
* Wed Nov 06 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-17
ed0026
ed0026
    Resolves: rhbz#720543
ed0026
ed0026
- Fix: core: Do not enabled blackbox for cli tools
ed0026
- Fix: Command-line tools should stop after an assertion failure
ed0026
- Fix: crmd: Dont add node_state to cib, if we have not seen or fenced this node yet
ed0026
- Fix: crmd: Correctly update expected state when the previous DC shuts down
ed0026
- Fix: crmd: Cache rsc_info retrieved from lrmd and pacemaker_remoted
ed0026
- Fix: crmd: Pad internal lrmd rsc_info and metadata retrieval timeout
ed0026
- Fix: crm_attribute: Detect orphaned remote-nodes when setting attributes
ed0026
- Fix: crm_mon: Prevent use-of-NULL when ping resources do not define a host list
ed0026
- Fix: crm_report: Record the output of the collector
ed0026
- Fix: crm_report: Do not print garbage when collecting from the local node
ed0026
- Fix: crm_resource: Wait for all replies when cleaning up resources
ed0026
- Fix: fencing: Do not broadcast suicide if the on action is being executed
ed0026
- Fix: fencing: Allow fencing for node after topology entries are deleted
ed0026
- Fix: fencing: Deep copy current topology level list on remote op
ed0026
- Fix: lrmd: Correctly cancel monitor actions for lsb/systemd/service resources on cleaning up
ed0026
- Fix: pengine: Dont prevent clones from running due to dependant resources
ed0026
- Fix: pengine: Probe containers not expected to be up
ed0026
- Fix: ipc: Raise the default buffer size to 128k
ed0026
- Fix: ipc: Use the higher of the configured buffer size or the default
ed0026
- Fix: iso8601: Prevent dates from jumping backwards a day in some timezones
ed0026
- Fix: remote: Properly version the remote connection protocol
ed0026
- Fix: remote: Handle endian changes between client and server and improve forward compatibility
ed0026
    Resolves: rhbz#720543
ed0026
7100e8
* Mon Oct 07 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-16
ed0026
ed0026
- Remove unsupported resource agent
ed0026
- Log: crmd: Supply arguments in the correct order
ed0026
- Fix: crm_report: Correctly redirect error message to /dev/null
ed0026
- Fix: Bug rhbz#1011618 - Consistently use 'Slave' as the role for unpromoted master/slave resources
ed0026
- Fix: pengine: Location constraints with role=Started should prevent masters from running at all
ed0026
- Fix: crm_resource: Observe --master modifier for --move
ed0026
- Provide a meaningful error if --master is used for primitives and groups
ed0026
- Fix: Fencing: Observe pcmk_host_list during automatic unfencing
ed0026
    Resolves: rhbz#996576
ed0026
ed0026
* Fri Sep 27 2013 David Vossel  <dvossel@redhat.com> - 1.1.10-15
ed0026
  + Fix: crmd: Allow transient attributes to be set on remote-nodes.
ed0026
  + Fix: pengine: Handle orphaned remote-nodes properly
ed0026
  + Low: cts: Add RemoteLXC regression test.
ed0026
ed0026
  Resolves: rhbz#1006465
ed0026
  Resolves: rhbz#1006471
ed0026
ed0026
* Fri Aug 23 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-14
ed0026
  + Fix: xml: Location constraints are allowed to specify a role
ed0026
  + Bug rhbz#902407 - crm_resource: Handle --ban for master/slave resources as advertised
ed0026
    Resolves: rhbz#902407
ed0026
ed0026
* Wed Aug 14 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-13
ed0026
  + Fencing: Support agents that need the host to be unfenced at startup
ed0026
    Resolves: rhbz#996576
ed0026
  + crm_report: Collect corosync quorum data
ed0026
    Resolves: rhbz#839342
ed0026
ed0026
* Thu Aug 08 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-12
ed0026
- Regenerate patches to have meaningful names
ed0026
ed0026
* Thu Aug 08 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-11
ed0026
  + Fix: systemd: Prevent glib assertion - only call g_error_free() with non-NULL arguments
ed0026
  + Fix: systemd: Prevent additional assertions in g_error_free
ed0026
  + Fix: logging: glib CRIT messages should not produce core files by default
ed0026
  + Doc: controld: Update the description
ed0026
  + Fix: pengine: Correctly account for the location preferences of things colocated with a group
ed0026
  + Fix: cib: Correctly log short-form xml diffs
ed0026
  + Fix: crmd: Correcty update the history cache when recurring ops change their return code
ed0026
  + Log: pengine: Better indicate when a resource has failed
ed0026
  + Log: crm_mon: Unmunge the output for failed operations
ed0026
ed0026
* Fri Aug 02 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-10
ed0026
  + Fix: pengine: Do not re-allocate clone instances that are blocked in the Stopped state
ed0026
  + Fix: pengine: Do not allow colocation with blocked clone instances
ed0026
ed0026
* Thu Aug 01 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-9
ed0026
  + Fix: crmd: Prevent crash by passing log arguments in the correct order
ed0026
ed0026
* Thu Aug 01 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-8
ed0026
  + Fix: pengine: Do not restart resources that depend on unmanaged resources
ed0026
ed0026
* Thu Aug 01 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-7
ed0026
  + Fix: crmd: Prevent recurring monitors being cancelled due to notify operations
ed0026
ed0026
* Fri Jul 26 2013 Andrew Beekhof <andrew@beekhof.net> Pacemaker-1.1.10-6
1f016a
- Update source tarball to revision: 368c726 (Pacemaker-1.1.10-rc7)
ed0026
- Changesets: 18
ed0026
- Diff:       9 files changed, 245 insertions(+), 170 deletions(-)
ed0026
ed0026
- Features added since Pacemaker-1.1.10-rc7
ed0026
  + crm_resource: Allow options to be set recursively
ed0026
ed0026
- Changes since Pacemaker-1.1.10-rc7
ed0026
  + Bug cl#5161 - crmd: Prevent memory leak in operation cache
ed0026
  + cib: Correctly read back archived configurations if the primary is corrupted
ed0026
ed0026
* Mon Jul 22 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-5
ed0026
- Streamline spec file
ed0026
ed0026
- Upstream patch for:
ed0026
  + cman: Only build migration tools for targets that may use them
ed0026
  + cib: Ensure we set up hacluster's groups in stand-alone mode
ed0026
ed0026
- Update for new upstream tarball: Pacemaker-1.1.10-rc7
ed0026
ed0026
  + Bug cl#5157 - Allow migration in the absence of some colocation constraints
ed0026
  + Bug cl#5168 - Prevent clones from being bounced around the cluster due to location constraints
ed0026
  + Bug cl#5170 - Correctly support on-fail=block for clones
ed0026
  + crmd: CID#1036761 Dereference null return value
ed0026
  + crmd: cl#5164 - Fixes crmd crash when using pacemaker-remote
ed0026
  + crmd: Ensure operations for cleaned up resources don't block recovery
ed0026
  + crmd: Prevent messages for remote crmd clients from being relayed to wrong daemons
ed0026
  + crmd: Properly handle recurring monitor operations for remote-node agent
ed0026
  + fencing: Correctly detect existing device entries when registering a new one
ed0026
  + logging: If SIGTRAP is sent before tracing is turned on, turn it on
ed0026
  + lrmd: Prevent use-of-NULL in client library
ed0026
  + pengine: cl#5128 - Support maintenance mode for a single node
ed0026
  + pengine: cl#5164 - Pengine segfault when calculating transition with remote-nodes.
ed0026
  + pengine: Do the right thing when admins specify the internal resource instead of the clone
ed0026
  + systemd: Turn off auto-respawning of systemd services when the cluster starts them
ed0026
ed0026
* Wed Jul 10 2013 David Vossel <dvossel@redhat.com> - 1.1.10-4
ed0026
- Fixes crmd crash when using pacemaker_remote.
ed0026
ed0026
* Mon Jun 17 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-3
ed0026
- Update to upstream 838e41e
ed0026
ed0026
  + Feature: pengine: Allow active nodes in our current membership to be fenced without quorum
ed0026
  + Fix: attrd: Fixes deleted attributes during dc election
ed0026
  + Fix: corosync: Fall back to uname for local nodes
ed0026
  + Fix: crm_report: Find logs in compressed files
ed0026
  + Fix: pengine: If fencing is unavailable or disabled, block further recovery for resources that fail to stop
ed0026
  + Fix: systemd: Ensure we get shut down correctly by systemd
ed0026
ed0026
* Sun Jun 09 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-2
ed0026
- Update for new upstream tarball: Pacemaker-1.1.10-rc4
ed0026
ed0026
- Features in Pacemaker-1.1.10-rc4:
ed0026
  + PE: Display a list of nodes on which stopped anonymous clones are not active instead of meaningless clone IDs
ed0026
  + crm_error: Add the ability to list and print error symbols
ed0026
  + crm_resource: Implement --ban for moving resources away from nodes and --clear (replaces --unmove)
ed0026
  + crm_resource: Support OCF tracing when using --force-(check|start|stop)
ed0026
ed0026
- Changes since Pacemaker-1.1.10-rc1
ed0026
ed0026
  + Bug cl#5133 - pengine: Correctly observe on-fail=block for failed demote operation
ed0026
  + Bug cl#5152 - Correctly clean up fenced nodes during membership changes
ed0026
  + Bug cl#5153 - Correctly display clone failcounts in crm_mon
ed0026
  + Bug cl#5154 - Do not expire failures when on-fail=block is present
ed0026
  + Bug pengine: cl#5155 - Block the stop of resources if any depending resource is unmanaged
ed0026
  + crm_report: Correctly collect logs when 'uname -n' reports fully qualified names
ed0026
  + Check for and replace non-printing characters with their octal equivalent while exporting xml text
ed0026
  + Convert all exit codes to positive errno values
ed0026
  + Core: Ensure the blackbox is saved on abnormal program termination
ed0026
  + corosync: Detect the loss of members for which we only know the nodeid
ed0026
  + corosync: Nodes that can persist in sending CPG messages must be alive afterall
ed0026
  + crmd: Do not get stuck in S_POLICY_ENGINE if a node we couldn't fence returns
ed0026
  + crmd: Ensure all membership operations can complete while trying to cancel a transition
ed0026
  + crmd: Everyone who gets a fencing notification should mark the node as down
ed0026
  + crmd: Initiate node shutdown if another node claims to have successfully fenced us
ed0026
  + crm_resource: Gracefully fail when --force-* is attempted for stonith resources
ed0026
  + fencing: Restore the ability to manually confirm that fencing completed
ed0026
  + pengine: Correctly handle resources that recover before we operate on them
ed0026
  + pengine: Ensure per-node resource parameters are used during probes
ed0026
  + pengine: Implement the rest of get_timet_now() and rename to get_effective_time
ed0026
  + pengine: Mark unrunnable stop actions as "blocked"
ed0026
  + pengine: Re-initiate active recurring monitors that previously failed but have timed out
ed0026
  + xml: Restore the ability to embed comments in the cib
ed0026
ed0026
* Wed Apr 17 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-1
ed0026
- Update for new upstream tarball: Pacemaker-1.1.10-rc1
ed0026
- Features added since Pacemaker-1.1.8
ed0026
  + Performance enhancements for supporting 16 node clusters
ed0026
  + corosync: Use queues to avoid blocking when sending CPG messages
ed0026
  + ipc: Compress messages that exceed the configured IPC message limit
ed0026
  + ipc: Use queues to prevent slow clients from blocking the server
ed0026
  + ipc: Use shared memory by default
ed0026
  + lrmd: Support nagios remote monitoring
ed0026
  + lrmd: Pacemaker Remote Daemon for extending pacemaker functionality outside corosync cluster.
ed0026
  + pengine: Check for master/slave resources that are not OCF agents
ed0026
  + pengine: Support a 'requires' resource meta-attribute for controlling whether it needs quorum, fencing or nothing
ed0026
  + pengine: Support for resource containers
ed0026
  + pengine: Support resources that require unfencing before start
ed0026
ed0026
- Changes since Pacemaker-1.1.8
ed0026
  + attrd: Correctly handle deletion of non-existant attributes
ed0026
  + Bug cl#5135 - Improved detection of the active cluster type
ed0026
  + Bug rhbz#913093 - Use crm_node instead of uname
ed0026
  + cib: Prevent ordering changes when applying xml diffs
ed0026
  + cib: Remove text nodes from cib replace operations
ed0026
  + crmd: Prevent election storms caused by getrusage() values being too close
ed0026
  + date/time: Bug cl#5118 - Correctly convert seconds-since-epoch to the current time
ed0026
  + fencing: Attempt to provide more information that just 'generic error' for failed actions
ed0026
  + fencing: Correctly record completed but previously unknown fencing operations
ed0026
  + fencing: Correctly terminate when all device options have been exhausted
ed0026
  + fencing: cov#739453 - String not null terminated
ed0026
  + fencing: Do not merge new fencing requests with stale ones from dead nodes
ed0026
  + fencing: Do not start fencing until entire device topology is found or query results timeout.
ed0026
  + fencing: Do not wait for the query timeout if all replies have arrived
ed0026
  + fencing: Fix passing of parameters from CMAN containing '='
ed0026
  + fencing: Fix non-comparison when sorting devices by priority
ed0026
  + fencing: On failure, only try a topology device once from the remote level.
ed0026
  + fencing: Only try peers for non-topology based operations once
ed0026
  + fencing: Retry stonith device for duration of action's timeout period.
ed0026
  + ipc: Bug cl#5110 - Prevent 100% CPU usage when looking for synchronous replies
ed0026
  + mcp: Re-attach to existing pacemaker components when mcp fails
ed0026
  + pengine: Any location constraint for the slave role applies to all roles
ed0026
  + pengine: Bug cl#5101 - Ensure stop order is preserved for partially active groups
ed0026
  + pengine: Bug cl#5140 - Allow set members to be stopped when the subseqent set has require-all=false
ed0026
  + pengine: Bug cl#5143 - Prevent shuffling of anonymous master/slave instances
ed0026
  + pengine: Bug rhbz#880249 - Ensure orphan masters are demoted before being stopped
ed0026
  + pengine: Bug rhbz#880249 - Teach the PE how to recover masters into primitives
ed0026
  + pengine: cl#5025 - Automatically clear failcount for start/monitor failures after resource parameters change
ed0026
  + pengine: cl#5099 - Probe operation uses the timeout value from the minimum interval monitor by default (#bnc776386)
ed0026
  + pengine: cl#5111 - When clone/master child rsc has on-fail=stop, insure all children stop on failure.
ed0026
  + pengine: cl#5142 - Do not delete orphaned children of an anonymous clone
ed0026
  + pengine: Correctly unpack active anonymous clones
ed0026
  + pengine: Ensure previous migrations are closed out before attempting another one
ed0026
  + pengine: rhbz#902459 - Remove rsc node status for orphan resources
ed0026
  + Replace the use of the insecure mktemp(3) with mkstemp(3)
ed0026
ed0026
* Thu Apr 04 2013 David Vossel <dvossel@redhat.com> - 1.1.8-6
ed0026
  Fixes depreciated use of gnutls 3.1
ed0026
ed0026
* Thu Apr 04 2013 David Vossel <dvossel@redhat.com> - 1.1.8-5
ed0026
  Rebuilt for gnutls 3.1
ed0026
ed0026
* Thu Oct 25 2012 Andrew Beekhof <abeekhof@redhat.com> - 1.1.8-4
ed0026
- Update for new upstream tarball: 5db5f53
ed0026
ed0026
  + High: mcp: Re-attach to existing pacemaker components when pacemakerd fails
ed0026
  + High: pengine: cl#5111 - When clone/master child rsc has on-fail=stop, insure all children stop on failure.
ed0026
  + High: Replace the use of the insecure mktemp(3) with mkstemp(3)
ed0026
  + High: Core: Correctly process XML diff's involving element removal
ed0026
  + High: PE: Correctly unpack active anonymous clones
ed0026
  + High: PE: Fix clone_zero() and clone_strip() for single character resource names
ed0026
  + High: IPC: Bug cl#5110 - Prevent 100% CPU usage when looking for synchronous replies
ed0026
  + High: PE: Bug cl#5101 - Ensure stop order is preserved for partially active groups
ed0026
  + High: fencing: On failure, only try a topology device once from the remote level.
ed0026
  + High: fencing: Retry stonith device for duration of action's timeout period.
ed0026
  + High: PE: Fix memory leak on processing message (bnc#780224)
ed0026
  + High: fencing: Support 'on_target' option in fencing device metadata for forcing unfence on target node
ed0026
  + High: PE: Support resources that require unfencing before start
ed0026
  + High: PE: Support a 'requires' resource meta-attribute for controlling whether it needs quorum, fencing or nothing
ed0026
  + High: mcp: Only define HA_DEBUGLOG to avoid agent calls to ocf_log printing everything twice
ed0026
  + High: fencing: Do not start fencing until entire device topology is found or query results timeout.
ed0026
  + High: Cluster: Allow cman and corosync 2.0 nodes to use a name other than uname()
ed0026
ed0026
* Fri Sep 21 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.8-3
ed0026
- Only build for i386 and x86_64 as directed
ed0026
ed0026
* Fri Sep 21 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.8-1
ed0026
- Rebuild for upstream 1.1.8 release
ed0026
- Documentation disabled pending a functional publican/ImageMagick combination
ed0026
ed0026
- Statistics:
ed0026
  Changesets: 1019
ed0026
  Diff:       2107 files changed, 117258 insertions(+), 73606 deletions(-)
ed0026
ed0026
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for full details
ed0026
ed0026
  + New IPC implementation from libqb
ed0026
  + New logging implementation from libqb
ed0026
  + Quieter - info, debug and trace logs are no longer sent to syslog
ed0026
  + Dropped dependancy on cluster-glue
ed0026
  + Config and core directories no longer located in heartbeat directories
ed0026
  + Support for managing systemd services
ed0026
  + Rewritten local resource management daemon
ed0026
  + Version bumps for every shared library due to API cleanups
ed0026
  + Removes crm shell, install/use pcs shell and GUI instead
ed0026
ed0026
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-2.1
ed0026
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ed0026
ed0026
* Wed Mar 28 2012 Andrew Beekhof <andrew@beekhof.net> Pacemaker-1.1.7-2
ed0026
- Reinstate the ghost directive for /var/run/crm
ed0026
ed0026
* Wed Mar 28 2012 Andrew Beekhof <andrew@beekhof.net> Pacemaker-1.1.7-1
ed0026
- Update source tarball to upstream release: Pacemaker-1.1.7
ed0026
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for details
ed0026
ed0026
* Thu Feb 16 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.3-7742926.git
ed0026
- New upstream tarball: 7742926
ed0026
- Additional Provides and Obsoletes directives to enable upgrading from heartbeat
ed0026
- Rebuild now that the Corosync CFG API has been removed
ed0026
ed0026
* Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.2-bc7c125.git
ed0026
- Additional Provides and Obsoletes directives to enable upgrading from rgmanager
ed0026
ed0026
* Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.1-bc7c125.git
ed0026
- New upstream tarball: bc7c125
ed0026
- Pre-release 1.1.7 build to deal with the removal of cman and support for corosync plugins
ed0026
- Add libqb as a dependancy
ed0026
ed0026
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-3.1
ed0026
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ed0026
ed0026
* Mon Sep 26 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-3
ed0026
- New upstream tarball: 89678d4
ed0026
- Move man pages to the correct subpackages
ed0026
ed0026
* Mon Sep 26 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-2
ed0026
- Do not build in support for heartbeat, snmp, esmtp by default
ed0026
- Create a package for cluster unaware libraries to minimze our
ed0026
  footprint on non-cluster nodes
ed0026
- Better package descriptions
ed0026
ed0026
* Wed Sep 07 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-1
ed0026
- Upstream release of 1.1.6
ed0026
- See included ChangeLog file or http://hg.clusterlabs.org/pacemaker/1.1/file/tip/ChangeLog for details
ed0026
ed0026
- Disabled eSMTP and SNMP support.  Painful to configure and rarely used.
ed0026
- Created cli sub-package for non-cluster usage
ed0026
ed0026
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.1.5-3.2
ed0026
- Perl mass rebuild
ed0026
ed0026
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.1.5-3.1
ed0026
- Perl mass rebuild
ed0026
ed0026
* Mon Jul 11 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-3
ed0026
- Rebuild for new snmp .so
ed0026
ed0026
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.5-2.2
ed0026
- Perl mass rebuild
ed0026
ed0026
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.5-2.1
ed0026
- Perl 5.14 mass rebuild
ed0026
ed0026
* Wed Apr 27 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-2
ed0026
- Mark /var/run directories with ghost directive
ed0026
  Resolves: rhbz#656654
ed0026
ed0026
* Wed Apr 27 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-1
ed0026
- New upstream release plus patches for CMAN integration
ed0026
ed0026
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-5.1
ed0026
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ed0026
ed0026
* Tue Jan 11 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.4-5
ed0026
- Re-enable corosync and heartbeat support with correct bcond variable
ed0026
  usage
ed0026
ed0026
* Wed Dec  8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-4
ed0026
- Temporary drop publican doc build
ed0026
ed0026
* Wed Dec  8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-3
ed0026
- Fix publican build on x86
ed0026
ed0026
* Wed Dec  8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-2
ed0026
- Drop double source entry and 22Mb from the srpm
ed0026
ed0026
* Mon Nov 15 2010 Andrew Beekhof <andrew@beekhof.net> 1.1.4-1
ed0026
- Upstream release of 1.1.4
ed0026
- See included ChangeLog file or http://hg.clusterlabs.org/pacemaker/1.1/file/tip/ChangeLog for details
ed0026
ed0026
* Wed Sep 29 2010 jkeating - 1.1.3-1.1
ed0026
- Rebuilt for gcc bug 634757
ed0026
ed0026
* Tue Sep 21 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.3-1
ed0026
- Upstream release of 1.1.3
ed0026
  + High: crmd: Use the correct define/size for lrm resource IDs
ed0026
  + High: crmd: Bug lf#2458 - Ensure stop actions always have the relevant resource attributes
ed0026
  + High: crmd: Ensure we activate the DC timer if we detect an alternate DC
ed0026
  + High: mcp: Correctly initialize the string containing the list of active daemons
ed0026
  + High: mcp: Fix the expansion of the pid file in the init script
ed0026
  + High: mcp: Tell chkconfig we need to shut down early on
ed0026
  + High: PE: Bug lf#2476 - Repair on-fail=block for groups and primitive resources
ed0026
  + High: PE: Do not demote resources because something that requires it can't run
ed0026
  + High: PE: Rewrite the ordering constraint logic to be simplicity, clarity and maintainability
ed0026
  + High: PE: Wait until stonith is available, don't fall back to shutdown for nodes requesting termination
ed0026
  + High: PE: Prevent segfault by ensuring the arguments to do_calculations() are initialized
ed0026
  + High: stonith: Bug lf#2461 - Prevent segfault by not looking up operations if the hashtable hasn't been initialized yet
ed0026
  + High: Stonith: Bug lf#2473 - Ensure stonith operations complete within the timeout and are terminated if they run too long
ed0026
  + High: stonith: Bug lf#2473 - Gracefully handle remote operations that arrive late (after we've done notifications)
ed0026
  + High: stonith: Bug lf#2473 - Add the timeout at the top level where the daemon is looking for it
ed0026
  + High: stonith: Bug lf#2473 - Ensure timeouts are included for fencing operations
ed0026
  + High: Stonith: Use the timeout specified by the user
ed0026
  + High: Tools: Bug lf#2456 - Fix assertion failure in crm_resource
ed0026
ed0026
* Mon Jul 26 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.3-0.1-b3cb4f4a30ae.hg
ed0026
- Pre-release version of 1.1.3
ed0026
  + High: ais: Bug lf2401 - Improved processing when the peer crmd processes join/leave
ed0026
  + High: ais: fix list of active processes sent to clients (bnc#603685)
ed0026
  + High: ais: Move the code for finding uid before the fork so that the child does no logging
ed0026
  + High: ais: Resolve coverity CONSTANT_EXPRESSION_RESULT defects
ed0026
  + High: cib: Also free query result for xpath operations that return more than one hit
ed0026
  + High: cib: Attempt to resolve memory corruption when forking a child to write the cib to disk
ed0026
  + High: cib: Correctly free memory when writing out the cib to disk
ed0026
  + High: cib: Fix the application of unversioned diffs
ed0026
  + High: cib: Remove old developmental error logging
ed0026
  + High: cib: Restructure the 'valid peer' check for deciding which instructions to ignore
ed0026
  + High: Core: Bug lf#2401 - Backed out changeset 6e6980376f01
ed0026
  + High: Core: Correctly unpack HA_Messages containing multiple entries with the same name
ed0026
  + High: Core: crm_count_member() should only track nodes that have the full stack up
ed0026
  + High: Core: New developmental logging system inspired by the kernel and a PoC from Lars Ellenberg
ed0026
  + High: crmd: All nodes should see status updates, not just he DC
ed0026
  + High: crmd: Allow non-DC nodes to clear failcounts too
ed0026
  + High: crmd: Base DC election on process relative uptime
ed0026
  + High: crmd: Bug lf#2439 - cancel_op() can also return HA_RSCBUSY
ed0026
  + High: crmd: Bug lf#2439 - Handle asynchronous notification of resource deletion events
ed0026
  + High: crmd: Fix assertion failure when performing async resource failures
ed0026
  + High: crmd: Fix handling of async resource deletion results
ed0026
  + High: crmd: Include the action for crm graph operations
ed0026
  + High: crmd: Make sure the membership cache is accurate after a sucessful fencing operation
ed0026
  + High: crmd: Make sure we always poke the FSA after a transition to clear any TE_HALT actions
ed0026
  + High: crmd: Offer crm-level membership once the peer starts the crmd process
ed0026
  + High: crmd: Only need to request quorum update for plugin based clusters
ed0026
  + High: crmd: Prevent everyone from loosing DC elections by correctly initializing all relevant variables
ed0026
  + High: crmd: Prevent segmentation fault
ed0026
  + High: crmd: several fixes for async resource delete
ed0026
  + High: mcp: Add missing headers when built without heartbeat support
ed0026
  + High: mcp: New master control process for (re)spawning pacemaker daemons
ed0026
  + High: PE: Avoid creating invalid ordering constraints for probes that are not needed
ed0026
  + High: PE: Bug lf#1959 - Fail unmanaged resources should not prevent other services from shutting down
ed0026
  + High: PE: Bug lf#2422 - Ordering dependencies on partially active groups not observed properly
ed0026
  + High: PE: Bug lf#2424 - Use notify oepration definition if it exists in the configuration
ed0026
  + High: PE: Bug lf#2433 - No services should be stopped until probes finish
ed0026
  + High: PE: Bug lf#2453 - Enforce clone ordering in the absense of colocation constraints
ed0026
  + High: PE: Correctly detect when there is a real failcount that expired and needs to be cleared
ed0026
  + High: PE: Correctly handle pseudo action creation
ed0026
  + High: PE: Correctly order clone startup after group/clone start
ed0026
  + High: PE: Fix colocation for interleaved clones
ed0026
  + High: PE: Fix colocation with partially active groups
ed0026
  + High: PE: Fix potential use-after-free defect from coverity
ed0026
  + High: PE: Fix previous merge
ed0026
  + High: PE: Fix use-after-free in order_actions() reported by valgrind
ed0026
  + High: PE: Prevent endless loop when looking for operation definitions in the configuration
ed0026
  + High: Resolve coverity RESOURCE_LEAK defects
ed0026
  + High: Shell: Complete the transition to using crm_attribute instead of crm_failcount and crm_standby
ed0026
  + High: stonith: Advertise stonith-ng options in the metadata
ed0026
  + High: stonith: Correctly parse pcmk_host_list parameters that appear on a single line
ed0026
  + High: stonith: Map poweron/poweroff back to on/off expected by the stonith tool from cluster-glue
ed0026
  + High: stonith: pass the configuration to the stonith program via environment variables (bnc#620781)
ed0026
  + High: Support starting plugin-based Pacemaker clusters with the MCP as well
ed0026
  + High: tools: crm_report - corosync.conf wont necessarily contain the text 'pacemaker' anymore
ed0026
  + High: tools: crm_simulate - Resolve coverity USE_AFTER_FREE defect
ed0026
  + High: Tools: Drop the 'pingd' daemon and resource agent in favor of ocf:pacemaker:ping
ed0026
  + High: Tools: Fix recently introduced use-of-NULL
ed0026
  + High: Tools: Fix use-after-free defect from coverity
ed0026
ed0026
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.2-5.1
ed0026
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
ed0026
ed0026
* Fri Jul  9 2010 Dan Horák <dan[at]danny.cz> - 1.1.2-5
ed0026
- re-enable AIS cluster on s390(x)
ed0026
ed0026
* Fri Jul  9 2010 Dan Horák <dan[at]danny.cz> - 1.1.2-4
ed0026
- AIS cluster not available on s390(x)
ed0026
ed0026
* Mon Jun 21 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-3
ed0026
- publican is only available as a dependancy on i386/x86_64 machines
ed0026
ed0026
* Fri Jun 11 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-2
ed0026
- Resolves rhbz#602239 - Added patch to documentation so that it passes validation
ed0026
- High: Core: Bug lf#2401 - Backed out changeset 6e6980376f01
ed0026
ed0026
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1.2-1.1
ed0026
- Mass rebuild with perl-5.12.0
ed0026
ed0026
* Wed May 12 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-1
ed0026
- Update the tarball from the upstream 1.1.2 release
ed0026
  + High: ais: Bug lf#2340 - Force rogue child processes to terminate after waiting 2.5 minutes
ed0026
  + High: ais: Bug lf#2359 - Default expected votes to 2 inside Corosync/OpenAIS plugin
ed0026
  + High: ais: Bug lf#2359 - expected-quorum-votes not correctly updated after membership change
ed0026
  + High: ais: Bug rhbz#525552 - Move non-threadsafe calls to setenv() to after the fork()
ed0026
  + High: ais: Do not count votes from offline nodes and calculate current votes before sending quorum data
ed0026
  + High: ais: Ensure the list of active processes sent to clients is always up-to-date
ed0026
  + High: ais: Fix previous commit, actually return a result in get_process_list()
ed0026
  + High: ais: Fix two more uses of getpwnam() in non-thread-safe locations
ed0026
  + High: ais: Look for the correct conf variable for turning on file logging
ed0026
  + High: ais: Need to find a better and thread-safe way to set core_uses_pid. Disable for now.
ed0026
  + High: ais: Use the threadsafe version of getpwnam
ed0026
  + High: Core: Bug lf#2414 - Prevent use-after-free reported by valgrind when doing xpath based deletions
ed0026
  + High: Core: Bump the feature set due to the new failcount expiry feature
ed0026
  + High: Core: Fix memory leak in replace_xml_child() reported by valgrind
ed0026
  + High: Core: fix memory leaks exposed by valgrind
ed0026
  + High: crmd: Bug 2401 - Improved detection of partially active peers
ed0026
  + High: crmd: Bug bnc#578644 - Improve handling of cancelled operations caused by resource cleanup
ed0026
  + High: crmd: Bug lf#2379 - Ensure the cluster terminates when the PE is not available
ed0026
  + High: crmd: Bug lf#2414 - Prevent use-after-free of the PE connection after it dies
ed0026
  + High: crmd: Bug lf#2414 - Prevent use-after-free of the stonith-ng connection
ed0026
  + High: crmd: Do not allow the target_rc to be misused by resource agents
ed0026
  + High: crmd: Do not ignore action timeouts based on FSA state
ed0026
  + High: crmd: Ensure we dont get stuck in S_PENDING if we loose an election to someone that never talks to us again
ed0026
  + High: crmd: Fix memory leaks exposed by valgrind
ed0026
  + High: crmd: Remove race condition that could lead to multiple instances of a clone being active on a machine
ed0026
  + High: crmd: Send erase_status_tag() calls to the local CIB when the DC is fenced, since there is no DC to accept them
ed0026
  + High: crmd: Use global fencing notifications to prevent secondary fencing operations of the DC
ed0026
  + High: fencing: Account for stonith_get_info() always returning a pointer to the same static buffer
ed0026
  + High: PE: Allow startup probes to be disabled - their calculation is a major bottleneck for very large clusters
ed0026
  + High: PE: Bug lf#2317 - Avoid needless restart of primitive depending on a clone
ed0026
  + High: PE: Bug lf#2358 - Fix master-master anti-colocation
ed0026
  + High: PE: Bug lf#2361 - Ensure clones observe mandatory ordering constraints if the LHS is unrunnable
ed0026
  + High: PE: Bug lf#2383 - Combine failcounts for all instances of an anonymous clone on a host
ed0026
  + High: PE: Bug lf#2384 - Fix intra-set colocation and ordering
ed0026
  + High: PE: Bug lf#2403 - Enforce mandatory promotion (colocation) constraints
ed0026
  + High: PE: Bug lf#2412 - Correctly locate clone instances by their prefix
ed0026
  + High: PE: Correctly implement optional colocation between primitives and clone resources
ed0026
  + High: PE: Do not be so quick to pull the trigger on nodes that are coming up
ed0026
  + High: PE: Fix memory leaks exposed by valgrind
ed0026
  + High: PE: Fix memory leaks reported by valgrind
ed0026
  + High: PE: Repair handling of unordered groups in RHS ordering constraints
ed0026
  + High: PE: Rewrite native_merge_weights() to avoid Fix use-after-free
ed0026
  + High: PE: Suppress duplicate ordering constraints to achieve orders of magnitude speed increases for large clusters
ed0026
  + High: Shell: add support for xml in cli
ed0026
  + High: Shell: always reload status if working with the cluster (bnc#590035)
ed0026
  + High: Shell: check timeouts also against the default-action-timeout property
ed0026
  + High: Shell: Default to using the status section from the live CIB (bnc#592762)
ed0026
  + High: Shell: edit multiple meta_attributes sets in resource management (lf#2315)
ed0026
  + High: Shell: enable comments (lf#2221)
ed0026
  + High: Shell: implement new cibstatus interface and commands (bnc#580492)
ed0026
  + High: Shell: improve configure commit (lf#2336)
ed0026
  + High: Shell: new cibstatus import command (bnc#585471)
ed0026
  + High: Shell: new configure filter command
ed0026
  + High: Shell: restore error reporting in options
ed0026
  + High: Shell: split shell into modules
ed0026
  + High: Shell: support for the utilization element (old patch for the new structure)
ed0026
  + High: Shell: update previous node lookup procedure to include the id where necessary
ed0026
  + High: Tools: crm_mon - fix memory leaks exposed by valgrind
ed0026
ed0026
* Thu Feb 11 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.1-0.1-60b7753f7310.hg
ed0026
- Update the tarball from upstream to version 60b7753f7310
ed0026
  + First public release of the 1.1 series
ed0026
ed0026
* Wed Dec 9 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-5
ed0026
- Include patch of changeset 66b7bfd467f3:
ed0026
  Some clients such as gfs_controld want a cluster name, allow one to be specified in corosync.conf
ed0026
ed0026
* Thu Oct 29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-4
ed0026
- Include the fixes from CoroSync integration testing
ed0026
- Move the resource templates - they are not documentation
ed0026
- Ensure documentation is placed in a standard location
ed0026
- Exclude documentation that is included elsewhere in the package
ed0026
ed0026
- Update the tarball from upstream to version ee19d8e83c2a
ed0026
  + High: cib: Correctly clean up when both plaintext and tls remote ports are requested
ed0026
  + High: PE: Bug bnc#515172 - Provide better defaults for lt(e) and gt(e) comparisions
ed0026
  + High: PE: Bug lf#2197 - Allow master instances placemaker to be influenced by colocation constraints
ed0026
  + High: PE: Make sure promote/demote pseudo actions are created correctly
ed0026
  + High: PE: Prevent target-role from promoting more than master-max instances
ed0026
  + High: ais: Bug lf#2199 - Prevent expected-quorum-votes from being populated with garbage
ed0026
  + High: ais: Prevent deadlock - dont try to release IPC message if the connection failed
ed0026
  + High: cib: For validation errors, send back the full CIB so the client can display the errors
ed0026
  + High: cib: Prevent use-after-free for remote plaintext connections
ed0026
  + High: crmd: Bug lf#2201 - Prevent use-of-NULL when running heartbeat
ed0026
  + High: Core: Bug lf#2169 - Allow dtd/schema validation to be disabled
ed0026
  + High: PE: Bug lf#2106 - Not all anonymous clone children are restarted after configuration change
ed0026
  + High: PE: Bug lf#2170 - stop-all-resources option had no effect
ed0026
  + High: PE: Bug lf#2171 - Prevent groups from starting if they depend on a complex resource which cannot
ed0026
  + High: PE: Disable resource management if stonith-enabled=true and no stonith resources are defined
ed0026
  + High: PE: Do not include master score if it would prevent allocation
ed0026
  + High: ais: Avoid excessive load by checking for dead children every 1s (instead of 100ms)
ed0026
  + High: ais: Bug rh#525589 - Prevent shutdown deadlocks when running on CoroSync
ed0026
  + High: ais: Gracefully handle changes to the AIS nodeid
ed0026
  + High: crmd: Bug bnc#527530 - Wait for the transition to complete before leaving S_TRANSITION_ENGINE
ed0026
  + High: crmd: Prevent use-after-free with LOG_DEBUG_3
ed0026
  + Medium: xml: Mask the "symmetrical" attribute on rsc_colocation constraints (bnc#540672)
ed0026
  + Medium (bnc#520707): Tools: crm: new templates ocfs2 and clvm
ed0026
  + Medium: Build: Invert the disable ais/heartbeat logic so that --without (ais|heartbeat) is available to rpmbuild
ed0026
  + Medium: PE: Bug lf#2178 - Indicate unmanaged clones
ed0026
  + Medium: PE: Bug lf#2180 - Include node information for all failed ops
ed0026
  + Medium: PE: Bug lf#2189 - Incorrect error message when unpacking simple ordering constraint
ed0026
  + Medium: PE: Correctly log resources that would like to start but cannot
ed0026
  + Medium: PE: Stop ptest from logging to syslog
ed0026
  + Medium: ais: Include version details in plugin name
ed0026
  + Medium: crmd: Requery the resource metadata after every start operation
ed0026
ed0026
* Fri Oct  9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.5-3
ed0026
- rebuilt with new net-snmp
ed0026
ed0026
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0.5-2.1
ed0026
- rebuilt with new openssl
ed0026
ed0026
* Wed Aug 19 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-2
ed0026
- Add versioned perl dependancy as specified by
ed0026
    https://fedoraproject.org/wiki/Packaging/Perl#Packages_that_link_to_libperl
ed0026
- No longer remove RPATH data, it prevents us finding libperl.so and no other
ed0026
  libraries were being hardcoded
ed0026
- Compile in support for heartbeat
ed0026
- Conditionally add heartbeat-devel and corosynclib-devel to the -devel requirements
ed0026
  depending on which stacks are supported
ed0026
ed0026
* Mon Aug 17 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-1
ed0026
- Add dependancy on resource-agents
ed0026
- Use the version of the configure macro that supplies --prefix, --libdir, etc
ed0026
- Update the tarball from upstream to version 462f1569a437 (Pacemaker 1.0.5 final)
ed0026
  + High: Tools: crm_resource - Advertise --move instead of --migrate
ed0026
  + Medium: Extra: New node connectivity RA that uses system ping and attrd_updater
ed0026
  + Medium: crmd: Note that dc-deadtime can be used to mask the brokeness of some switches
ed0026
ed0026
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.0.5-0.7.c9120a53a6ae.hg
ed0026
- Use bzipped upstream tarball.
ed0026
ed0026
* Wed Jul  29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.6.c9120a53a6ae.hg
ed0026
- Add back missing build auto* dependancies
ed0026
- Minor cleanups to the install directive
ed0026
ed0026
* Tue Jul  28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.5.c9120a53a6ae.hg
ed0026
- Add a leading zero to the revision when alphatag is used
ed0026
ed0026
* Tue Jul  28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.4.c9120a53a6ae.hg
ed0026
- Incorporate the feedback from the cluster-glue review
ed0026
- Realistically, the version is a 1.0.5 pre-release
ed0026
- Use the global directive instead of define for variables
ed0026
- Use the haclient/hacluster group/user instead of daemon
ed0026
- Use the _configure macro
ed0026
- Fix install dependancies
ed0026
ed0026
* Fri Jul  24 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-3
ed0026
- Include an AUTHORS and license file in each package
ed0026
- Change the library package name to pacemaker-libs to be more
ed0026
  Fedora compliant
ed0026
- Remove execute permissions from xml related files
ed0026
- Reference the new cluster-glue devel package name
ed0026
- Update the tarball from upstream to version c9120a53a6ae
ed0026
  + High: PE: Only prevent migration if the clone dependancy is stopping/starting on the target node
ed0026
  + High: PE: Bug 2160 - Dont shuffle clones due to colocation
ed0026
  + High: PE: New implementation of the resource migration (not stop/start) logic
ed0026
  + Medium: Tools: crm_resource - Prevent use-of-NULL by requiring a resource name for the -A and -a options
ed0026
  + Medium: PE: Prevent use-of-NULL in find_first_action()
ed0026
  + Low: Build: Include licensing files
ed0026
ed0026
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-2
ed0026
- Reference authors from the project AUTHORS file instead of listing in description
ed0026
- Change Source0 to reference the project's Mercurial repo
ed0026
- Cleaned up the summaries and descriptions
ed0026
- Incorporate the results of Fedora package self-review
ed0026
ed0026
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-1
ed0026
- Initial checkin