a7344f
# Globals and defines to control package behavior (configure these as desired)
a7344f
a7344f
## User and group to use for nonprivileged services
a7344f
%global uname hacluster
a7344f
%global gname haclient
a7344f
a7344f
## Where to install Pacemaker documentation
b04960
%if 0%{?suse_version} > 0
b04960
%global pcmk_docdir %{_docdir}/%{name}-%{version}
b04960
%else
a7344f
%global pcmk_docdir %{_docdir}/%{name}
b04960
%endif
a7344f
a7344f
## GitHub entity that distributes source (for ease of using a fork)
a7344f
%global github_owner ClusterLabs
a7344f
a7344f
## Upstream pacemaker version, and its package version (specversion
a7344f
## can be incremented to build packages reliably considered "newer"
a7344f
## than previously built packages with the same pcmkversion)
b04960
%global pcmkversion 1.1.22
b04960
%global specversion 1
a7344f
a7344f
## Upstream commit (or git tag, such as "Pacemaker-" plus the
a7344f
## {pcmkversion} macro for an official release) to use for this package
b04960
%global commit 63d2d79005005f42bd1538f7b8fd211aca225073
a7344f
## Since git v2.11, the extent of abbreviation is autoscaled by default
a7344f
## (used to be constant of 7), so we need to convey it for non-tags, too.
a7344f
%global commit_abbrev 7
a7344f
a7344f
a7344f
# Define globals for convenient use later
a7344f
a7344f
## Workaround to use parentheses in other globals
a7344f
%global lparen (
a7344f
%global rparen )
a7344f
a7344f
## Short version of git commit
a7344f
%define shortcommit %(c=%{commit}; case ${c} in
a7344f
                      Pacemaker-*%{rparen} echo ${c:10};;
a7344f
                      *%{rparen} echo ${c:0:%{commit_abbrev}};; esac)
a7344f
a7344f
## Whether this is a tagged release
a7344f
%define tag_release %([ %{commit} != Pacemaker-%{shortcommit} ]; echo $?)
a7344f
a7344f
## Whether this is a release candidate (in case of a tagged release)
a7344f
%define pre_release %([ "%{tag_release}" -eq 0 ] || {
a7344f
                      case "%{shortcommit}" in *-rc[[:digit:]]*%{rparen} false;;
a7344f
                      esac; }; echo $?)
