diff --git a/.gitignore b/.gitignore index af7d70b..d926f70 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /ClusterLabs-pacemaker-b5b0a7b.tar.gz /ClusterLabs-pacemaker-c72d970.tar.gz /ClusterLabs-pacemaker-394e906.tar.gz +/ClusterLabs-pacemaker-70ad9fa.tar.gz diff --git a/pacemaker.spec b/pacemaker.spec index a515285..0540ce1 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -3,7 +3,7 @@ %global pcmk_docdir %{_docdir}/%{name} %global specversion 1 -%global upstream_version 394e906 +%global upstream_version 70ad9fa %global upstream_prefix ClusterLabs-pacemaker # Compatibility macros for distros (fedora) that don't provide Python macros by default @@ -49,7 +49,7 @@ %bcond_without doc # Use a different versioning scheme -%bcond_with pre_release +%bcond_without pre_release %if %{with profiling} # This disables -debuginfo package creation and also the stripping binaries/libraries @@ -65,7 +65,7 @@ Name: pacemaker Summary: Scalable High-Availability cluster resource manager -Version: 1.1.8 +Version: 1.1.9 Release: %{pcmk_release}%{?dist} License: GPLv2+ and LGPLv2+ Url: http://www.clusterlabs.org @@ -74,6 +74,7 @@ Group: System Environment/Daemons # export VER={upstream_version} # wget --no-check-certificate -O ClusterLabs-pacemaker-${VER}.tar.gz https://github.com/ClusterLabs/pacemaker/tarball/${VER} Source0: %{upstream_prefix}-%{upstream_version}.tar.gz +Patch0: pacemaker-1.1.8-cast-align.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) AutoReqProv: on Requires: resource-agents @@ -238,14 +239,14 @@ manager for Linux-HA (Heartbeat) and/or Corosync. The %{name}-cluster-libs package contains cluster-aware shared libraries needed for nodes that will form part of the cluster nodes. -%package -n %{name}-libs-devel +%package -n %{name}-libs-devel License: GPLv2+ and LGPLv2+ Summary: Pacemaker development package Group: Development/Libraries Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-cluster-libs = %{version}-%{release} Requires: libtool-ltdl-devel -Requires: libxml2-devel libxslt-devel bzip2-devel glib2-devel +Requires: libxml2-devel libxslt-devel bzip2-devel glib2-devel %if %{with corosync} Requires: corosynclib-devel %endif @@ -285,11 +286,13 @@ manager for Linux-HA (Heartbeat) and/or Corosync. %prep %setup -q -n %{upstream_prefix}-%{upstream_version} +%patch0 -p0 + # Force the local time # # 'hg archive' sets the file date to the date of the last commit. # This can result in files having been created in the future -# when building on machines in timezones 'behind' the one the +# when building on machines in timezones 'behind' the one the # commit occurred in - which seriously confuses 'make' find . -exec touch \{\} \; @@ -331,7 +334,7 @@ find %{buildroot} -name '*.xml' -type f -print0 | xargs -0 chmod a-x find %{buildroot} -name '*.xsl' -type f -print0 | xargs -0 chmod a-x find %{buildroot} -name '*.rng' -type f -print0 | xargs -0 chmod a-x find %{buildroot} -name '*.dtd' -type f -print0 | xargs -0 chmod a-x - + # Dont package static libs find %{buildroot} -name '*.a' -type f -print0 | xargs -0 rm -f find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f @@ -527,7 +530,75 @@ exit 0 %changelog -* Fri Sep 21 2012 Andrew Beekhof 1.1.8-1 +* Wed Feb 27 2013 Andrew Beekhof 1.1.9-0.1.70ad9fa.git +- Rebuild for upstream 1.1.9 pre-release + +- New upstream tarball: 70ad9fa + Changesets: 617 + Diff: 1280 files changed, 88199 insertions(+), 57133 deletions(-) + +- See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for full details + + + Fix: Fencing: Do not merge new fencing requests with stale ones from dead nodes + + Fix: PE: Any location constraint for the slave role applies to all roles + + Fix: crmd: Correctly determin if cluster disconnection was abnormal + + Fix: Invoke destroy functions if we are evicted from the CPG group + + Fix: fencing: Do not wait for the query timeout if all replies have arrived + + Fix: crmd: Improved continue/wait logic in do_dc_join_finalize() + + Feature: fencing: Ability to identify fencing operations with a tag + + Fix: crmd: Detect and recover when we are evicted from CPG + + Fix: crmd: Prevent timeouts when performing pacemaker level membership negotiation + + Feature: crmd: Enable A_DC_JOIN_OFFER_ONE + + Feature: ipc: Support compressed messages from clients + + Feature: corosync: Use queues to avoid blocking when sending CPG messages + + Fix: systemd: Gracefully handle unexpected DBus return types + + Fix: Date/time: Bug cl#5118 - Correctly convert seconds-since-epoch to the current time + + Fix: corosync: Correctly detect corosync 2.0 clusters even if we don't have permission to access it + + Fix: Bug cl#5135 - Improved detection of the active cluster type + + Fix: fencing: Correctly record completed but previously unknown fencing operations + + Fix: crm_report: Ensure policy engine logs are found + + High: pengine: rhbz#902459 - Remove rsc node status for orphan resources + + High: pengine: Refresh after delete action is no long required. + + High: pengine: Process rsc_ticket dependencies earlier for correctly allocating resources (bnc#802307) + + High: pengine: cl#5025 - Automatically clear failcount for start/monitor failures after resource parameters change + + Refactor: Use our custom xml-to-string function for performance + + Feature: Compress messages that exceed the configured IPC message limit + + Feature: Reliably detect when an IPC message size exceeds the connection's maximum + + Feature: Use shared memory for IPC by default + + Feature: IPC: Use queues to prevent slow clients from blocking the server + + Refactor: Core: A faster and more consistant digest function + + High: tools: Have crm_resource generate a valid transition key when sending resource commands to the crmd + + High: Fencing: Only try peers for non-topology based operations once + + High: PE: cl#5099 - Probe operation uses the timeout value from the minimum interval monitor by default (#bnc776386) + + High: cib: Avoid use-after-free by correctly support cib_no_children for non-xpath queries + + High: Core: Prevent use-of_NULL in IPC code + + High: crmd: Prevent election storms caused by getrusage() values being too close + + High: corosync: Ensure peer state is preserved when matching names to nodeids + + High: Cluster: Preserve corosync membership state when matching node name/id entries + + High: Fencing: Record delegated self-fencing operations in case they fail + + High: Fencing: Correctly terminate when all device options have been exhausted + + High: cib: Remove text nodes from cib replace operations + + High: PE: Bug rhbz#880249 - Teach the PE how to recover masters into primitives + + High: PE: Bug rhbz#880249 - Ensure orphan masters are demoted before being stopped + + High: attrd: Correctly handle deletion of non-existant attributes + + High: tools: Fixes crm_mon crash when using snmp traps. + + High: mcp: Re-attach to existing pacemaker components when mcp fails + + High: pengine: cl#5111 - When clone/master child rsc has on-fail=stop, insure all children stop on failure. + + High: Replace the use of the insecure mktemp(3) with mkstemp(3) + + High: Core: Prevent ordering changes when applying xml diffs + + High: cib: Reduce duplication and ensure all diffs contain an md5 digest + + High: Core: Correctly process XML diff's involving element removal + + High: PE: Correctly unpack active anonymous clones + + High: IPC: Bug cl#5110 - Prevent 100% CPU usage when looking for synchronous replies + + High: PE: Bug cl#5101 - Ensure stop order is preserved for partially active groups + +* Wed Oct 17 2012 Jon Ciesla 1.1.8-3 +- EVR fix. + +* Wed Oct 17 2012 Jon Ciesla 1.1.8-2 +- Fix FTBFS on ARM by removing cast-align. + +* Fri Sep 21 2012 Andrew Beekhof 1.1.8-2 - Rebuild for upstream 1.1.8 release - New upstream tarball: 394e906 @@ -536,26 +607,26 @@ exit 0 - See included ChangeLog file or https://raw.github.com/ClusterLabs/pacemaker/master/ChangeLog for full details - + High: Core: Bug cl#5032 - Rewrite the iso8601 date handling code - + High: corosync: Use unsigned nodeid's in the cib - + High: crmd: Correctly handle scheduled node down events - + High: fencing: Bug cl#5092 - Always timeout stonith operations if timeout period expires. - + High: fencing: Bug cl#5093 - Stonith per device timeout option - + High: fencing: Bug rhbz#801355 - Abort transition on DC when external fencing operation is detected - + High: fencing: Bug rhbz#801355 - Merge fence requests for identical operations already in progress. - + High: fencing: Bug rhbz#801355 - Report fencing operations external of pacemaker to cib - + High: Fencing: fence_legacy - Fix passing of parameters containing '=' - + High: fencing: Guarantee non-blocking when fetching stonith metadata - + High: fencing: Return cached dynamic target list for busy devices. - + High: lrmd: Cancel of recurring ops is now implied by rsc stop action. - + High: lrmd: Bug cl#5090 - Do not block stonith monitor actions - + High: lrmd: Bug cl#5092 - Fixes timeout value used when monitoring stonith resources - + High: lrmd: Bug cl#5094 - Immediately report monitor errors for all stonith devices when lrmd's stonith connection fails. - + High: PE: Bug cl#5044 - migrate_to no longer requires load_stopped due to transition loops - + High: PE: Correctly find action definitions for anonymous clones - + High: PE: Correctly find failcounts for /stopped/ anonymous clones - + High: PE: Fix memory leaks found by valgrind - + High: PE: Fix failcount expiration + + High: Core: Bug cl#5032 - Rewrite the iso8601 date handling code + + High: corosync: Use unsigned nodeid's in the cib + + High: crmd: Correctly handle scheduled node down events + + High: fencing: Bug cl#5092 - Always timeout stonith operations if timeout period expires. + + High: fencing: Bug cl#5093 - Stonith per device timeout option + + High: fencing: Bug rhbz#801355 - Abort transition on DC when external fencing operation is detected + + High: fencing: Bug rhbz#801355 - Merge fence requests for identical operations already in progress. + + High: fencing: Bug rhbz#801355 - Report fencing operations external of pacemaker to cib + + High: Fencing: fence_legacy - Fix passing of parameters containing '=' + + High: fencing: Guarantee non-blocking when fetching stonith metadata + + High: fencing: Return cached dynamic target list for busy devices. + + High: lrmd: Cancel of recurring ops is now implied by rsc stop action. + + High: lrmd: Bug cl#5090 - Do not block stonith monitor actions + + High: lrmd: Bug cl#5092 - Fixes timeout value used when monitoring stonith resources + + High: lrmd: Bug cl#5094 - Immediately report monitor errors for all stonith devices when lrmd's stonith connection fails. + + High: PE: Bug cl#5044 - migrate_to no longer requires load_stopped due to transition loops + + High: PE: Correctly find action definitions for anonymous clones + + High: PE: Correctly find failcounts for /stopped/ anonymous clones + + High: PE: Fix memory leaks found by valgrind + + High: PE: Fix failcount expiration * Wed Aug 8 2012 Andrew Beekhof 1.1.8-0.1-c72d970.git @@ -587,7 +658,7 @@ exit 0 * Thu Feb 16 2012 Andrew Beekhof 1.1.7-0.3-7742926.git - New upstream tarball: 7742926 - Additional Provides and Obsoletes directives to enable upgrading from heartbeat -- Rebuild now that the Corosync CFG API has been removed +- Rebuild now that the Corosync CFG API has been removed * Thu Feb 02 2012 Andrew Beekhof 1.1.7-0.2-bc7c125.git - Additional Provides and Obsoletes directives to enable upgrading from rgmanager @@ -614,7 +685,7 @@ exit 0 - Upstream release of 1.1.6 - See included ChangeLog file or http://hg.clusterlabs.org/pacemaker/1.1/file/tip/ChangeLog for details -- Disabled eSMTP and SNMP support. Painful to configure and rarely used. +- Disabled eSMTP and SNMP support. Painful to configure and rarely used. - Created cli sub-package for non-cluster usage * Thu Jul 21 2011 Petr Sabata - 1.1.5-3.2 @@ -638,7 +709,7 @@ exit 0 * Wed Apr 27 2011 Andrew Beekhof 1.1.5-1 - New upstream release plus patches for CMAN integration - + * Tue Feb 08 2011 Fedora Release Engineering - 1.1.4-5.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild @@ -764,7 +835,7 @@ exit 0 - Mass rebuild with perl-5.12.0 * Wed May 12 2010 Andrew Beekhof - 1.1.2-1 -- Update the tarball from the upstream 1.1.2 release +- Update the tarball from the upstream 1.1.2 release + High: ais: Bug lf#2340 - Force rogue child processes to terminate after waiting 2.5 minutes + High: ais: Bug lf#2359 - Default expected votes to 2 inside Corosync/OpenAIS plugin + High: ais: Bug lf#2359 - expected-quorum-votes not correctly updated after membership change @@ -883,7 +954,7 @@ exit 0 - No longer remove RPATH data, it prevents us finding libperl.so and no other libraries were being hardcoded - Compile in support for heartbeat -- Conditionally add heartbeat-devel and corosynclib-devel to the -devel requirements +- Conditionally add heartbeat-devel and corosynclib-devel to the -devel requirements depending on which stacks are supported * Mon Aug 17 2009 Andrew Beekhof - 1.0.5-1 @@ -914,7 +985,7 @@ exit 0 * Fri Jul 24 2009 Andrew Beekhof - 1.0.4-3 - Include an AUTHORS and license file in each package -- Change the library package name to pacemaker-libs to be more +- Change the library package name to pacemaker-libs to be more Fedora compliant - Remove execute permissions from xml related files - Reference the new cluster-glue devel package name diff --git a/sources b/sources index e509104..5b6f34e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4603b6be6ef693081796a9b42791df3e ClusterLabs-pacemaker-394e906.tar.gz +a276268764a581419f448e28f2e6a74f ClusterLabs-pacemaker-70ad9fa.tar.gz