a7344f
a7344f
## Turn off auto-compilation of python files outside site-packages directory,
a7344f
## so that the -libs-devel package is multilib-compliant (no *.py[co] files)
a7344f
%global __os_install_post %(echo '%{__os_install_post}' | {
a7344f
                            sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g'; })
a7344f
a7344f
## Heuristic used to infer bleeding-edge deployments that are
a7344f
## less likely to have working versions of the documentation tools
a7344f
%define bleeding %(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?)
a7344f
a7344f
## Corosync version
a7344f
%define cs_version %(pkg-config corosync --modversion 2>/dev/null | awk -F . '{print $1}')
a7344f
a7344f
## Where to install python site libraries (currently, this uses the unversioned
a7344f
## python_sitearch macro to get the default system python, but at some point,
a7344f
## we should explicitly choose python2_sitearch or python3_sitearch -- or both)
a7344f
%define py_site %{?python_sitearch}%{!?python_sitearch:%(
a7344f
  python -c 'from distutils.sysconfig import get_python_lib as gpl; print(gpl(1))' 2>/dev/null)}
a7344f
a7344f
## Whether this platform defaults to using CMAN
a7344f
%define cman_native (0%{?el6} || (0%{?fedora} > 0 && 0%{?fedora} < 17))
a7344f
a7344f
## Whether this platform defaults to using systemd as an init system
a7344f
## (needs to be evaluated prior to BuildRequires being enumerated and
a7344f
## installed as it's intended to conditionally select some of these, and
a7344f
## for that there are only few indicators with varying reliability:
a7344f
## - presence of systemd-defined macros (when building in a full-fledged
a7344f
##   environment, which is not the case with ordinary mock-based builds)
a7344f
## - systemd-aware rpm as manifested with the presence of particular
a7344f
##   macro (rpm itself will trivially always be present when building)
a7344f
## - existence of /usr/lib/os-release file, which is something heavily
a7344f
##   propagated by systemd project
a7344f
## - when not good enough, there's always a possibility to check
a7344f
##   particular distro-specific macros (incl. version comparison)
a7344f
%define systemd_native (%{?_unitdir:1}%{!?_unitdir:0}%{nil \
a7344f
  } || %{?__transaction_systemd_inhibit:1}%{!?__transaction_systemd_inhibit:0}%{nil \
a7344f
  } || %(test -f /usr/lib/os-release; test $? -ne 0; echo $?))
a7344f
b04960
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
b04960
%global gnutls_priorities @SYSTEM
b04960
%endif
b04960
b04960
%if !%{defined _rundir}
b04960
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1200
b04960
%define _rundir /run
b04960
%else
b04960
%define _rundir /var/run
b04960
%endif
b04960
%endif
b04960
b04960
## Different distros name certain packages differently
b04960
## (note: corosync libraries also differ, but all provide corosync-devel)
b04960
%if 0%{?suse_version} > 0
b04960
%global pkgname_bzip2_devel libbz2-devel
b04960
%global pkgname_docbook_xsl docbook-xsl-stylesheets
b04960
%global pkgname_gnutls_devel libgnutls-devel
b04960
%global pkgname_shadow_utils shadow
b04960
%global pkgname_procps procps
b04960
%global pkgname_glue_libs libglue
b04960
%global pkgname_pcmk_libs lib%{name}3
b04960
%global hacluster_id 90
b04960
%else
b04960
%global pkgname_libtool_devel libtool-ltdl-devel
b04960
%global pkgname_libtool_devel_arch libtool-ltdl-devel%{?_isa}
b04960
%global pkgname_bzip2_devel bzip2-devel
b04960
%global pkgname_docbook_xsl docbook-style-xsl
b04960
%global pkgname_gnutls_devel gnutls-devel
b04960
%global pkgname_shadow_utils shadow-utils
b04960
%global pkgname_procps procps-ng
b04960
%global pkgname_publican publican
b04960
%global pkgname_glue_libs cluster-glue-libs
b04960
%global pkgname_pcmk_libs %{name}-libs
b04960
%global hacluster_id 189
b04960
%endif
b04960
a7344f
# RHEL: harden the default GnuTLS cipher list
a7344f
%global gnutls_priorities NORMAL:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1:-MD5:-3DES-CBC:-ARCFOUR-128:-ARCFOUR-40
a7344f
a7344f
## Upstream commit to use for nagios-agents-metadata package
a7344f
%global nagios_hash 105ab8a
a7344f
a7344f
a7344f
# Definitions for backward compatibility with older RPM versions
a7344f
a7344f
## Ensure the license macro behaves consistently (older RPM will otherwise
a7344f
## overwrite it once it encounters "License:"). Courtesy Jason Tibbitts:
a7344f
## https://pkgs.fedoraproject.org/cgit/rpms/epel-rpm-macros.git/tree/macros.zzz-epel?h=el6&id=e1adcb77
a7344f
%if !%{defined _licensedir}
a7344f
%define description %{lua:
a7344f
    rpm.define("license %doc")
a7344f
    print("%description")
a7344f
}
a7344f
%endif
a7344f
a7344f
a7344f
# Define conditionals so that "rpmbuild --with <feature>" and
a7344f
# "rpmbuild --without <feature>" can enable and disable specific features
a7344f
a7344f
## Add option to enable support for stonith/external fencing agents
a7344f
%bcond_with stonithd
a7344f
a7344f
## Add option to create binaries suitable for use with profiling tools
a7344f
%bcond_with profiling
a7344f
a7344f
## Add option to create binaries with coverage analysis
a7344f
%bcond_with coverage
a7344f
a7344f
## Add option to generate documentation (requires Publican, Asciidoc and Inkscape)
a7344f
%bcond_with doc
a7344f
a7344f
## Add option to prefix package version with "0."
a7344f
## (so later "official" packages will be considered updates)
a7344f
%bcond_with pre_release
a7344f
a7344f
## Add option to ship Upstart job files
a7344f
%bcond_with upstart_job
a7344f
a7344f
## Add option to enable CMAN support
a7344f
%bcond_with cman
a7344f
a7344f
## Add option to turn on SNMP / ESMTP support
a7344f
%bcond_with snmp
a7344f
%bcond_with esmtp
a7344f
a7344f
## Add option to turn off hardening of libraries and daemon executables
a7344f
%bcond_without hardening
a7344f
a7344f
a7344f
# Keep sane profiling data if requested
a7344f
%if %{with profiling}
a7344f
a7344f
## Disable -debuginfo package and stripping binaries/libraries
a7344f
%define debug_package %{nil}
a7344f
a7344f
%endif
a7344f
a7344f
a7344f
# Define the release version
a7344f
# (do not look at externally enforced pre-release flag for tagged releases
a7344f
# as only -rc tags, captured with the second condition, implies that then)
a7344f
%if (!%{tag_release} && %{with pre_release}) || 0%{pre_release}
a7344f
%if 0%{pre_release}
a7344f
%define pcmk_release 0.%{specversion}.%(s=%{shortcommit}; echo ${s: -3})
a7344f
%else
a7344f
%define pcmk_release 0.%{specversion}.%{shortcommit}.git
a7344f
%endif
a7344f
%else
a7344f
%if 0%{tag_release}
a7344f
%define pcmk_release %{specversion}
a7344f
%else
a7344f
# Never use the short commit in a RHEL release number
a7344f
%define pcmk_release %{specversion}
a7344f
%endif
a7344f
%endif
a7344f
a7344f
Name:          pacemaker
a7344f
Summary:       Scalable High-Availability cluster resource manager
a7344f
Version:       %{pcmkversion}
a7344f
Release:       %{pcmk_release}%{?dist}
a7344f
%if %{defined _unitdir}
a7344f
License:       GPLv2+ and LGPLv2+
a7344f
%else
a7344f
# initscript is Revised BSD
a7344f
License:       GPLv2+ and LGPLv2+ and BSD
a7344f
%endif
a7344f
Url:           http://www.clusterlabs.org
a7344f
Group:         System Environment/Daemons
a7344f
a7344f
# Hint: use "spectool -s 0 pacemaker.spec" (rpmdevtools) to check the final URL:
a7344f
# https://github.com/ClusterLabs/pacemaker/archive/e91769e5a39f5cb2f7b097d3c612368f0530535e/pacemaker-e91769e.tar.gz
a7344f
Source0:       https://github.com/%{github_owner}/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
a7344f
Source1:       nagios-agents-metadata-%{nagios_hash}.tar.gz
a7344f
a7344f
# upstream commits
b04960
#Patch1:        01-rollup.patch
a7344f
a7344f
# patches that aren't from upstream
a7344f
Patch100:      lrmd-protocol-version.patch
a7344f
Patch101:      2.0-record-pending-behavior.patch
a7344f
Patch102:      2.0-cleanup-behavior.patch
b04960
Patch103:      shutdown-lock-01.patch
b04960
Patch104:      shutdown-lock-02.patch
b04960
Patch105:      shutdown-lock-03.patch
b04960
Patch106:      shutdown-lock-04.patch
b04960
Patch107:      shutdown-lock-05.patch
b04960
Patch108:      shutdown-lock-06.patch
b04960
Patch109:      shutdown-lock-07.patch
b04960
Patch110:      shutdown-lock-08.patch
b04960
Patch111:      shutdown-lock-09.patch
b04960
Patch112:      shutdown-lock-10.patch
b04960
Patch113:      shutdown-lock-11.patch
a7344f
a7344f
BuildRoot:     %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
a7344f
AutoReqProv:   on
a7344f
Requires:      resource-agents
b04960
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
a7344f
Requires:      %{name}-cluster-libs%{?_isa} = %{version}-%{release}
a7344f
Requires:      %{name}-cli = %{version}-%{release}
a7344f
Obsoletes:     rgmanager < 3.2.0
a7344f
Provides:      rgmanager >= 3.2.0
a7344f
Provides:      pcmk-cluster-manager
a7344f
a7344f
%{?systemd_requires}
a7344f
a7344f
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64
a7344f
a7344f
# Pacemaker targets compatibility with python 2.6+ and 3.2+
a7344f
Requires:      python >= 2.6
a7344f
BuildRequires: python-devel >= 2.6
a7344f
a7344f
# Pacemaker requires a minimum libqb functionality
a7344f
Requires:      libqb > 0.17.0
a7344f
BuildRequires: libqb-devel > 0.17.0
a7344f
a7344f
# Basics required for the build (even if usually satisfied through other BRs)
a7344f
BuildRequires: coreutils findutils grep sed
a7344f
a7344f
# Required for core functionality
b04960
BuildRequires: automake autoconf gcc libtool pkgconfig %{?pkgname_libtool_devel}
a7344f
## version lower bound for: G_GNUC_INTERNAL
a7344f
BuildRequires: pkgconfig(glib-2.0) >= 2.6
a7344f
BuildRequires: libxml2-devel libxslt-devel libuuid-devel
b04960
BuildRequires: %{pkgname_bzip2_devel}
a7344f
a7344f
# Required for agent_config.h which specifies the correct scratch directory
a7344f
BuildRequires: resource-agents
a7344f
a7344f
# RH patches are created by git, so we need git to apply them
a7344f
BuildRequires: git
a7344f
a7344f
# Enables optional functionality
b04960
BuildRequires: ncurses-devel %{pkgname_docbook_xsl}
b04960
BuildRequires: bison byacc flex help2man %{pkgname_gnutls_devel} pam-devel pkgconfig(dbus-1)
a7344f
a7344f
%if %{systemd_native}
a7344f
BuildRequires: pkgconfig(systemd)
a7344f
%endif
a7344f
a7344f
%if %{with cman} && %{cman_native}
a7344f
BuildRequires: clusterlib-devel
a7344f
# pacemaker initscript: cman initscript, fence_tool (+ some soft-dependencies)
a7344f
# "post" scriptlet: ccs_update_schema
a7344f
Requires:      cman
a7344f
%endif
a7344f
a7344f
Requires:      corosync
b04960
BuildRequires: corosync-devel
a7344f
a7344f
%if %{with stonithd}
b04960
BuildRequires: %{pkgname_glue_libs}-devel
a7344f
%endif
a7344f
a7344f
## (note no avoiding effect when building through non-customized mock)
a7344f
%if !%{bleeding}
a7344f
%if %{with doc}
b04960
BuildRequires: inkscape asciidoc %{?pkgname_publican}
a7344f
%endif
a7344f
%endif
a7344f
a7344f
%description
a7344f
Pacemaker is an advanced, scalable High-Availability cluster resource
a7344f
manager for Corosync, CMAN and/or Linux-HA.
a7344f
a7344f
It supports more than 16 node clusters with significant capabilities
a7344f
for managing resources and dependencies.
a7344f
a7344f
It will run scripts at initialization, when machines go up or down,
a7344f
when related resources fail and can be configured to periodically check
a7344f
resource health.
a7344f
a7344f
Available rpmbuild rebuild options:
a7344f
  --with(out) : cman coverage doc stonithd hardening pre_release profiling
a7344f
a7344f
%package cli
a7344f
License:       GPLv2+ and LGPLv2+
a7344f
Summary:       Command line tools for controlling Pacemaker clusters
a7344f
Group:         System Environment/Daemons
b04960
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
a7344f
Requires:      perl-TimeDate
a7344f
a7344f
%description cli
a7344f
Pacemaker is an advanced, scalable High-Availability cluster resource
a7344f
manager for Corosync, CMAN and/or Linux-HA.
a7344f
a7344f
The %{name}-cli package contains command line tools that can be used
a7344f
to query and control the cluster from machines that may, or may not,
a7344f
be part of the cluster.
a7344f
b04960
%package -n %{pkgname_pcmk_libs}
a7344f
License:       GPLv2+ and LGPLv2+
a7344f
Summary:       Core Pacemaker libraries
a7344f
Group:         System Environment/Daemons
b04960
Requires(pre): %{pkgname_shadow_utils}
a7344f
# sbd 1.4.0+ supports the libpe_status API for pe_working_set_t
a7344f
Conflicts:     sbd < 1.4.0
a7344f
b04960
%description -n %{pkgname_pcmk_libs}
a7344f
Pacemaker is an advanced, scalable High-Availability cluster resource
a7344f
manager for Corosync, CMAN and/or Linux-HA.
a7344f
b04960
The %{pkgname_pcmk_libs} package contains shared libraries needed for cluster
a7344f
nodes and those just running the CLI tools.
a7344f
a7344f
%package -n %{name}-cluster-libs
a7344f
License:       GPLv2+ and LGPLv2+
a7344f
Summary:       Cluster Libraries used by Pacemaker
a7344f
Group:         System Environment/Daemons
b04960
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
a7344f
a7344f
%description -n %{name}-cluster-libs
a7344f
Pacemaker is an advanced, scalable High-Availability cluster resource
a7344f
manager for Corosync, CMAN and/or Linux-HA.
a7344f
a7344f
The %{name}-cluster-libs package contains cluster-aware shared
a7344f
libraries needed for nodes that will form part of the cluster nodes.
a7344f
a7344f
%package remote
a7344f
%if %{defined _unitdir}
a7344f
License:       GPLv2+ and LGPLv2+
a7344f
%else
a7344f
# initscript is Revised BSD
a7344f
License:       GPLv2+ and LGPLv2+ and BSD
a7344f
%endif
a7344f
Summary:       Pacemaker remote daemon for non-cluster nodes
a7344f
Group:         System Environment/Daemons
b04960
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
a7344f
Requires:      %{name}-cli = %{version}-%{release}
a7344f
Requires:      resource-agents
a7344f
Provides:      pcmk-cluster-manager
a7344f
a7344f
# -remote can be fully independent of systemd
a7344f
%{?systemd_ordering}%{!?systemd_ordering:%{?systemd_requires}}
a7344f
a7344f
%description remote
a7344f
Pacemaker is an advanced, scalable High-Availability cluster resource
a7344f
manager for Corosync, CMAN and/or Linux-HA.
a7344f
a7344f
The %{name}-remote package contains the Pacemaker Remote daemon
a7344f
which is capable of extending pacemaker functionality to remote
a7344f
nodes not running the full corosync/cluster stack.
a7344f
b04960
%package -n %{pkgname_pcmk_libs}-devel
a7344f
License:       GPLv2+ and LGPLv2+
a7344f
Summary:       Pacemaker development package
a7344f
Group:         Development/Libraries
a7344f
Requires:      %{name}-cts = %{version}-%{release}
b04960
Requires:      %{pkgname_pcmk_libs}%{?_isa} = %{version}-%{release}
b04960
Requires:      %{name}-cluster-libs%{?_isa} = %{version}-%{release}
b04960
Requires:      libuuid-devel%{?_isa} %{?pkgname_libtool_devel_arch}
b04960
Requires:      libxml2-devel%{?_isa} libxslt-devel%{?_isa}
b04960
Requires:      %{pkgname_bzip2_devel}%{?_isa} glib2-devel%{?_isa}
b04960
Requires:      libqb-devel%{?_isa}
b04960
Requires:      corosync-devel
a7344f
b04960
%description -n %{pkgname_pcmk_libs}-devel
a7344f
Pacemaker is an advanced, scalable High-Availability cluster resource
a7344f
manager for Corosync, CMAN and/or Linux-HA.
a7344f
b04960
The %{pkgname_pcmk_libs}-devel package contains headers and shared libraries
a7344f
for developing tools for Pacemaker.
a7344f
a7344f
# NOTE: can be noarch if lrmd_test is moved to another subpackage
a7344f
%package       cts
a7344f
License:       GPLv2+ and LGPLv2+
a7344f
Summary:       Test framework for cluster-related technologies like Pacemaker
a7344f
Group:         System Environment/Daemons
a7344f
Requires:      python >= 2.6
b04960
Requires:      %{pkgname_pcmk_libs} = %{version}-%{release}
a7344f
a7344f
# systemd python bindings are separate package in some distros
a7344f
%if %{defined systemd_requires}
a7344f
a7344f
%if 0%{?fedora} > 22
a7344f
Requires:      python2-systemd
a7344f
%else
a7344f
%if 0%{?fedora} > 20 || 0%{?rhel} > 6
a7344f
Requires:      systemd-python
a7344f
%endif
a7344f
%endif
a7344f
a7344f
%endif
a7344f
a7344f
%description   cts
a7344f
Test framework for cluster-related technologies like Pacemaker
a7344f
a7344f
%package       doc
a7344f
License:       CC-BY-SA-4.0
a7344f
Summary:       Documentation for Pacemaker
a7344f
Group:         Documentation
a7344f
a7344f
%description   doc
a7344f
Documentation for Pacemaker.
a7344f
a7344f
Pacemaker is an advanced, scalable High-Availability cluster resource
a7344f
manager for Corosync, CMAN and/or Linux-HA.
a7344f
a7344f
%package       nagios-plugins-metadata
a7344f
License:       GPLv3
a7344f
Summary:       Pacemaker Nagios Metadata
a7344f
Group:         System Environment/Daemons
a7344f
# NOTE below are the plugins this metadata uses.
a7344f
# These plugin packages are currently not requirements
a7344f
# for the nagios metadata because rhel does not ship these
a7344f
# plugins. This metadata is providing 3rd party support
a7344f
# for nagios. Users may install the plugins via 3rd party
a7344f
# rpm packages, or source. If rhel ships the nagios plugins
a7344f
# in the future, we should consider enabling the following
a7344f
# required fields.
a7344f
#Requires:      nagios-plugins-http
a7344f
#Requires:      nagios-plugins-ldap
a7344f
#Requires:      nagios-plugins-mysql
a7344f
#Requires:      nagios-plugins-pgsql
a7344f
#Requires:      nagios-plugins-tcp
a7344f
Requires:      pcmk-cluster-manager
a7344f
a7344f
%description   nagios-plugins-metadata
a7344f
The metadata files required for Pacemaker to execute the nagios plugin
a7344f
monitor resources.
a7344f
a7344f
%prep
a7344f
%autosetup -a 1 -n %{name}-%{commit} -S git_am -p 1
a7344f
a7344f
# Force the local time
a7344f
#
a7344f
# 'git' sets the file date to the date of the last commit.
a7344f
# This can result in files having been created in the future
a7344f
# when building on machines in timezones 'behind' the one the
a7344f
# commit occurred in - which seriously confuses 'make'
a7344f
find . -exec touch \{\} \;
a7344f
a7344f
%build
a7344f
a7344f
# Early versions of autotools (e.g. RHEL <= 5) do not support --docdir
a7344f
export docdir=%{pcmk_docdir}
a7344f
b04960
export systemdsystemunitdir=%{?_unitdir}%{!?_unitdir:no}
a7344f
a7344f
# RHEL: enable notification-agent/notification-recipient,
a7344f
# and change concurrent-fencing default to true
a7344f
export CPPFLAGS="-DRHEL7_COMPAT -DDEFAULT_CONCURRENT_FENCING_TRUE"
a7344f
a7344f
%if %{with hardening}
a7344f
# prefer distro-provided hardening flags in case they are defined
a7344f
# through _hardening_{c,ld}flags macros, configure script will
a7344f
# use its own defaults otherwise; if such hardenings are completely
a7344f
# undesired, rpmbuild using "--without hardening"
a7344f
# (or "--define '_without_hardening 1'")
a7344f
export CFLAGS_HARDENED_EXE="%{?_hardening_cflags}"
a7344f
export CFLAGS_HARDENED_LIB="%{?_hardening_cflags}"
a7344f
export LDFLAGS_HARDENED_EXE="%{?_hardening_ldflags}"
a7344f
export LDFLAGS_HARDENED_LIB="%{?_hardening_ldflags}"
a7344f
%endif
a7344f
a7344f
./autogen.sh
a7344f
a7344f
%{configure}                                       \
a7344f
        %{?with_profiling:   --with-profiling}     \
a7344f
        %{?with_coverage:    --with-coverage}      \
a7344f
        %{!?with_cman:       --without-cman}       \
a7344f
        %{!?with_snmp:       --without-snmp}       \
a7344f
        %{!?with_esmtp:      --without-esmtp}      \
a7344f
        --without-heartbeat                        \
a7344f
        %{!?with_doc:        --with-brand=}        \
a7344f
        %{!?with_hardening:  --disable-hardening}  \
a7344f
        %{?gnutls_priorities: --with-gnutls-priorities="%{gnutls_priorities}"} \
a7344f
        --with-initdir=%{_initrddir}               \
b04960
        --with-runstatedir=%{_rundir}                                           \
a7344f
        --localstatedir=%{_var}                    \
a7344f
        --with-bug-url=https://bugzilla.redhat.com/                               \
a7344f
        --with-nagios                                                             \
a7344f
        --with-nagios-metadata-dir=%{_datadir}/pacemaker/nagios/plugins-metadata/ \
a7344f
        --with-nagios-plugin-dir=%{_libdir}/nagios/plugins/                       \
a7344f
        --with-version=%{version}-%{release}
a7344f
a7344f
%if 0%{?suse_version} >= 1200
a7344f
# Fedora handles rpath removal automagically
a7344f
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
a7344f
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
a7344f
%endif
a7344f
a7344f
make %{_smp_mflags} V=1 all
a7344f
a7344f
%check
a7344f
{ pengine/regression.sh --run one-or-more-unrunnable-instances \
a7344f
  && tools/regression.sh \
a7344f
  && touch .CHECKED
a7344f
} 2>&1 | sed 's/[fF]ail/faiil/g'  # prevent false positives in rpmlint
a7344f
[ -f .CHECKED ] && rm -f -- .CHECKED || false
a7344f
a7344f
%install
a7344f
rm -rf %{buildroot}
a7344f
make DESTDIR=%{buildroot} docdir=%{pcmk_docdir} V=1 install
a7344f
a7344f
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
a7344f
install -m 644 mcp/pacemaker.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/pacemaker
a7344f
install -m 644 tools/crm_mon.sysconfig ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/crm_mon
a7344f
a7344f
%if %{with upstart_job}
a7344f
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/init
a7344f
install -m 644 mcp/pacemaker.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.conf
a7344f
install -m 644 mcp/pacemaker.combined.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/pacemaker.combined.conf
a7344f
install -m 644 tools/crm_mon.upstart ${RPM_BUILD_ROOT}%{_sysconfdir}/init/crm_mon.conf
a7344f
%endif
a7344f
a7344f
mkdir -p %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
a7344f
for file in $(find nagios-agents-metadata-%{nagios_hash}/metadata -type f); do
a7344f
        install -m 644 $file %{buildroot}%{_datadir}/pacemaker/nagios/plugins-metadata
a7344f
done
a7344f
a7344f
%if %{defined _unitdir}
a7344f
mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/lib/rpm-state/%{name}
a7344f
%endif
a7344f
a7344f
# Scripts that should be executable
a7344f
chmod a+x %{buildroot}/%{_datadir}/pacemaker/tests/cts/CTSlab.py
a7344f
a7344f
# These are not actually scripts
a7344f
find %{buildroot} -name '*.xml' -type f -print0 | xargs -0 chmod a-x
a7344f
a7344f
# Don't package static libs
a7344f
find %{buildroot} -name '*.a' -type f -print0 | xargs -0 rm -f
a7344f
find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
a7344f
a7344f
# For now, don't package the servicelog-related binaries built only for
a7344f
# ppc64le when certain dependencies are installed. If they get more exercise by
a7344f
# advanced users, we can reconsider.
a7344f
rm -f %{buildroot}/%{_sbindir}/notifyServicelogEvent
a7344f
rm -f %{buildroot}/%{_sbindir}/ipmiservicelogd
a7344f
a7344f
# Do not package these either
a7344f
rm -f %{buildroot}/%{_libdir}/service_crm.so
a7344f
rm -f %{buildroot}/%{_sbindir}/fence_legacy
a7344f
rm -f %{buildroot}/%{_mandir}/man8/fence_legacy.*
a7344f
find %{buildroot} -name '*o2cb*' -type f -print0 | xargs -0 rm -f
a7344f
a7344f
# Don't ship init scripts for systemd based platforms
a7344f
%if %{defined _unitdir}
a7344f
rm -f %{buildroot}/%{_initrddir}/pacemaker
a7344f
rm -f %{buildroot}/%{_initrddir}/pacemaker_remote
a7344f
%endif
a7344f
a7344f
# Don't ship fence_pcmk where it has no use
a7344f
%if %{without cman}
a7344f
rm -f %{buildroot}/%{_sbindir}/fence_pcmk
a7344f
%endif
a7344f
a7344f
%if %{with coverage}
a7344f
GCOV_BASE=%{buildroot}/%{_var}/lib/pacemaker/gcov
a7344f
mkdir -p $GCOV_BASE
a7344f
find . -name '*.gcno' -type f | while read F ; do
a7344f
        D=`dirname $F`
a7344f
        mkdir -p ${GCOV_BASE}/$D
a7344f
        cp $F ${GCOV_BASE}/$D
a7344f
done
a7344f
%endif
a7344f
a7344f
%clean
a7344f
rm -rf %{buildroot}
a7344f
a7344f
%post
a7344f
%if %{defined _unitdir}
a7344f
%systemd_post pacemaker.service
a7344f
%else
a7344f
/sbin/chkconfig --add pacemaker || :
a7344f
%if %{with cman} && %{cman_native}
a7344f
# make fence_pcmk in cluster.conf valid instantly otherwise tools like ccs may
a7344f
# choke (until schema gets auto-regenerated on the next start of cluster),
a7344f
# per the protocol shared with other packages contributing to cluster.rng
a7344f
/usr/sbin/ccs_update_schema >/dev/null 2>&1 || :
a7344f
%endif
a7344f
%endif
a7344f
a7344f
%preun
a7344f
%if %{defined _unitdir}
a7344f
%systemd_preun pacemaker.service
a7344f
%else
a7344f
/sbin/service pacemaker stop >/dev/null 2>&1 || :
a7344f
if [ $1 -eq 0 ]; then
a7344f
    # Package removal, not upgrade
a7344f
    /sbin/chkconfig --del pacemaker || :
a7344f
fi
a7344f
%endif
a7344f
a7344f
%postun
a7344f
%if %{defined _unitdir}
a7344f
%systemd_postun_with_restart pacemaker.service
a7344f
%endif
a7344f
a7344f
%pre remote
a7344f
%if %{defined _unitdir}
a7344f
# Stop the service before anything is touched, and remember to restart
a7344f
# it as one of the last actions (compared to using systemd_postun_with_restart,
a7344f
# this avoids suicide when sbd is in use)
a7344f
systemctl --quiet is-active pacemaker_remote
a7344f
if [ $? -eq 0 ] ; then
a7344f
    mkdir -p %{_localstatedir}/lib/rpm-state/%{name}
a7344f
    touch %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
a7344f
    systemctl stop pacemaker_remote >/dev/null 2>&1
a7344f
else
a7344f
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
a7344f
fi
a7344f
%endif
a7344f
a7344f
%post remote
a7344f
%if %{defined _unitdir}
a7344f
%systemd_post pacemaker_remote.service
a7344f
%else
a7344f
/sbin/chkconfig --add pacemaker_remote || :
a7344f
%endif
a7344f
a7344f
%preun remote
a7344f
%if %{defined _unitdir}
a7344f
%systemd_preun pacemaker_remote.service
a7344f
%else
a7344f
/sbin/service pacemaker_remote stop >/dev/null 2>&1 || :
a7344f
if [ $1 -eq 0 ]; then
a7344f
    # Package removal, not upgrade
a7344f
    /sbin/chkconfig --del pacemaker_remote || :
a7344f
fi
a7344f
%endif
a7344f
a7344f
%postun remote
a7344f
%if %{defined _unitdir}
a7344f
# This next line is a no-op, because we stopped the service earlier, but
a7344f
# we leave it here because it allows us to revert to the standard behavior
a7344f
# in the future if desired
a7344f
%systemd_postun_with_restart pacemaker_remote.service
a7344f
# Explicitly take care of removing the flag-file(s) upon final removal
a7344f
if [ $1 -eq 0 ] ; then
a7344f
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
a7344f
fi
a7344f
%endif
a7344f
a7344f
%posttrans remote
a7344f
%if %{defined _unitdir}
a7344f
if [ -e %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote ] ; then
a7344f
    systemctl start pacemaker_remote >/dev/null 2>&1
a7344f
    rm -f %{_localstatedir}/lib/rpm-state/%{name}/restart_pacemaker_remote
a7344f
fi
a7344f
%endif
a7344f
a7344f
%post cli
a7344f
%if %{defined _unitdir}
a7344f
%systemd_post crm_mon.service
a7344f
%endif
a7344f
a7344f
%preun cli
a7344f
%if %{defined _unitdir}
a7344f
%systemd_preun crm_mon.service
a7344f
%endif
a7344f
a7344f
%postun cli
a7344f
%if %{defined _unitdir}
a7344f
%systemd_postun_with_restart crm_mon.service
a7344f
%endif
a7344f
b04960
%pre -n %{pkgname_pcmk_libs}
b04960
getent group %{gname} >/dev/null || groupadd -r %{gname} -g %{hacluster_id}
b04960
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u %{hacluster_id} -s /sbin/nologin -c "cluster user" %{uname}
a7344f
exit 0
a7344f
b04960
%post -n %{pkgname_pcmk_libs} -p /sbin/ldconfig
a7344f
b04960
%postun -n %{pkgname_pcmk_libs} -p /sbin/ldconfig
a7344f
a7344f
%post -n %{name}-cluster-libs -p /sbin/ldconfig
a7344f
a7344f
%postun -n %{name}-cluster-libs -p /sbin/ldconfig
a7344f
a7344f
%files
a7344f
###########################################################
a7344f
%defattr(-,root,root)
a7344f
a7344f
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
a7344f
%{_sbindir}/pacemakerd
a7344f
a7344f
%if %{defined _unitdir}
a7344f
%{_unitdir}/pacemaker.service
a7344f
%else
a7344f
%{_initrddir}/pacemaker
a7344f
%endif
a7344f
a7344f
%exclude %{_libexecdir}/pacemaker/lrmd_test
a7344f
%exclude %{_sbindir}/pacemaker_remoted
a7344f
%{_libexecdir}/pacemaker/*
a7344f
a7344f
%{_sbindir}/crm_attribute
a7344f
%{_sbindir}/crm_master
a7344f
%{_sbindir}/crm_node
a7344f
%if %{with cman}
a7344f
%{_sbindir}/fence_pcmk
a7344f
%endif
a7344f
%{_sbindir}/stonith_admin
a7344f
a7344f
%doc %{_mandir}/man7/crmd.*
a7344f
%doc %{_mandir}/man7/pengine.*
a7344f
%doc %{_mandir}/man7/stonithd.*
a7344f
%if %{without cman} || !%{cman_native}
a7344f
%doc %{_mandir}/man7/ocf_pacemaker_controld.*
a7344f
%endif
a7344f
%doc %{_mandir}/man7/ocf_pacemaker_remote.*
a7344f
%doc %{_mandir}/man8/crm_attribute.*
a7344f
%doc %{_mandir}/man8/crm_node.*
a7344f
%doc %{_mandir}/man8/crm_master.*
a7344f
%if %{with cman}
a7344f
%doc %{_mandir}/man8/fence_pcmk.*
a7344f
%endif
a7344f
%doc %{_mandir}/man8/pacemakerd.*
a7344f
%doc %{_mandir}/man8/stonith_admin.*
a7344f
a7344f
%doc %{_datadir}/pacemaker/alerts
a7344f
a7344f
%license licenses/GPLv2
a7344f
%doc COPYING
a7344f
%doc ChangeLog
a7344f
a7344f
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cib
a7344f
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/pengine
a7344f
%if %{without cman} || !%{cman_native}
a7344f
/usr/lib/ocf/resource.d/pacemaker/controld
a7344f
%endif
a7344f
/usr/lib/ocf/resource.d/pacemaker/remote
a7344f
/usr/lib/ocf/resource.d/.isolation
a7344f
a7344f
%if "%{?cs_version}" != "UNKNOWN"
a7344f
%if 0%{?cs_version} < 2
a7344f
%{_libexecdir}/lcrso/pacemaker.lcrso
a7344f
%endif
a7344f
%endif
a7344f
a7344f
%if %{with upstart_job}
a7344f
%config(noreplace) %{_sysconfdir}/init/pacemaker.conf
a7344f
%config(noreplace) %{_sysconfdir}/init/pacemaker.combined.conf
a7344f
%endif
a7344f
a7344f
%files cli
a7344f
%defattr(-,root,root)
a7344f
a7344f
%config(noreplace) %{_sysconfdir}/logrotate.d/pacemaker
a7344f
%config(noreplace) %{_sysconfdir}/sysconfig/crm_mon
a7344f
a7344f
%if %{defined _unitdir}
a7344f
%{_unitdir}/crm_mon.service
a7344f
%endif
a7344f
a7344f
%if %{with upstart_job}
a7344f
%config(noreplace) %{_sysconfdir}/init/crm_mon.conf
a7344f
%endif
a7344f
a7344f
%{_sbindir}/attrd_updater
a7344f
%{_sbindir}/cibadmin
a7344f
%{_sbindir}/crm_diff
a7344f
%{_sbindir}/crm_error
a7344f
%{_sbindir}/crm_failcount
a7344f
%{_sbindir}/crm_mon
a7344f
%{_sbindir}/crm_resource
a7344f
%{_sbindir}/crm_standby
a7344f
%{_sbindir}/crm_verify
a7344f
%{_sbindir}/crmadmin
a7344f
%{_sbindir}/iso8601
a7344f
%{_sbindir}/crm_shadow
a7344f
%{_sbindir}/crm_simulate
a7344f
%{_sbindir}/crm_report
a7344f
%{_sbindir}/crm_ticket
a7344f
%exclude %{_datadir}/pacemaker/alerts
a7344f
%exclude %{_datadir}/pacemaker/tests
a7344f
%exclude %{_datadir}/pacemaker/nagios
a7344f
%{_datadir}/pacemaker
a7344f
%{_datadir}/snmp/mibs/PCMK-MIB.txt
a7344f
a7344f
%exclude /usr/lib/ocf/resource.d/pacemaker/controld
a7344f
%exclude /usr/lib/ocf/resource.d/pacemaker/remote
a7344f
a7344f
%dir /usr/lib/ocf
a7344f
%dir /usr/lib/ocf/resource.d
a7344f
/usr/lib/ocf/resource.d/pacemaker
a7344f
a7344f
%doc %{_mandir}/man7/*
a7344f
%exclude %{_mandir}/man7/crmd.*
a7344f
%exclude %{_mandir}/man7/pengine.*
a7344f
%exclude %{_mandir}/man7/stonithd.*
a7344f
%exclude %{_mandir}/man7/ocf_pacemaker_controld.*
a7344f
%exclude %{_mandir}/man7/ocf_pacemaker_remote.*
a7344f
%doc %{_mandir}/man8/*
a7344f
%exclude %{_mandir}/man8/crm_attribute.*
a7344f
%exclude %{_mandir}/man8/crm_node.*
a7344f
%exclude %{_mandir}/man8/crm_master.*
a7344f
%exclude %{_mandir}/man8/fence_pcmk.*
a7344f
%exclude %{_mandir}/man8/pacemakerd.*
a7344f
%exclude %{_mandir}/man8/pacemaker_remoted.*
a7344f
%exclude %{_mandir}/man8/stonith_admin.*
a7344f
a7344f
%license licenses/GPLv2
a7344f
%doc COPYING
a7344f
%doc ChangeLog
a7344f
a7344f
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker
a7344f
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/blackbox
a7344f
%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pacemaker/cores
a7344f
b04960
%files -n %{pkgname_pcmk_libs}
a7344f
%defattr(-,root,root)
a7344f
a7344f
%{_libdir}/libcib.so.*
a7344f
%{_libdir}/liblrmd.so.*
a7344f
%{_libdir}/libcrmservice.so.*
a7344f
%{_libdir}/libcrmcommon.so.*
a7344f
%{_libdir}/libpe_status.so.*
a7344f
%{_libdir}/libpe_rules.so.*
a7344f
%{_libdir}/libpengine.so.*
a7344f
%{_libdir}/libstonithd.so.*
a7344f
%{_libdir}/libtransitioner.so.*
a7344f
%license licenses/LGPLv2.1
a7344f
%doc COPYING
a7344f
%doc ChangeLog
a7344f
a7344f
%files -n %{name}-cluster-libs
a7344f
%defattr(-,root,root)
a7344f
%{_libdir}/libcrmcluster.so.*
a7344f
%license licenses/LGPLv2.1
a7344f
%doc COPYING
a7344f
%doc ChangeLog
a7344f
a7344f
%files remote
a7344f
%defattr(-,root,root)
a7344f
a7344f
%config(noreplace) %{_sysconfdir}/sysconfig/pacemaker
a7344f
%if %{defined _unitdir}
a7344f
# state directory is shared between the subpackets
a7344f
# let rpm take care of removing it once it isn't
a7344f
# referenced anymore and empty
a7344f
%ghost %dir %{_localstatedir}/lib/rpm-state/%{name}
a7344f
%{_unitdir}/pacemaker_remote.service
a7344f
%else
a7344f
%{_initrddir}/pacemaker_remote
a7344f
%endif
a7344f
a7344f
%{_sbindir}/pacemaker_remoted
a7344f
%{_mandir}/man8/pacemaker_remoted.*
a7344f
%license licenses/GPLv2
a7344f
%doc COPYING
a7344f
%doc ChangeLog
a7344f
a7344f
%files doc
a7344f
%defattr(-,root,root)
a7344f
%doc %{pcmk_docdir}
a7344f
%license licenses/CC-BY-SA-4.0
a7344f
a7344f
%files cts
a7344f
%defattr(-,root,root)
a7344f
%{py_site}/cts
a7344f
%{_datadir}/pacemaker/tests/cts
a7344f
%{_libexecdir}/pacemaker/lrmd_test
a7344f
%license licenses/GPLv2
a7344f
%doc COPYING
a7344f
%doc ChangeLog
a7344f
b04960
%files -n %{pkgname_pcmk_libs}-devel
a7344f
%defattr(-,root,root)
a7344f
%exclude %{_datadir}/pacemaker/tests/cts
a7344f
%{_datadir}/pacemaker/tests
a7344f
%{_includedir}/pacemaker
a7344f
%{_libdir}/*.so
a7344f
%if %{with coverage}
a7344f
%{_var}/lib/pacemaker/gcov
a7344f
%endif
a7344f
%{_libdir}/pkgconfig/*.pc
a7344f
%license licenses/LGPLv2.1
a7344f
%doc COPYING
a7344f
%doc ChangeLog
a7344f
a7344f
%files nagios-plugins-metadata
a7344f
%defattr(-,root,root)
a7344f
%dir %{_datadir}/pacemaker/nagios/plugins-metadata
a7344f
%attr(0644,root,root) %{_datadir}/pacemaker/nagios/plugins-metadata/*
a7344f
a7344f
%changelog
b04960
* Mon Mar 30 2020 Ken Gaillot <kgaillot@redhat.com> - 1.1.22-1
b04960
- Show correct disabled resource count in status display
b04960
- Run-time option for Pacemaker Remote bind address
b04960
- Avoid restart loop when migration is left dangling
b04960
- Improve help for clean-up option
b04960
- Do not overweight group colocation scores
b04960
- Rebase on upstream 1.1.22+63d2d79
b04960
- Resolves: rhbz#1458953
b04960
- Resolves: rhbz#1743373
b04960
- Resolves: rhbz#1757951
b04960
- Resolves: rhbz#1758969
b04960
- Resolves: rhbz#1760669
b04960
- Resolves: rhbz#1792492
b04960
b04960
* Thu Jan 16 2020 Ken Gaillot <kgaillot@redhat.com> - 1.1.21-4
b04960
- Implement shutdown-lock feature
b04960
- Resolves: rhbz#1781820
b04960
b04960
* Thu Nov 7 2019 Ken Gaillot <kgaillot@redhat.com> - 1.1.21-3
b04960
- Avoid invalid transition when guest node's host is unclean but can't be fenced
b04960
- Resolves: rhbz#1755659
b04960
a7344f
* Tue Aug 27 2019 Ken Gaillot <kgaillot@redhat.com> - 1.1.21-2
a7344f
- Add latest upstream bug fixes to rebase roll-up patch
a7344f
- Resolves: rhbz#1731189
a7344f
a7344f
* Tue Jul 30 2019 Ken Gaillot <kgaillot@redhat.com> - 1.1.21-1
a7344f
- Recover from quiesced DC disk
a7344f
- Avoid timeouts and excessive stonithd CPU usage at start-up in large clusters
a7344f
- Default serialized order constraints to symmetrical=false
a7344f
- Avoid fence loops due to incorrect Pacemaker Remote ordering
a7344f
- Default concurrent-fencing to true
a7344f
- Harden GnuTLS priorities
a7344f
- Rebase on upstream 1.1.21 final version
a7344f
- Resolves: rhbz#1596125
a7344f
- Resolves: rhbz#1625671
a7344f
- Resolves: rhbz#1672225
a7344f
- Resolves: rhbz#1704870
a7344f
- Resolves: rhbz#1710422
a7344f
- Resolves: rhbz#1727280
a7344f
- Resolves: rhbz#1731189
a7344f
a7344f
* Fri May 24 2019 Ken Gaillot <kgaillot@redhat.com> - 1.1.20-5
a7344f
- Correct memory issue in fence agent output fix
a7344f
- Resolves: rhbz#1549366
a7344f
a7344f
* Fri Apr 19 2019 Ken Gaillot <kgaillot@redhat.com> - 1.1.20-4
a7344f
- Update security patches
a7344f
- Resolves: rhbz#1694556
a7344f
- Resolves: rhbz#1694559
a7344f
- Resolves: rhbz#1694907
a7344f
a7344f
* Thu Apr 4 2019 Ken Gaillot <kgaillot@redhat.com> - 1.1.20-3
a7344f
- Support more than 64KB of fence agent output
a7344f
- Avoid unnecessary recovery of group member
a7344f
- Improve IPC clients' authentication of servers (CVE-2018-16877)
a7344f
- Improve pacemakerd authentication of running subdaemons (CVE-2018-16878)
a7344f
- Fix use-after-free with potential information disclosure (CVE-2019-3885)
a7344f
- Resolves: rhbz#1549366
a7344f
- Resolves: rhbz#1609453
a7344f
- Resolves: rhbz#1694556
a7344f
- Resolves: rhbz#1694559
a7344f
- Resolves: rhbz#1694907
a7344f
a7344f
* Thu Mar 21 2019 Ken Gaillot <kgaillot@redhat.com> - 1.1.20-2
a7344f
- Assume unprivileged ACL if unable to get user information from host
a7344f
- Delay 2 seconds before re-attempting a failed node attribute write
a7344f
- SNMP alert sample script now sends all OIDs with every alert
a7344f
- Recover dependent resources correctly with asymmetric ordering
a7344f
- Rebase on upstream 1.1.20 final version
a7344f
- Resolves: rhbz#1596125
a7344f
- Resolves: rhbz#1597695
a7344f
- Resolves: rhbz#1608979
a7344f
- Resolves: rhbz#1628966
a7344f
- Resolves: rhbz#1644864
a7344f
a7344f
* Fri Feb 1 2019 Ken Gaillot <kgaillot@redhat.com> - 1.1.20-1
a7344f
- pcs status now shows when a standby node still has active resources
a7344f
- Allow clean-up of guest nodes and bundles without unmanaging first
a7344f
- pcs status now shows pending and failed fence actions by default
a7344f
- Improve pcs status display when disconnected from cluster
a7344f
- Ensure node attributes are recorded if attrd writer is shutting down
a7344f
- Synchronize fencing history across all nodes
a7344f
- Add stonith_admin option to clear fencing history
a7344f
- Don't schedule unneeded bundle actions when connection is on different node
a7344f
- Allow use of sbd in clusters with guest nodes and bundles
a7344f
- Schedule bundle clone notifications correctly when connection is moving
a7344f
- Rebase on upstream 1.1.20-rc1 version
a7344f
- Avoid unneeded resource restarts when remote connection fails to start
a7344f
- Allow crm_resource --move to work when a previous move had a lifetime
a7344f
- Wait for all replies when refreshing a resource
a7344f
- Don't schedule clone notifications for a stopped bundle
a7344f
- Allow option to crm_resource --clear to clear only expired constraints
a7344f
- Fix result reporting when cleanup is done while an operation is in-flight
a7344f
- Resolves: rhbz#1419548
a7344f
- Resolves: rhbz#1448467
a7344f
- Resolves: rhbz#1461964
a7344f
- Resolves: rhbz#1486869
a7344f
- Resolves: rhbz#1535221
a7344f
- Resolves: rhbz#1555938
a7344f
- Resolves: rhbz#1595422
a7344f
- Resolves: rhbz#1627948
a7344f
- Resolves: rhbz#1638593
a7344f
- Resolves: rhbz#1644076
a7344f
- Resolves: rhbz#1644864
a7344f
- Resolves: rhbz#1648507
a7344f
- Resolves: rhbz#1648620
a7344f
- Resolves: rhbz#1652053
a7344f
- Resolves: rhbz#1652752
a7344f
- Resolves: rhbz#1658650
a7344f
- Resolves: rhbz#1665343
a7344f
a7344f
* Mon Sep 24 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.19-8
a7344f
- Ensure crm_resource --force-* commands get stderr messages
a7344f
- Resolves: rhbz#1628947
a7344f
a7344f
* Tue Aug 14 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.19-7
a7344f
- Shutdown corosync locally if fenced
a7344f
- Count start failure once
a7344f
- Resolves: rhbz#1448221
a7344f
- Resolves: rhbz#1549576
a7344f
a7344f
* Tue Aug 7 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.19-6
a7344f
- Fix pre-release regressions in resource clean-up behavior
a7344f
- Resolves: rhbz#1612869
a7344f
a7344f
* Mon Jul 30 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.19-5
a7344f
- Another fix for srpm build on ppc64le systems with OpenIPMI-devel
a7344f
- Resolves: rhbz#1478451
a7344f
a7344f
* Wed Jul 25 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.19-4
a7344f
- Fix srpm build on ppc64le systems with libservicelog-devel, OpenIPMI-devel
a7344f
- Resolves: rhbz#1478451
a7344f
a7344f
* Wed Jul 11 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.19-3
a7344f
- Rebase to upstream c3c624ea3d98a74a8a287671a156db126c99a7bb (1.1.19)
a7344f
- Resolves: rhbz#1562255
a7344f
a7344f
* Thu Jul 5 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.19-2
a7344f
- Ensure resource agent meta-data actions can get local node name
a7344f
- Do not record pending clone notifications in CIB
a7344f
- Resolves: rhbz#1374175
a7344f
- Resolves: rhbz#1570130
a7344f
a7344f
* Wed Jun 20 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.19-1
a7344f
- Rebase to upstream 29ac12ad21f73524f69c0580798e07cdf1fe3fa0 (1.1.19-rc1)
a7344f
- Allow crm_node to work on Pacemaker Remote nodes
a7344f
- Implement new --validate option to stonith_admin
a7344f
- Support .path, .mount, and .timer systemd unit files as resources
a7344f
- Handle INFINITY fail count correctly in crm_failcount
a7344f
- Resolves: rhbz#1374175
a7344f
- Resolves: rhbz#1434936
a7344f
- Resolves: rhbz#1562255
a7344f
- Resolves: rhbz#1590483
a7344f
- Resolves: rhbz#1591045
a7344f
a7344f
* Fri Jun 1 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-13
a7344f
- Pull latest upstream 1.1 branch fixes
a7344f
- Resolves: rhbz#1478451
a7344f
- Resolves: rhbz#1501505
a7344f
- Resolves: rhbz#1514492
a7344f
- Resolves: rhbz#1550829
a7344f
- Resolves: rhbz#1564536
a7344f
- Resolves: rhbz#1576148
a7344f
- Resolves: rhbz#1577300
a7344f
a7344f
* Tue Apr 17 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-12
a7344f
- Pull in latest fixes from upstream 1.1 branch
a7344f
- Build for aarch64
a7344f
- Resolves: rhbz#1422602
a7344f
- Resolves: rhbz#1463015
a7344f
- Resolves: rhbz#1469255
a7344f
- Resolves: rhbz#1519379
a7344f
- Resolves: rhbz#1543278
a7344f
- Resolves: rhbz#1545449
a7344f
- Resolves: rhbz#1550829
a7344f
- Resolves: rhbz#1561617
a7344f
- Resolves: rhbz#1562255
a7344f
- Resolves: rhbz#1565187
a7344f
- Resolves: rhbz#1568593
a7344f
- Resolves: rhbz#1570130
a7344f
a7344f
* Fri Jan 26 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-11
a7344f
- Fix regression in crm_master
a7344f
- Resolves: rhbz#1539113
a7344f
a7344f
* Wed Jan 24 2018 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-10
a7344f
- Always trigger transition when quorum changes
a7344f
- Match clone names correctly with crm_resource --cleanup
a7344f
- Fix pcs resource --wait timeout when bundles are used
a7344f
- Observe colocation constraints correctly with bundles in master role
a7344f
- Resolves: rhbz#1464068
a7344f
- Resolves: rhbz#1508350
a7344f
- Resolves: rhbz#1519812
a7344f
- Resolves: rhbz#1527072
a7344f
a7344f
* Mon Dec 18 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-9
a7344f
- Fix small memory leak introduced by node attribute delay fix
a7344f
- Resolves: rhbz#1454960
a7344f
a7344f
* Tue Dec 12 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-8
a7344f
- Regression fix for "pcs resource cleanup" was incomplete
a7344f
- Resolves: rhbz#1508350
a7344f
a7344f
* Mon Dec 11 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-7
a7344f
- Avoid node attribute write delay when corosync.conf has only IP addresses
a7344f
- Fix regressions in "pcs resource cleanup" behavior
a7344f
- Restore ordering of unfencing before fence device starts
a7344f
- Ensure --wait options work when bundles are in use
a7344f
- Fix possible invalid transition with bundle ordering constraints
a7344f
- Resolves: rhbz#1454960
a7344f
- Resolves: rhbz#1508350
a7344f
- Resolves: rhbz#1517796
a7344f
- Resolves: rhbz#1519812
a7344f
- Resolves: rhbz#1522822
a7344f
a7344f
* Wed Nov 15 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-6
a7344f
- Rebase to upstream 2b07d5c5a908998891c3317faa30328c108d3a91 (1.1.18)
a7344f
- If on-fail=ignore, migration-threshold should also be ignored
a7344f
- Resolves: rhbz#1474428
a7344f
- Resolves: rhbz#1507344
a7344f
a7344f
* Fri Nov 3 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-5
a7344f
- Properly clean up primitive inside bundle
a7344f
- Scalability improvements
a7344f
- Resolves: rhbz#1499217
a7344f
- Resolves: rhbz#1508373
a7344f
a7344f
* Fri Nov 3 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-4
a7344f
- Rebase to upstream 1a4ef7d180e77bcd6423f342d62e05e516c4e852 (1.1.18-rc4)
a7344f
- Resolves: rhbz#1381754
a7344f
- Resolves: rhbz#1474428
a7344f
- Resolves: rhbz#1499217
a7344f
- Resolves: rhbz#1508373
a7344f
a7344f
* Tue Oct 24 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-3
a7344f
- Rebase to upstream 36d2962a8613322fc43d727d95720d61a47d0138 (1.1.18-rc3)
a7344f
- Resolves: rhbz#1474428
a7344f
a7344f
* Mon Oct 16 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-2
a7344f
- Rebase to upstream 5cccc41c95d6288eab27d93901b650b071f976dc (1.1.18-rc2)
a7344f
- Default record-pending to true
a7344f
- Resolves: rhbz#1323546
a7344f
- Resolves: rhbz#1376556
a7344f
- Resolves: rhbz#1382364
a7344f
- Resolves: rhbz#1461976
a7344f
- Resolves: rhbz#1474428
a7344f
- Resolves: rhbz#1500509
a7344f
- Resolves: rhbz#1501903
a7344f
- Resolves: rhbz#1501924
a7344f
a7344f
* Mon Oct 9 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.18-1
a7344f
- Rebase to upstream 1cb712c5369c98f03d42bcf8648cacd86a5f48f7 (1.1.18-rc1)
a7344f
- Resolves: rhbz#1298581
a7344f
- Resolves: rhbz#1394418
a7344f
- Resolves: rhbz#1427648
a7344f
- Resolves: rhbz#1454933
a7344f
- Resolves: rhbz#1454957
a7344f
- Resolves: rhbz#1454960
a7344f
- Resolves: rhbz#1462253
a7344f
- Resolves: rhbz#1464068
a7344f
- Resolves: rhbz#1465519
a7344f
- Resolves: rhbz#1470262
a7344f
- Resolves: rhbz#1471506
a7344f
- Resolves: rhbz#1474428
a7344f
- Resolves: rhbz#1474463
a7344f
- Resolves: rhbz#1482278
a7344f
- Resolves: rhbz#1489728
a7344f
- Resolves: rhbz#1489735
a7344f
a7344f
* Tue Jun 20 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-12
a7344f
- Avoid unnecessary restarts when recovering remote connections
a7344f
- Resolves: rhbz#1448773
a7344f
a7344f
* Fri Jun 9 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-11
a7344f
- Support bundle meta-attributes
a7344f
- Resolves: rhbz#1447903
a7344f
a7344f
* Tue May 23 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-10
a7344f
- Fix issues when running bundles on Pacemaker Remote nodes
a7344f
- Reap orphaned processes when running Pacemaker Remote as pid 1
a7344f
- Order remote actions after remote connection recovery
a7344f
  (fixes regression in RHEL 7.3)
a7344f
- Avoid local resource manager daemon (lrmd) crash when an
a7344f
  in-flight systemd operation is cancelled
a7344f
- Resolves: rhbz#1432722
a7344f
- Resolves: rhbz#1441603
a7344f
- Resolves: rhbz#1448772
a7344f
- Resolves: rhbz#1451170
a7344f
a7344f
* Tue May 9 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-9
a7344f
- Allow cleanup of guest nodes when guest is unmanaged
a7344f
- Allow bundles to run on Pacemaker Remote nodes
a7344f
- Handle slow IPC clients better
a7344f
- Update crmd throttle information when CPUs are hot-plugged in
a7344f
- Order pacemaker systemd unit after resource-agents-deps target
a7344f
- Resolves: rhbz#1303742
a7344f
- Resolves: rhbz#1432722
a7344f
- Resolves: rhbz#1435067
a7344f
- Resolves: rhbz#1444728
a7344f
- Resolves: rhbz#1446669
a7344f
a7344f
* Tue Apr 18 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-8
a7344f
- Fix shell script syntax error introduced with URL patch
a7344f
- Resolves: rhbz#1410886
a7344f
a7344f
* Tue Apr 18 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-7
a7344f
- Avoid fencing old DC if it is shutting down while another node is joining
a7344f
- Improve crmd's handling of repeated fencing failures
a7344f
- Correct behavior when guest created by bundle has a node attribute
a7344f
- Show Red Hat bugzilla URL rather than upstream when generating cluster report
a7344f
- Resolves: rhbz#1430112
a7344f
- Resolves: rhbz#1432722
a7344f
a7344f
* Wed Apr 5 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-6
a7344f
- Allow container without IP to use underlying hostname
a7344f
- Resolves: rhbz#1432722
a7344f
a7344f
* Tue Apr 4 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-5
a7344f
- Keep man pages compressed
a7344f
- Bugfixes for container bundles
a7344f
- Resolves: rhbz#1410886
a7344f
- Resolves: rhbz#1432722
a7344f
a7344f
* Mon Apr 3 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-4
a7344f
- Add support for container bundles
a7344f
- Treat systemd reloading state as monitor success
a7344f
- Resolves: rhbz#1432722
a7344f
- Resolves: rhbz#1436696
a7344f
a7344f
* Mon Mar 20 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-3
a7344f
- Avoid hang when shutting down unmanaged remote node connections
a7344f
- Get correct node name when crm_node or crm_attribute is run on remote node
a7344f
- Ignore action when configured as a stonith device parameter
a7344f
- Include recent upstream bug fixes
a7344f
- Resolves: rhbz#1388489
a7344f
- Resolves: rhbz#1410886
a7344f
- Resolves: rhbz#1417936
a7344f
- Resolves: rhbz#1421700
a7344f
a7344f
* Thu Jan 19 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-2
a7344f
- Avoid grep crashes in crm_report when looking for system logs
a7344f
- Properly ignore version with crm_diff --no-version
a7344f
- Process guest node fencing properly
a7344f
- Ensure filename is valid before using
a7344f
- Build for ppc64le
a7344f
- Resolves: rhbz#1288261
a7344f
- Resolves: rhbz#1289662
a7344f
- Resolves: rhbz#1383462
a7344f
- Resolves: rhbz#1405635
a7344f
- Resolves: rhbz#1412309 
a7344f
a7344f
* Thu Jan 12 2017 Ken Gaillot <kgaillot@redhat.com> - 1.1.16-1
a7344f
- Rebase to upstream 94ff4df51a55cc30d01843ea11b3292bac755432 (1.1.16)
a7344f
- Resolves: rhbz#1374777
a7344f
- Resolves: rhbz#1378817
a7344f
- Resolves: rhbz#1410886
a7344f
a7344f
* Wed Oct 26 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-12
a7344f
- Preserve rolling upgrades involving Pacemaker Remote nodes
a7344f
- Resolves: rhbz#1388827
a7344f
a7344f
* Fri Oct 21 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-11.1
a7344f
- Fix CVE-2016-7035
a7344f
- Resolves: rhbz#1374776
a7344f
a7344f
* Thu Sep 22 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-11
a7344f
- Sanitize readable CIB output collected by crm_report
a7344f
- Document crm_report --sos-mode option
a7344f
- Speed up crm_report on Pacemaker Remote nodes
a7344f
- Avoid sbd fencing when upgrading pacemaker_remote package
a7344f
- Resolves: rhbz#1219188
a7344f
- Resolves: rhbz#1235434
a7344f
- Resolves: rhbz#1323544
a7344f
- Resolves: rhbz#1372009
a7344f
a7344f
* Mon Aug 15 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-10
a7344f
- Only clear remote node operation history on startup
a7344f
- Resend a lost shutdown request
a7344f
- Correctly detect and report invalid configurations
a7344f
- Don't include manual page for resource agent that isn't included
a7344f
- Resolves: rhbz#1288929
a7344f
- Resolves: rhbz#1310486
a7344f
- Resolves: rhbz#1352039
a7344f
a7344f
* Fri Aug 5 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-9
a7344f
- Make crm_mon XML schema handle multiple-active resources
a7344f
- Resolves: rhbz#1364500
a7344f
a7344f
* Wed Aug 3 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-8
a7344f
- Quote timestamp-format correctly in alert_snmp.sh.sample
a7344f
- Unregister CIB callbacks correctly
a7344f
- Print resources section heading consistently in crm_mon output
a7344f
- Resolves: rhbz#773656
a7344f
- Resolves: rhbz#1361533
a7344f
a7344f
* Tue Jul 26 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-7
a7344f
- Avoid null dereference
a7344f
- Resolves: rhbz#1290592
a7344f
a7344f
* Tue Jul 26 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-6
a7344f
- Fix transition failure with start-then-stop order constraint + unfencing
a7344f
- Resolves: rhbz#1290592
a7344f
a7344f
* Fri Jul 1 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-5
a7344f
- Update spec file for toolchain hardening
a7344f
- Resolves: rhbz#1242258
a7344f
a7344f
* Tue Jun 28 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-4
a7344f
- Take advantage of toolchain hardening
a7344f
- Resolves: rhbz#1242258
a7344f
a7344f
* Wed Jun 22 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-3
a7344f
- Rebase to upstream e174ec84857e087210b9dacee3318f8203176129 (1.1.15)
a7344f
- Resolves: rhbz#1304771
a7344f
  Resolves: rhbz#1303765
a7344f
  Resolves: rhbz#1327469
a7344f
  Resolves: rhbz#1337688
a7344f
  Resolves: rhbz#1345876
a7344f
  Resolves: rhbz#1346726
a7344f
a7344f
* Fri Jun 10 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-2
a7344f
- Rebase to upstream 25920dbdbc7594fc944a963036996f724c63a8b8 (1.1.15-rc4)
a7344f
- Resolves: rhbz#1304771
a7344f
  Resolves: rhbz#773656
a7344f
  Resolves: rhbz#1240330
a7344f
  Resolves: rhbz#1281450
a7344f
  Resolves: rhbz#1286316
a7344f
  Resolves: rhbz#1287315
a7344f
  Resolves: rhbz#1323544
a7344f
a7344f
* Tue May 31 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.15-1
a7344f
- Rebase to upstream 2c148ac30dfcc2cfb91dc367ed469b6f227a8abc (1.1.15-rc3+)
a7344f
- Resolves: rhbz#1304771
a7344f
  Resolves: rhbz#1040685
a7344f
  Resolves: rhbz#1219188
a7344f
  Resolves: rhbz#1235434
a7344f
  Resolves: rhbz#1268313
a7344f
  Resolves: rhbz#1284069
a7344f
  Resolves: rhbz#1287868
a7344f
  Resolves: rhbz#1288929
a7344f
  Resolves: rhbz#1312094
a7344f
  Resolves: rhbz#1314157
a7344f
  Resolves: rhbz#1321711
a7344f
  Resolves: rhbz#1338623
a7344f
a7344f
* Thu Feb 18 2016 Ken Gaillot <kgaillot@redhat.com> - 1.1.14-11
a7344f
- Rebase to upstream 2cccd43d6b7f2525d406251e14ef37626e29c51f (1.1.14+)
a7344f
- Resolves: rhbz#1304771
a7344f
  Resolves: rhbz#1207388
a7344f
  Resolves: rhbz#1240330
a7344f
  Resolves: rhbz#1281450
a7344f
  Resolves: rhbz#1284069
a7344f
  Resolves: rhbz#1286316
a7344f
  Resolves: rhbz#1287315
a7344f
  Resolves: rhbz#1287868
a7344f
  Resolves: rhbz#1288929
a7344f
  Resolves: rhbz#1303765
a7344f
- This also updates the packaging to follow upstream more closely,
a7344f
  most importantly moving some files from the pacemaker package to
a7344f
  pacemaker-cli (including XML schemas, SNMP MIB, attrd_updater command,
a7344f
  most ocf:pacemaker resource agents, and related man pages),
a7344f
  and deploying /etc/sysconfig/crm_mon.
a7344f
a7344f
* Thu Oct 08 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-10
a7344f
- More improvements when updating and deleting meta attributes
a7344f
- Resolves: rhbz#1267265
a7344f
a7344f
* Mon Oct 05 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-9
a7344f
- Fix regression when updating child meta attributes
a7344f
- Resolves: rhbz#1267265
a7344f
a7344f
* Wed Sep 16 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-8
a7344f
- Fix regression when setting attributes for remote nodes 
a7344f
- Resolves: rhbz#1206647
a7344f
a7344f
* Thu Sep 10 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-7
a7344f
- Additional upstream patches
a7344f
- Resolves: rhbz#1234680
a7344f
a7344f
* Wed Jul 22 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-6
a7344f
- Correctly apply and build patches
a7344f
- Resolves: rhbz#1234680
a7344f
a7344f
* Wed Jul 22 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-5
a7344f
- Sync with upstream 63f8e9a
a7344f
- Resolves: rhbz#1234680
a7344f
a7344f
* Mon Jul 20 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-4
a7344f
- Sync with upstream 63f8e9a
a7344f
- Resolves: rhbz#1234680
a7344f
a7344f
* Fri Jun 26 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-3
a7344f
- New upstream tarball 44eb2ddf8d4f8fc05256aae2abc9fbf3ae4d1fbc
a7344f
- Resolves: rhbz#1234680
a7344f
a7344f
* Thu Jun 11 2015 David Vossel <dvossel@redhat.com> - 1.1.13-2
a7344f
- Adds nagios metadata.
a7344f
a7344f
  Resolves: rhbz#1203053
a7344f
a7344f
* Tue May 12 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.13-0.1
a7344f
- New upstream tarball 8ae45302394b039fb098e150f156df29fc0cb576
a7344f
a7344f
* Wed Mar 18 2015 David Vossel <dvossel@redhat.com> - 1.1.12-25
a7344f
- Convince systemd to shutdown dbus after pacemaker.
a7344f
a7344f
  Resolves: rhbz#1198886
a7344f
a7344f
* Wed Mar 18 2015 David Vossel <dvossel@redhat.com> - 1.1.12-23
a7344f
- Ensure B with A, that B can not run if A can not run.
a7344f
a7344f
  Resolves: rhbz#1194475
a7344f
a7344f
* Thu Jan 15 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-22
a7344f
- Fix segfault encountered with orphaned remote node connections
a7344f
a7344f
  Resolves: rhbz#1176210
a7344f
a7344f
* Thu Jan 15 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-21
a7344f
- Fix use-after-free in CLI tool when restarting a resource 
a7344f
a7344f
* Tue Jan 13 2015 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-20
a7344f
- Expose the -N/--node option for attrd_updater to allow attributes to
a7344f
  be set for other nodes
a7344f
a7344f
* Sun Jan 11 2015 David Vossel <dvossel@redhat.com> - 1.1.12-19
a7344f
- Imply stop on actions within containers during host fencing
a7344f
- acl correctly implement the reference acl direct
a7344f
a7344f
  Resolves: rhbz#1117341
a7344f
a7344f
* Tue Jan 6 2015 David Vossel <dvossel@redhat.com> - 1.1.12-18
a7344f
- clone order constraint require-all option.
a7344f
- fix memory leaks in crmd and pacemakerd
a7344f
a7344f
  Resolves: rhbz#1176210
a7344f
a7344f
* Tue Dec 16 2014 David Vossel <dvossel@redhat.com> - 1.1.12-15
a7344f
- Include ipc and pacemaker remote related upstream fixes.
a7344f
a7344f
* Wed Nov 26 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-13
a7344f
- Update patch level to upstream a433de6
a7344f
- Ensure we wait for long running systemd stop operations to complete
a7344f
  Resolves: rhbz#1165423
a7344f
a7344f
* Tue Nov 18 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-11
a7344f
- Update patch level to upstream 7dd9022
a7344f
- Ensure all internal caches are updated when nodes are removed from the cluster
a7344f
  Resolves: rhbz#1162727
a7344f
 
a7344f
* Wed Nov 05 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-10
a7344f
- Update patch level to upstream 98b6688
a7344f
- Support an intelligent resource restart operation
a7344f
- Exclusive discovery implies running the resource is only possible on the listed nodes
a7344f
a7344f
* Wed Nov 05 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-9
a7344f
- Update patch level to upstream fb94901
a7344f
- Prevent blocking by performing systemd reloads asynchronously
a7344f
a7344f
* Tue Oct 28 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-8
a7344f
- Repair the ability to start when sbd is not enabled
a7344f
a7344f
* Mon Oct 27 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-7
a7344f
- Update patch level to upstream afa0f33
a7344f
  - Resolve coverity defects
a7344f
a7344f
* Fri Oct 24 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-5
a7344f
- Update patch level to upstream 031e46c
a7344f
  - Prevent glib assert triggered by timers being removed from mainloop more than once 
a7344f
  - Allow rsc discovery to be disabled in certain situations
a7344f
  - Allow remote-nodes to be placed in maintenance mode
a7344f
  - Improved sbd integration
a7344f
a7344f
* Thu Oct 16 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-4
a7344f
- Add install dependancy on sbd
a7344f
a7344f
* Wed Oct 01 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-3
a7344f
- Update patch level to upstream be1e835
a7344f
    Resolves: rhbz#1147989
a7344f
a7344f
* Fri Sep 19 2014 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.1.12-2
a7344f
- Enable build on s390x
a7344f
    Resolves: rhbz#1140917
a7344f
a7344f
* Mon Sep 08 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.12-1
a7344f
- Rebase to upstream a14efad51ca8f1e3742fd8520e051cd7a0864f04 (1.1.12+)
a7344f
    Resolves: rhbz#1059626
a7344f
a7344f
* Fri Jul 04 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-32
a7344f
a7344f
- Fix: lrmd: Handle systemd reporting 'done' before a resource is actually stopped
a7344f
    Resolves: rhbz#1111747
a7344f
a7344f
* Thu Apr 17 2014 David Vossel <dvossel@redhat.com> - 1.1.10-31
a7344f
a7344f
- fencing: Fence using all required devices
a7344f
- fencing: Execute all required fencing devices regardless of what topology level they are at
a7344f
- fencing: default to 'off' when agent does not advertise 'reboot' in metadata
a7344f
    Resolves: rhbz#1078078
a7344f
a7344f
* Mon Apr 14 2014 Andrew Beekhof <abeekhof@redhat.com> 1.1.10-30
a7344f
a7344f
- crmd: Do not erase the status section for unfenced nodes
a7344f
- crmd: Correctly react to successful unfencing operations
a7344f
- crmd: Report unsuccessful unfencing operations
a7344f
- crmd: Do not overwrite existing node state when fencing completes
a7344f
- fencing: Correctly record which peer performed the fencing operation
a7344f
- fencing: Automatically switch from 'list' to 'status' to 'static-list' if those actions are not advertised in the metadata
a7344f
- fencing: Filter self-fencing at the peers to allow unfencing to work correctly
a7344f
- pengine: Automatically re-unfence a node if the fencing device definition changes
a7344f
- pengine: Fencing devices default to only requiring quorum in order to start
a7344f
- pengine: Delay unfencing until after we know the state of all resources that require unfencing
a7344f
- pengine: Ensure unfencing occurs before fencing devices are (re-)probed
a7344f
- pengine: Ensure unfencing only happens once, even if the transition is interrupted
a7344f
- pengine: Do not unfence nodes that are offline, unclean or shutting down
a7344f
- pengine: Unfencing is based on device probes, there is no need to unfence when normal resources are found active
a7344f
- logging: daemons always get a log file, unless explicitly set to configured 'none'
a7344f
- lrmd: Expose logging variables expected by OCF agents
a7344f
- crm_report: Suppress logging errors after the target directory has been compressed
a7344f
- crm_resource: Wait for the correct number of replies when cleaning up resources
a7344f
    Resolves: rhbz#1078078
a7344f
a7344f
* Tue Mar 25 2014 David Vossel <dvossel@redhat.com> - 1.1.10-29
a7344f
a7344f
- Low: controld: Remove '-q 0' from default dlm_controld arguments
a7344f
    Resolves: rhbz#1064519
a7344f
a7344f
* Tue Mar 25 2014 David Vossel <dvossel@redhat.com> - 1.1.10-28
a7344f
a7344f
- pengine: fixes invalid transition caused by clones with more than 10 instances
a7344f
    Resolves: rhbz#1078504
a7344f
a7344f
* Fri Feb 28 2014 Andrew Beekhof <beekhof@redhat.com> - 1.1.10-27
a7344f
a7344f
- crm_resource: Prevent use-of-NULL
a7344f
- systemd: Prevent use-of-NULL when determining if an agent exists
a7344f
- Fencing: Remove shadow definition and use of variable 'progress'
a7344f
    Resolves: rhbz#1070916
a7344f
a7344f
* Thu Feb 27 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-26
a7344f
a7344f
- Run automated regression tests after every build
a7344f
- Fencing: Send details of stonith_api_time() and stonith_api_kick() to syslog
a7344f
- Fencing: Pass the correct options when looking up the history by node name
a7344f
- Fencing: stonith_api_time_helper now returns when the most recent fencing operation completed
a7344f
- crm_report: Additional dlm detail if dlm_controld is running
a7344f
- crmd: Gracefully handle actions that cannot be initiated
a7344f
- pengine: Gracefully handle bad values for XML_ATTR_TRANSITION_MAGIC
a7344f
    Resolves: rhbz#1070916
a7344f
a7344f
* Tue Feb 25 2014 David Vossel <dvossel@redhat.com> - 1.1.10-25
a7344f
a7344f
- pengine: cl#5187 - Prevent resources in an anti-colocation from even temporarily running on a same node
a7344f
    Resolves: rhbz#1069284
a7344f
a7344f
* Thu Feb 20 2014 David Vossel <dvossel@redhat.com> - 1.1.10-24
a7344f
a7344f
- controld: handling startup fencing within the controld agent, not the dlm
a7344f
    Resolves: rhbz#1064519
a7344f
- controld: Do not consider the dlm up until the address list is present
a7344f
    Resolves: rhbz#1067536
a7344f
a7344f
* Wed Feb 12 2014 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-23
a7344f
a7344f
- mcp: Tell systemd not to respawn us if we return 100
a7344f
- services: Detect missing agents and permission errors before forking
a7344f
- Use native DBus library for systemd support to avoid problematic use of threads
a7344f
    Resolves: rhbz#720543 (aka. 1057697)
a7344f
a7344f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.10-22
a7344f
- Mass rebuild 2013-12-27
a7344f
a7344f
* Wed Dec 04 2013 David Vossel <dvossel@redhat.com> - 1.1.10-21
a7344f
a7344f
- Fix: Removes unnecessary newlines in crm_resource -O output
a7344f
    Resolves: rhbz#720543
a7344f
a7344f
* Thu Nov 14 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-20
a7344f
a7344f
- Fix: tools: Fixes formatting of remote-nodes in crm_mon and crm_simulate
a7344f
- Fix: Corosync: Attempt to retrieve a peers node name if it is not already known
a7344f
    Resolves: rhbz#720543
a7344f
a7344f
* Thu Nov 14 2013 David Vossel <dvossel@redhat.com> - 1.1.10-19
a7344f
- Fix: controld: Use the correct variant of dlm_controld for
a7344f
  corosync-2 clusters
a7344f
a7344f
    Resolves: rhbz#1028627
a7344f
a7344f
* Thu Nov 07 2013 David Vossel <dvossel@redhat.com> - 1.1.10-18
a7344f
a7344f
- High: remote: Add support for ipv6 into pacemaker_remote daemon
a7344f
    Resolves: rhbz#720543
a7344f
a7344f
* Wed Nov 06 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-17
a7344f
a7344f
    Resolves: rhbz#720543
a7344f
a7344f
- Fix: core: Do not enabled blackbox for cli tools
a7344f
- Fix: Command-line tools should stop after an assertion failure
a7344f
- Fix: crmd: Dont add node_state to cib, if we have not seen or fenced this node yet
a7344f
- Fix: crmd: Correctly update expected state when the previous DC shuts down
a7344f
- Fix: crmd: Cache rsc_info retrieved from lrmd and pacemaker_remoted
a7344f
- Fix: crmd: Pad internal lrmd rsc_info and metadata retrieval timeout
a7344f
- Fix: crm_attribute: Detect orphaned remote-nodes when setting attributes
a7344f
- Fix: crm_mon: Prevent use-of-NULL when ping resources do not define a host list
a7344f
- Fix: crm_report: Record the output of the collector
a7344f
- Fix: crm_report: Do not print garbage when collecting from the local node
a7344f
- Fix: crm_resource: Wait for all replies when cleaning up resources
a7344f
- Fix: fencing: Do not broadcast suicide if the on action is being executed
a7344f
- Fix: fencing: Allow fencing for node after topology entries are deleted
a7344f
- Fix: fencing: Deep copy current topology level list on remote op
a7344f
- Fix: lrmd: Correctly cancel monitor actions for lsb/systemd/service resources on cleaning up
a7344f
- Fix: pengine: Dont prevent clones from running due to dependant resources
a7344f
- Fix: pengine: Probe containers not expected to be up
a7344f
- Fix: ipc: Raise the default buffer size to 128k
a7344f
- Fix: ipc: Use the higher of the configured buffer size or the default
a7344f
- Fix: iso8601: Prevent dates from jumping backwards a day in some timezones
a7344f
- Fix: remote: Properly version the remote connection protocol
a7344f
- Fix: remote: Handle endian changes between client and server and improve forward compatibility
a7344f
    Resolves: rhbz#720543
a7344f
a7344f
* Mon Oct 07 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-16
a7344f
a7344f
- Remove unsupported resource agent
a7344f
- Log: crmd: Supply arguments in the correct order
a7344f
- Fix: crm_report: Correctly redirect error message to /dev/null
a7344f
- Fix: Bug rhbz#1011618 - Consistently use 'Slave' as the role for unpromoted master/slave resources
a7344f
- Fix: pengine: Location constraints with role=Started should prevent masters from running at all
a7344f
- Fix: crm_resource: Observe --master modifier for --move
a7344f
- Provide a meaningful error if --master is used for primitives and groups
a7344f
- Fix: Fencing: Observe pcmk_host_list during automatic unfencing
a7344f
    Resolves: rhbz#996576
a7344f
a7344f
* Fri Sep 27 2013 David Vossel  <dvossel@redhat.com> - 1.1.10-15
a7344f
  + Fix: crmd: Allow transient attributes to be set on remote-nodes.
a7344f
  + Fix: pengine: Handle orphaned remote-nodes properly
a7344f
  + Low: cts: Add RemoteLXC regression test.
a7344f
a7344f
  Resolves: rhbz#1006465
a7344f
  Resolves: rhbz#1006471
a7344f
a7344f
* Fri Aug 23 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-14
a7344f
  + Fix: xml: Location constraints are allowed to specify a role
a7344f
  + Bug rhbz#902407 - crm_resource: Handle --ban for master/slave resources as advertised
a7344f
    Resolves: rhbz#902407
a7344f
a7344f
* Wed Aug 14 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-13
a7344f
  + Fencing: Support agents that need the host to be unfenced at startup
a7344f
    Resolves: rhbz#996576
a7344f
  + crm_report: Collect corosync quorum data
a7344f
    Resolves: rhbz#839342
a7344f
a7344f
* Thu Aug 08 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-12
a7344f
- Regenerate patches to have meaningful names
a7344f
a7344f
* Thu Aug 08 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-11
a7344f
  + Fix: systemd: Prevent glib assertion - only call g_error_free() with non-NULL arguments
a7344f
  + Fix: systemd: Prevent additional assertions in g_error_free
a7344f
  + Fix: logging: glib CRIT messages should not produce core files by default
a7344f
  + Doc: controld: Update the description
a7344f
  + Fix: pengine: Correctly account for the location preferences of things colocated with a group
a7344f
  + Fix: cib: Correctly log short-form xml diffs
a7344f
  + Fix: crmd: Correcty update the history cache when recurring ops change their return code
a7344f
  + Log: pengine: Better indicate when a resource has failed
a7344f
  + Log: crm_mon: Unmunge the output for failed operations
a7344f
a7344f
* Fri Aug 02 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-10
a7344f
  + Fix: pengine: Do not re-allocate clone instances that are blocked in the Stopped state
a7344f
  + Fix: pengine: Do not allow colocation with blocked clone instances
a7344f
a7344f
* Thu Aug 01 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-9
a7344f
  + Fix: crmd: Prevent crash by passing log arguments in the correct order
a7344f
a7344f
* Thu Aug 01 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-8
a7344f
  + Fix: pengine: Do not restart resources that depend on unmanaged resources
a7344f
a7344f
* Thu Aug 01 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-7
a7344f
  + Fix: crmd: Prevent recurring monitors being cancelled due to notify operations
a7344f
a7344f
* Fri Jul 26 2013 Andrew Beekhof <andrew@beekhof.net> Pacemaker-1.1.10-6
a7344f
- Update source tarball to revision: 368c726 (Pacemaker-1.1.10-rc7)
a7344f
- Changesets: 18
a7344f
- Diff:       9 files changed, 245 insertions(+), 170 deletions(-)
a7344f
a7344f
- Features added since Pacemaker-1.1.10-rc7
a7344f
  + crm_resource: Allow options to be set recursively
a7344f
a7344f
- Changes since Pacemaker-1.1.10-rc7
a7344f
  + Bug cl#5161 - crmd: Prevent memory leak in operation cache
a7344f
  + cib: Correctly read back archived configurations if the primary is corrupted
a7344f
a7344f
* Mon Jul 22 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-5
a7344f
- Streamline spec file
a7344f
a7344f
- Upstream patch for:
a7344f
  + cman: Only build migration tools for targets that may use them
a7344f
  + cib: Ensure we set up hacluster's groups in stand-alone mode
a7344f
a7344f
- Update for new upstream tarball: Pacemaker-1.1.10-rc7
a7344f
a7344f
  + Bug cl#5157 - Allow migration in the absence of some colocation constraints
a7344f
  + Bug cl#5168 - Prevent clones from being bounced around the cluster due to location constraints
a7344f
  + Bug cl#5170 - Correctly support on-fail=block for clones
a7344f
  + crmd: CID#1036761 Dereference null return value
a7344f
  + crmd: cl#5164 - Fixes crmd crash when using pacemaker-remote
a7344f
  + crmd: Ensure operations for cleaned up resources don't block recovery
a7344f
  + crmd: Prevent messages for remote crmd clients from being relayed to wrong daemons
a7344f
  + crmd: Properly handle recurring monitor operations for remote-node agent
a7344f
  + fencing: Correctly detect existing device entries when registering a new one
a7344f
  + logging: If SIGTRAP is sent before tracing is turned on, turn it on
a7344f
  + lrmd: Prevent use-of-NULL in client library
a7344f
  + pengine: cl#5128 - Support maintenance mode for a single node
a7344f
  + pengine: cl#5164 - Pengine segfault when calculating transition with remote-nodes.
a7344f
  + pengine: Do the right thing when admins specify the internal resource instead of the clone
a7344f
  + systemd: Turn off auto-respawning of systemd services when the cluster starts them
a7344f
a7344f
* Wed Jul 10 2013 David Vossel <dvossel@redhat.com> - 1.1.10-4
a7344f
- Fixes crmd crash when using pacemaker_remote.
a7344f
a7344f
* Mon Jun 17 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-3
a7344f
- Update to upstream 838e41e
a7344f
a7344f
  + Feature: pengine: Allow active nodes in our current membership to be fenced without quorum
a7344f
  + Fix: attrd: Fixes deleted attributes during dc election
a7344f
  + Fix: corosync: Fall back to uname for local nodes
a7344f
  + Fix: crm_report: Find logs in compressed files
a7344f
  + Fix: pengine: If fencing is unavailable or disabled, block further recovery for resources that fail to stop
a7344f
  + Fix: systemd: Ensure we get shut down correctly by systemd
a7344f
a7344f
* Sun Jun 09 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-2
a7344f
- Update for new upstream tarball: Pacemaker-1.1.10-rc4
a7344f
a7344f
- Features in Pacemaker-1.1.10-rc4:
a7344f
  + PE: Display a list of nodes on which stopped anonymous clones are not active instead of meaningless clone IDs
a7344f
  + crm_error: Add the ability to list and print error symbols
a7344f
  + crm_resource: Implement --ban for moving resources away from nodes and --clear (replaces --unmove)
a7344f
  + crm_resource: Support OCF tracing when using --force-(check|start|stop)
a7344f
a7344f
- Changes since Pacemaker-1.1.10-rc1
a7344f
a7344f
  + Bug cl#5133 - pengine: Correctly observe on-fail=block for failed demote operation
a7344f
  + Bug cl#5152 - Correctly clean up fenced nodes during membership changes
a7344f
  + Bug cl#5153 - Correctly display clone failcounts in crm_mon
a7344f
  + Bug cl#5154 - Do not expire failures when on-fail=block is present
a7344f
  + Bug pengine: cl#5155 - Block the stop of resources if any depending resource is unmanaged
a7344f
  + crm_report: Correctly collect logs when 'uname -n' reports fully qualified names
a7344f
  + Check for and replace non-printing characters with their octal equivalent while exporting xml text
a7344f
  + Convert all exit codes to positive errno values
a7344f
  + Core: Ensure the blackbox is saved on abnormal program termination
a7344f
  + corosync: Detect the loss of members for which we only know the nodeid
a7344f
  + corosync: Nodes that can persist in sending CPG messages must be alive afterall
a7344f
  + crmd: Do not get stuck in S_POLICY_ENGINE if a node we couldn't fence returns
a7344f
  + crmd: Ensure all membership operations can complete while trying to cancel a transition
a7344f
  + crmd: Everyone who gets a fencing notification should mark the node as down
a7344f
  + crmd: Initiate node shutdown if another node claims to have successfully fenced us
a7344f
  + crm_resource: Gracefully fail when --force-* is attempted for stonith resources
a7344f
  + fencing: Restore the ability to manually confirm that fencing completed
a7344f
  + pengine: Correctly handle resources that recover before we operate on them
a7344f
  + pengine: Ensure per-node resource parameters are used during probes
a7344f
  + pengine: Implement the rest of get_timet_now() and rename to get_effective_time
a7344f
  + pengine: Mark unrunnable stop actions as "blocked"
a7344f
  + pengine: Re-initiate active recurring monitors that previously failed but have timed out
a7344f
  + xml: Restore the ability to embed comments in the cib
a7344f
a7344f
* Wed Apr 17 2013 Andrew Beekhof <abeekhof@redhat.com> - 1.1.10-1
a7344f
- Update for new upstream tarball: Pacemaker-1.1.10-rc1
a7344f
- Features added since Pacemaker-1.1.8
a7344f
  + Performance enhancements for supporting 16 node clusters
a7344f
  + corosync: Use queues to avoid blocking when sending CPG messages
a7344f
  + ipc: Compress messages that exceed the configured IPC message limit
a7344f
  + ipc: Use queues to prevent slow clients from blocking the server
a7344f
  + ipc: Use shared memory by default
a7344f
  + lrmd: Support nagios remote monitoring
a7344f
  + lrmd: Pacemaker Remote Daemon for extending pacemaker functionality outside corosync cluster.
a7344f
  + pengine: Check for master/slave resources that are not OCF agents
a7344f
  + pengine: Support a 'requires' resource meta-attribute for controlling whether it needs quorum, fencing or nothing
a7344f
  + pengine: Support for resource containers
a7344f
  + pengine: Support resources that require unfencing before start
a7344f
a7344f
- Changes since Pacemaker-1.1.8
a7344f
  + attrd: Correctly handle deletion of non-existant attributes
a7344f
  + Bug cl#5135 - Improved detection of the active cluster type
a7344f
  + Bug rhbz#913093 - Use crm_node instead of uname
a7344f
  + cib: Prevent ordering changes when applying xml diffs
a7344f
  + cib: Remove text nodes from cib replace operations
a7344f
  + crmd: Prevent election storms caused by getrusage() values being too close
a7344f
  + date/time: Bug cl#5118 - Correctly convert seconds-since-epoch to the current time
a7344f
  + fencing: Attempt to provide more information that just 'generic error' for failed actions
a7344f
  + fencing: Correctly record completed but previously unknown fencing operations
a7344f
  + fencing: Correctly terminate when all device options have been exhausted
a7344f
  + fencing: cov#739453 - String not null terminated
a7344f
  + fencing: Do not merge new fencing requests with stale ones from dead nodes
a7344f
  + fencing: Do not start fencing until entire device topology is found or query results timeout.
a7344f
  + fencing: Do not wait for the query timeout if all replies have arrived
a7344f
  + fencing: Fix passing of parameters from CMAN containing '='
a7344f
  + fencing: Fix non-comparison when sorting devices by priority
a7344f
  + fencing: On failure, only try a topology device once from the remote level.
a7344f
  + fencing: Only try peers for non-topology based operations once
a7344f
  + fencing: Retry stonith device for duration of action's timeout period.
a7344f
  + ipc: Bug cl#5110 - Prevent 100% CPU usage when looking for synchronous replies
a7344f
  + mcp: Re-attach to existing pacemaker components when mcp fails
a7344f
  + pengine: Any location constraint for the slave role applies to all roles
a7344f
  + pengine: Bug cl#5101 - Ensure stop order is preserved for partially active groups
a7344f
  + pengine: Bug cl#5140 - Allow set members to be stopped when the subseqent set has require-all=false
a7344f
  + pengine: Bug cl#5143 - Prevent shuffling of anonymous master/slave instances
a7344f
  + pengine: Bug rhbz#880249 - Ensure orphan masters are demoted before being stopped
a7344f
  + pengine: Bug rhbz#880249 - Teach the PE how to recover masters into primitives
a7344f
  + pengine: cl#5025 - Automatically clear failcount for start/monitor failures after resource parameters change
a7344f
  + pengine: cl#5099 - Probe operation uses the timeout value from the minimum interval monitor by default (#bnc776386)
a7344f
  + pengine: cl#5111 - When clone/master child rsc has on-fail=stop, insure all children stop on failure.
a7344f
  + pengine: cl#5142 - Do not delete orphaned children of an anonymous clone
a7344f
  + pengine: Correctly unpack active anonymous clones
a7344f
  + pengine: Ensure previous migrations are closed out before attempting another one
a7344f
  + pengine: rhbz#902459 - Remove rsc node status for orphan resources
a7344f
  + Replace the use of the insecure mktemp(3) with mkstemp(3)
a7344f
a7344f
* Thu Apr 04 2013 David Vossel <dvossel@redhat.com> - 1.1.8-6
a7344f
  Fixes depreciated use of gnutls 3.1
a7344f
a7344f
* Thu Apr 04 2013 David Vossel <dvossel@redhat.com> - 1.1.8-5
a7344f
  Rebuilt for gnutls 3.1
a7344f
a7344f
* Thu Oct 25 2012 Andrew Beekhof <abeekhof@redhat.com> - 1.1.8-4
a7344f
- Update for new upstream tarball: 5db5f53
a7344f
a7344f
  + High: mcp: Re-attach to existing pacemaker components when pacemakerd fails
a7344f
  + High: pengine: cl#5111 - When clone/master child rsc has on-fail=stop, insure all children stop on failure.
a7344f
  + High: Replace the use of the insecure mktemp(3) with mkstemp(3)
a7344f
  + High: Core: Correctly process XML diff's involving element removal
a7344f
  + High: PE: Correctly unpack active anonymous clones
a7344f
  + High: PE: Fix clone_zero() and clone_strip() for single character resource names
a7344f
  + High: IPC: Bug cl#5110 - Prevent 100% CPU usage when looking for synchronous replies
a7344f
  + High: PE: Bug cl#5101 - Ensure stop order is preserved for partially active groups
a7344f
  + High: fencing: On failure, only try a topology device once from the remote level.
a7344f
  + High: fencing: Retry stonith device for duration of action's timeout period.
a7344f
  + High: PE: Fix memory leak on processing message (bnc#780224)
a7344f
  + High: fencing: Support 'on_target' option in fencing device metadata for forcing unfence on target node
a7344f
  + High: PE: Support resources that require unfencing before start
a7344f
  + High: PE: Support a 'requires' resource meta-attribute for controlling whether it needs quorum, fencing or nothing
a7344f
  + High: mcp: Only define HA_DEBUGLOG to avoid agent calls to ocf_log printing everything twice
a7344f
  + High: fencing: Do not start fencing until entire device topology is found or query results timeout.
a7344f
  + High: Cluster: Allow cman and corosync 2.0 nodes to use a name other than uname()
a7344f
a7344f
* Fri Sep 21 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.8-3
a7344f
- Only build for i386 and x86_64 as directed
a7344f
a7344f
* Fri Sep 21 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.8-1
a7344f
- Rebuild for upstream 1.1.8 release
a7344f
- Documentation disabled pending a functional publican/ImageMagick combination
a7344f
a7344f
- Statistics:
a7344f
  Changesets: 1019
a7344f
  Diff:       2107 files changed, 117258 insertions(+), 73606 deletions(-)
a7344f
a7344f
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for full details
a7344f
a7344f
  + New IPC implementation from libqb
a7344f
  + New logging implementation from libqb
a7344f
  + Quieter - info, debug and trace logs are no longer sent to syslog
a7344f
  + Dropped dependancy on cluster-glue
a7344f
  + Config and core directories no longer located in heartbeat directories
a7344f
  + Support for managing systemd services
a7344f
  + Rewritten local resource management daemon
a7344f
  + Version bumps for every shared library due to API cleanups
a7344f
  + Removes crm shell, install/use pcs shell and GUI instead
a7344f
a7344f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.7-2.1
a7344f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a7344f
a7344f
* Wed Mar 28 2012 Andrew Beekhof <andrew@beekhof.net> Pacemaker-1.1.7-2
a7344f
- Reinstate the ghost directive for /var/run/crm
a7344f
a7344f
* Wed Mar 28 2012 Andrew Beekhof <andrew@beekhof.net> Pacemaker-1.1.7-1
a7344f
- Update source tarball to upstream release: Pacemaker-1.1.7
a7344f
- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for details
a7344f
a7344f
* Thu Feb 16 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.3-7742926.git
a7344f
- New upstream tarball: 7742926
a7344f
- Additional Provides and Obsoletes directives to enable upgrading from heartbeat
a7344f
- Rebuild now that the Corosync CFG API has been removed
a7344f
a7344f
* Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.2-bc7c125.git
a7344f
- Additional Provides and Obsoletes directives to enable upgrading from rgmanager
a7344f
a7344f
* Thu Feb 02 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.7-0.1-bc7c125.git
a7344f
- New upstream tarball: bc7c125
a7344f
- Pre-release 1.1.7 build to deal with the removal of cman and support for corosync plugins
a7344f
- Add libqb as a dependancy
a7344f
a7344f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-3.1
a7344f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a7344f
a7344f
* Mon Sep 26 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-3
a7344f
- New upstream tarball: 89678d4
a7344f
- Move man pages to the correct subpackages
a7344f
a7344f
* Mon Sep 26 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-2
a7344f
- Do not build in support for heartbeat, snmp, esmtp by default
a7344f
- Create a package for cluster unaware libraries to minimze our
a7344f
  footprint on non-cluster nodes
a7344f
- Better package descriptions
a7344f
a7344f
* Wed Sep 07 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.6-1
a7344f
- Upstream release of 1.1.6
a7344f
- See included ChangeLog file or http://hg.clusterlabs.org/pacemaker/1.1/file/tip/ChangeLog for details
a7344f
a7344f
- Disabled eSMTP and SNMP support.  Painful to configure and rarely used.
a7344f
- Created cli sub-package for non-cluster usage
a7344f
a7344f
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 1.1.5-3.2
a7344f
- Perl mass rebuild
a7344f
a7344f
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.1.5-3.1
a7344f
- Perl mass rebuild
a7344f
a7344f
* Mon Jul 11 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-3
a7344f
- Rebuild for new snmp .so
a7344f
a7344f
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.5-2.2
a7344f
- Perl mass rebuild
a7344f
a7344f
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.5-2.1
a7344f
- Perl 5.14 mass rebuild
a7344f
a7344f
* Wed Apr 27 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-2
a7344f
- Mark /var/run directories with ghost directive
a7344f
  Resolves: rhbz#656654
a7344f
a7344f
* Wed Apr 27 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.5-1
a7344f
- New upstream release plus patches for CMAN integration
a7344f
a7344f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-5.1
a7344f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a7344f
a7344f
* Tue Jan 11 2011 Andrew Beekhof <andrew@beekhof.net> 1.1.4-5
a7344f
- Re-enable corosync and heartbeat support with correct bcond variable
a7344f
  usage
a7344f
a7344f
* Wed Dec  8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-4
a7344f
- Temporary drop publican doc build
a7344f
a7344f
* Wed Dec  8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-3
a7344f
- Fix publican build on x86
a7344f
a7344f
* Wed Dec  8 2010 Fabio M. Di Nitto <fdinitto@redhat.com> 1.1.4-2
a7344f
- Drop double source entry and 22Mb from the srpm
a7344f
a7344f
* Mon Nov 15 2010 Andrew Beekhof <andrew@beekhof.net> 1.1.4-1
a7344f
- Upstream release of 1.1.4
a7344f
- See included ChangeLog file or http://hg.clusterlabs.org/pacemaker/1.1/file/tip/ChangeLog for details
a7344f
a7344f
* Wed Sep 29 2010 jkeating - 1.1.3-1.1
a7344f
- Rebuilt for gcc bug 634757
a7344f
a7344f
* Tue Sep 21 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.3-1
a7344f
- Upstream release of 1.1.3
a7344f
  + High: crmd: Use the correct define/size for lrm resource IDs
a7344f
  + High: crmd: Bug lf#2458 - Ensure stop actions always have the relevant resource attributes
a7344f
  + High: crmd: Ensure we activate the DC timer if we detect an alternate DC
a7344f
  + High: mcp: Correctly initialize the string containing the list of active daemons
a7344f
  + High: mcp: Fix the expansion of the pid file in the init script
a7344f
  + High: mcp: Tell chkconfig we need to shut down early on
a7344f
  + High: PE: Bug lf#2476 - Repair on-fail=block for groups and primitive resources
a7344f
  + High: PE: Do not demote resources because something that requires it can't run
a7344f
  + High: PE: Rewrite the ordering constraint logic to be simplicity, clarity and maintainability
a7344f
  + High: PE: Wait until stonith is available, don't fall back to shutdown for nodes requesting termination
a7344f
  + High: PE: Prevent segfault by ensuring the arguments to do_calculations() are initialized
a7344f
  + High: stonith: Bug lf#2461 - Prevent segfault by not looking up operations if the hashtable hasn't been initialized yet
a7344f
  + High: Stonith: Bug lf#2473 - Ensure stonith operations complete within the timeout and are terminated if they run too long
a7344f
  + High: stonith: Bug lf#2473 - Gracefully handle remote operations that arrive late (after we've done notifications)
a7344f
  + High: stonith: Bug lf#2473 - Add the timeout at the top level where the daemon is looking for it
a7344f
  + High: stonith: Bug lf#2473 - Ensure timeouts are included for fencing operations
a7344f
  + High: Stonith: Use the timeout specified by the user
a7344f
  + High: Tools: Bug lf#2456 - Fix assertion failure in crm_resource
a7344f
a7344f
* Mon Jul 26 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.3-0.1-b3cb4f4a30ae.hg
a7344f
- Pre-release version of 1.1.3
a7344f
  + High: ais: Bug lf2401 - Improved processing when the peer crmd processes join/leave
a7344f
  + High: ais: fix list of active processes sent to clients (bnc#603685)
a7344f
  + High: ais: Move the code for finding uid before the fork so that the child does no logging
a7344f
  + High: ais: Resolve coverity CONSTANT_EXPRESSION_RESULT defects
a7344f
  + High: cib: Also free query result for xpath operations that return more than one hit
a7344f
  + High: cib: Attempt to resolve memory corruption when forking a child to write the cib to disk
a7344f
  + High: cib: Correctly free memory when writing out the cib to disk
a7344f
  + High: cib: Fix the application of unversioned diffs
a7344f
  + High: cib: Remove old developmental error logging
a7344f
  + High: cib: Restructure the 'valid peer' check for deciding which instructions to ignore
a7344f
  + High: Core: Bug lf#2401 - Backed out changeset 6e6980376f01
a7344f
  + High: Core: Correctly unpack HA_Messages containing multiple entries with the same name
a7344f
  + High: Core: crm_count_member() should only track nodes that have the full stack up
a7344f
  + High: Core: New developmental logging system inspired by the kernel and a PoC from Lars Ellenberg
a7344f
  + High: crmd: All nodes should see status updates, not just he DC
a7344f
  + High: crmd: Allow non-DC nodes to clear failcounts too
a7344f
  + High: crmd: Base DC election on process relative uptime
a7344f
  + High: crmd: Bug lf#2439 - cancel_op() can also return HA_RSCBUSY
a7344f
  + High: crmd: Bug lf#2439 - Handle asynchronous notification of resource deletion events
a7344f
  + High: crmd: Fix assertion failure when performing async resource failures
a7344f
  + High: crmd: Fix handling of async resource deletion results
a7344f
  + High: crmd: Include the action for crm graph operations
a7344f
  + High: crmd: Make sure the membership cache is accurate after a sucessful fencing operation
a7344f
  + High: crmd: Make sure we always poke the FSA after a transition to clear any TE_HALT actions
a7344f
  + High: crmd: Offer crm-level membership once the peer starts the crmd process
a7344f
  + High: crmd: Only need to request quorum update for plugin based clusters
a7344f
  + High: crmd: Prevent everyone from loosing DC elections by correctly initializing all relevant variables
a7344f
  + High: crmd: Prevent segmentation fault
a7344f
  + High: crmd: several fixes for async resource delete
a7344f
  + High: mcp: Add missing headers when built without heartbeat support
a7344f
  + High: mcp: New master control process for (re)spawning pacemaker daemons
a7344f
  + High: PE: Avoid creating invalid ordering constraints for probes that are not needed
a7344f
  + High: PE: Bug lf#1959 - Fail unmanaged resources should not prevent other services from shutting down
a7344f
  + High: PE: Bug lf#2422 - Ordering dependencies on partially active groups not observed properly
a7344f
  + High: PE: Bug lf#2424 - Use notify oepration definition if it exists in the configuration
a7344f
  + High: PE: Bug lf#2433 - No services should be stopped until probes finish
a7344f
  + High: PE: Bug lf#2453 - Enforce clone ordering in the absense of colocation constraints
a7344f
  + High: PE: Correctly detect when there is a real failcount that expired and needs to be cleared
a7344f
  + High: PE: Correctly handle pseudo action creation
a7344f
  + High: PE: Correctly order clone startup after group/clone start
a7344f
  + High: PE: Fix colocation for interleaved clones
a7344f
  + High: PE: Fix colocation with partially active groups
a7344f
  + High: PE: Fix potential use-after-free defect from coverity
a7344f
  + High: PE: Fix previous merge
a7344f
  + High: PE: Fix use-after-free in order_actions() reported by valgrind
a7344f
  + High: PE: Prevent endless loop when looking for operation definitions in the configuration
a7344f
  + High: Resolve coverity RESOURCE_LEAK defects
a7344f
  + High: Shell: Complete the transition to using crm_attribute instead of crm_failcount and crm_standby
a7344f
  + High: stonith: Advertise stonith-ng options in the metadata
a7344f
  + High: stonith: Correctly parse pcmk_host_list parameters that appear on a single line
a7344f
  + High: stonith: Map poweron/poweroff back to on/off expected by the stonith tool from cluster-glue
a7344f
  + High: stonith: pass the configuration to the stonith program via environment variables (bnc#620781)
a7344f
  + High: Support starting plugin-based Pacemaker clusters with the MCP as well
a7344f
  + High: tools: crm_report - corosync.conf wont necessarily contain the text 'pacemaker' anymore
a7344f
  + High: tools: crm_simulate - Resolve coverity USE_AFTER_FREE defect
a7344f
  + High: Tools: Drop the 'pingd' daemon and resource agent in favor of ocf:pacemaker:ping
a7344f
  + High: Tools: Fix recently introduced use-of-NULL
a7344f
  + High: Tools: Fix use-after-free defect from coverity
a7344f
a7344f
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.2-5.1
a7344f
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
a7344f
a7344f
* Fri Jul  9 2010 Dan Horák <dan[at]danny.cz> - 1.1.2-5
a7344f
- re-enable AIS cluster on s390(x)
a7344f
a7344f
* Fri Jul  9 2010 Dan Horák <dan[at]danny.cz> - 1.1.2-4
a7344f
- AIS cluster not available on s390(x)
a7344f
a7344f
* Mon Jun 21 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-3
a7344f
- publican is only available as a dependancy on i386/x86_64 machines
a7344f
a7344f
* Fri Jun 11 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-2
a7344f
- Resolves rhbz#602239 - Added patch to documentation so that it passes validation
a7344f
- High: Core: Bug lf#2401 - Backed out changeset 6e6980376f01
a7344f
a7344f
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1.2-1.1
a7344f
- Mass rebuild with perl-5.12.0
a7344f
a7344f
* Wed May 12 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.2-1
a7344f
- Update the tarball from the upstream 1.1.2 release
a7344f
  + High: ais: Bug lf#2340 - Force rogue child processes to terminate after waiting 2.5 minutes
a7344f
  + High: ais: Bug lf#2359 - Default expected votes to 2 inside Corosync/OpenAIS plugin
a7344f
  + High: ais: Bug lf#2359 - expected-quorum-votes not correctly updated after membership change
a7344f
  + High: ais: Bug rhbz#525552 - Move non-threadsafe calls to setenv() to after the fork()
a7344f
  + High: ais: Do not count votes from offline nodes and calculate current votes before sending quorum data
a7344f
  + High: ais: Ensure the list of active processes sent to clients is always up-to-date
a7344f
  + High: ais: Fix previous commit, actually return a result in get_process_list()
a7344f
  + High: ais: Fix two more uses of getpwnam() in non-thread-safe locations
a7344f
  + High: ais: Look for the correct conf variable for turning on file logging
a7344f
  + High: ais: Need to find a better and thread-safe way to set core_uses_pid. Disable for now.
a7344f
  + High: ais: Use the threadsafe version of getpwnam
a7344f
  + High: Core: Bug lf#2414 - Prevent use-after-free reported by valgrind when doing xpath based deletions
a7344f
  + High: Core: Bump the feature set due to the new failcount expiry feature
a7344f
  + High: Core: Fix memory leak in replace_xml_child() reported by valgrind
a7344f
  + High: Core: fix memory leaks exposed by valgrind
a7344f
  + High: crmd: Bug 2401 - Improved detection of partially active peers
a7344f
  + High: crmd: Bug bnc#578644 - Improve handling of cancelled operations caused by resource cleanup
a7344f
  + High: crmd: Bug lf#2379 - Ensure the cluster terminates when the PE is not available
a7344f
  + High: crmd: Bug lf#2414 - Prevent use-after-free of the PE connection after it dies
a7344f
  + High: crmd: Bug lf#2414 - Prevent use-after-free of the stonith-ng connection
a7344f
  + High: crmd: Do not allow the target_rc to be misused by resource agents
a7344f
  + High: crmd: Do not ignore action timeouts based on FSA state
a7344f
  + High: crmd: Ensure we dont get stuck in S_PENDING if we loose an election to someone that never talks to us again
a7344f
  + High: crmd: Fix memory leaks exposed by valgrind
a7344f
  + High: crmd: Remove race condition that could lead to multiple instances of a clone being active on a machine
a7344f
  + High: crmd: Send erase_status_tag() calls to the local CIB when the DC is fenced, since there is no DC to accept them
a7344f
  + High: crmd: Use global fencing notifications to prevent secondary fencing operations of the DC
a7344f
  + High: fencing: Account for stonith_get_info() always returning a pointer to the same static buffer
a7344f
  + High: PE: Allow startup probes to be disabled - their calculation is a major bottleneck for very large clusters
a7344f
  + High: PE: Bug lf#2317 - Avoid needless restart of primitive depending on a clone
a7344f
  + High: PE: Bug lf#2358 - Fix master-master anti-colocation
a7344f
  + High: PE: Bug lf#2361 - Ensure clones observe mandatory ordering constraints if the LHS is unrunnable
a7344f
  + High: PE: Bug lf#2383 - Combine failcounts for all instances of an anonymous clone on a host
a7344f
  + High: PE: Bug lf#2384 - Fix intra-set colocation and ordering
a7344f
  + High: PE: Bug lf#2403 - Enforce mandatory promotion (colocation) constraints
a7344f
  + High: PE: Bug lf#2412 - Correctly locate clone instances by their prefix
a7344f
  + High: PE: Correctly implement optional colocation between primitives and clone resources
a7344f
  + High: PE: Do not be so quick to pull the trigger on nodes that are coming up
a7344f
  + High: PE: Fix memory leaks exposed by valgrind
a7344f
  + High: PE: Fix memory leaks reported by valgrind
a7344f
  + High: PE: Repair handling of unordered groups in RHS ordering constraints
a7344f
  + High: PE: Rewrite native_merge_weights() to avoid Fix use-after-free
a7344f
  + High: PE: Suppress duplicate ordering constraints to achieve orders of magnitude speed increases for large clusters
a7344f
  + High: Shell: add support for xml in cli
a7344f
  + High: Shell: always reload status if working with the cluster (bnc#590035)
a7344f
  + High: Shell: check timeouts also against the default-action-timeout property
a7344f
  + High: Shell: Default to using the status section from the live CIB (bnc#592762)
a7344f
  + High: Shell: edit multiple meta_attributes sets in resource management (lf#2315)
a7344f
  + High: Shell: enable comments (lf#2221)
a7344f
  + High: Shell: implement new cibstatus interface and commands (bnc#580492)
a7344f
  + High: Shell: improve configure commit (lf#2336)
a7344f
  + High: Shell: new cibstatus import command (bnc#585471)
a7344f
  + High: Shell: new configure filter command
a7344f
  + High: Shell: restore error reporting in options
a7344f
  + High: Shell: split shell into modules
a7344f
  + High: Shell: support for the utilization element (old patch for the new structure)
a7344f
  + High: Shell: update previous node lookup procedure to include the id where necessary
a7344f
  + High: Tools: crm_mon - fix memory leaks exposed by valgrind
a7344f
a7344f
* Thu Feb 11 2010 Andrew Beekhof <andrew@beekhof.net> - 1.1.1-0.1-60b7753f7310.hg
a7344f
- Update the tarball from upstream to version 60b7753f7310
a7344f
  + First public release of the 1.1 series
a7344f
a7344f
* Wed Dec 9 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-5
a7344f
- Include patch of changeset 66b7bfd467f3:
a7344f
  Some clients such as gfs_controld want a cluster name, allow one to be specified in corosync.conf
a7344f
a7344f
* Thu Oct 29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-4
a7344f
- Include the fixes from CoroSync integration testing
a7344f
- Move the resource templates - they are not documentation
a7344f
- Ensure documentation is placed in a standard location
a7344f
- Exclude documentation that is included elsewhere in the package
a7344f
a7344f
- Update the tarball from upstream to version ee19d8e83c2a
a7344f
  + High: cib: Correctly clean up when both plaintext and tls remote ports are requested
a7344f
  + High: PE: Bug bnc#515172 - Provide better defaults for lt(e) and gt(e) comparisions
a7344f
  + High: PE: Bug lf#2197 - Allow master instances placemaker to be influenced by colocation constraints
a7344f
  + High: PE: Make sure promote/demote pseudo actions are created correctly
a7344f
  + High: PE: Prevent target-role from promoting more than master-max instances
a7344f
  + High: ais: Bug lf#2199 - Prevent expected-quorum-votes from being populated with garbage
a7344f
  + High: ais: Prevent deadlock - dont try to release IPC message if the connection failed
a7344f
  + High: cib: For validation errors, send back the full CIB so the client can display the errors
a7344f
  + High: cib: Prevent use-after-free for remote plaintext connections
a7344f
  + High: crmd: Bug lf#2201 - Prevent use-of-NULL when running heartbeat
a7344f
  + High: Core: Bug lf#2169 - Allow dtd/schema validation to be disabled
a7344f
  + High: PE: Bug lf#2106 - Not all anonymous clone children are restarted after configuration change
a7344f
  + High: PE: Bug lf#2170 - stop-all-resources option had no effect
a7344f
  + High: PE: Bug lf#2171 - Prevent groups from starting if they depend on a complex resource which cannot
a7344f
  + High: PE: Disable resource management if stonith-enabled=true and no stonith resources are defined
a7344f
  + High: PE: Do not include master score if it would prevent allocation
a7344f
  + High: ais: Avoid excessive load by checking for dead children every 1s (instead of 100ms)
a7344f
  + High: ais: Bug rh#525589 - Prevent shutdown deadlocks when running on CoroSync
a7344f
  + High: ais: Gracefully handle changes to the AIS nodeid
a7344f
  + High: crmd: Bug bnc#527530 - Wait for the transition to complete before leaving S_TRANSITION_ENGINE
a7344f
  + High: crmd: Prevent use-after-free with LOG_DEBUG_3
a7344f
  + Medium: xml: Mask the "symmetrical" attribute on rsc_colocation constraints (bnc#540672)
a7344f
  + Medium (bnc#520707): Tools: crm: new templates ocfs2 and clvm
a7344f
  + Medium: Build: Invert the disable ais/heartbeat logic so that --without (ais|heartbeat) is available to rpmbuild
a7344f
  + Medium: PE: Bug lf#2178 - Indicate unmanaged clones
a7344f
  + Medium: PE: Bug lf#2180 - Include node information for all failed ops
a7344f
  + Medium: PE: Bug lf#2189 - Incorrect error message when unpacking simple ordering constraint
a7344f
  + Medium: PE: Correctly log resources that would like to start but cannot
a7344f
  + Medium: PE: Stop ptest from logging to syslog
a7344f
  + Medium: ais: Include version details in plugin name
a7344f
  + Medium: crmd: Requery the resource metadata after every start operation
a7344f
a7344f
* Fri Oct  9 2009 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.0.5-3
a7344f
- rebuilt with new net-snmp
a7344f
a7344f
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0.5-2.1
a7344f
- rebuilt with new openssl
a7344f
a7344f
* Wed Aug 19 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-2
a7344f
- Add versioned perl dependancy as specified by
a7344f
    https://fedoraproject.org/wiki/Packaging/Perl#Packages_that_link_to_libperl
a7344f
- No longer remove RPATH data, it prevents us finding libperl.so and no other
a7344f
  libraries were being hardcoded
a7344f
- Compile in support for heartbeat
a7344f
- Conditionally add heartbeat-devel and corosynclib-devel to the -devel requirements
a7344f
  depending on which stacks are supported
a7344f
a7344f
* Mon Aug 17 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-1
a7344f
- Add dependancy on resource-agents
a7344f
- Use the version of the configure macro that supplies --prefix, --libdir, etc
a7344f
- Update the tarball from upstream to version 462f1569a437 (Pacemaker 1.0.5 final)
a7344f
  + High: Tools: crm_resource - Advertise --move instead of --migrate
a7344f
  + Medium: Extra: New node connectivity RA that uses system ping and attrd_updater
a7344f
  + Medium: crmd: Note that dc-deadtime can be used to mask the brokeness of some switches
a7344f
a7344f
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.0.5-0.7.c9120a53a6ae.hg
a7344f
- Use bzipped upstream tarball.
a7344f
a7344f
* Wed Jul  29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.6.c9120a53a6ae.hg
a7344f
- Add back missing build auto* dependancies
a7344f
- Minor cleanups to the install directive
a7344f
a7344f
* Tue Jul  28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.5.c9120a53a6ae.hg
a7344f
- Add a leading zero to the revision when alphatag is used
a7344f
a7344f
* Tue Jul  28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.4.c9120a53a6ae.hg
a7344f
- Incorporate the feedback from the cluster-glue review
a7344f
- Realistically, the version is a 1.0.5 pre-release
a7344f
- Use the global directive instead of define for variables
a7344f
- Use the haclient/hacluster group/user instead of daemon
a7344f
- Use the _configure macro
a7344f
- Fix install dependancies
a7344f
a7344f
* Fri Jul  24 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-3
a7344f
- Include an AUTHORS and license file in each package
a7344f
- Change the library package name to pacemaker-libs to be more
a7344f
  Fedora compliant
a7344f
- Remove execute permissions from xml related files
a7344f
- Reference the new cluster-glue devel package name
a7344f
- Update the tarball from upstream to version c9120a53a6ae
a7344f
  + High: PE: Only prevent migration if the clone dependancy is stopping/starting on the target node
a7344f
  + High: PE: Bug 2160 - Dont shuffle clones due to colocation
a7344f
  + High: PE: New implementation of the resource migration (not stop/start) logic
a7344f
  + Medium: Tools: crm_resource - Prevent use-of-NULL by requiring a resource name for the -A and -a options
a7344f
  + Medium: PE: Prevent use-of-NULL in find_first_action()
a7344f
  + Low: Build: Include licensing files
a7344f
a7344f
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-2
a7344f
- Reference authors from the project AUTHORS file instead of listing in description
a7344f
- Change Source0 to reference the project's Mercurial repo
a7344f
- Cleaned up the summaries and descriptions
a7344f
- Incorporate the results of Fedora package self-review
a7344f
a7344f
* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-1
a7344f
- Initial checkin