• R/O
  • SSH

pm_diskd: Commit

※ リポジトリは、pm-diskd ブランチが https://github.com/linux-ha-japan/pm_diskd-1.0 へ、pm-diskd-2.0ブランチが https://github.com/linux-ha-japan/pm_diskd へ移行しました。

Pacemaker 対応ディスク故障監視機能。

Pacemaker-1.0公式リポジトリのクローンに対し、パッチ作成用のブランチを作成して管理する。
ブランチ名: pm-diskd

初回 hg clone 実行後は、hg update -r pm-diskd を実行すること。

Heartbeat-2.1.4 用 hb-diskd(*) のPacemaker対応版
(*) http://sourceforge.jp/projects/linux-ha/releases/?package_id=10555


Commit MetaInfo

Revision2eed906f43e90ee1e0f7d411f814fc585b30f869 (tree)
Time2010-01-18 18:34:46
AuthorAndrew Beekhof <andrew@beek...>
CommiterAndrew Beekhof

Log Message

Low: Build: New approach to shared spec files - write for fedora and account for differences with sed

Change Summary

Incremental Difference

diff -r d13759d56870 -r 2eed906f43e9 GNUmakefile
--- a/GNUmakefile Thu Jan 14 13:27:38 2010 +0100
+++ b/GNUmakefile Mon Jan 18 10:34:46 2010 +0100
@@ -26,7 +26,7 @@
2626 TARFILE = $(distdir).tar.bz2
2727 DIST_ARCHIVES = $(TARFILE)
2828
29-LAST_RELEASE = Pacemaker-1.0.5
29+LAST_RELEASE = Pacemaker-1.0.7
3030 STABLE_SERIES = stable-1.0
3131
3232 RPM_ROOT = $(shell pwd)
@@ -47,7 +47,22 @@
4747 hg archive -t tbz2 $(TARFILE)
4848 echo `date`: Rebuilt $(TARFILE)
4949
50-srpm: export
50+pacemaker-fedora.spec: pacemaker.spec
51+ cp $(PACKAGE).spec $(PACKAGE)-$(DISTRO).spec
52+
53+pacemaker-suse.spec: pacemaker.spec
54+ cp $(PACKAGE).spec $@
55+ sed -i.sed s:corosynclib:libcorosync:g $@
56+ sed -i.sed s:pacemaker-libs:libpacemaker3:g $@
57+ sed -i.sed s:heartbeat-libs:libheaerbeat:g $@
58+ sed -i.sed s:cluster-glue-libs:libglue:g $@
59+ sed -i.sed s:libselinux-devel::g $@
60+ sed -i.sed s:lm_sensors-devel::g $@
61+ sed -i.sed s:Development/Libraries:Development/Libraries/C\ and\ C++:g $@
62+ sed -i.sed s:System\ Environment/Daemons:Productivity/Clustering/HA:g $@
63+ sed -i.sed s:bzip2-devel:libbz2-devel:g $@
64+
65+srpm: export $(PACKAGE)-$(DISTRO).spec
5166 rm -f *.src.rpm
5267 rpmbuild -bs --define "dist .$(DISTRO)" $(RPM_OPTS) $(PACKAGE)-$(DISTRO).spec
5368
diff -r d13759d56870 -r 2eed906f43e9 pacemaker-fedora.spec
--- a/pacemaker-fedora.spec Thu Jan 14 13:27:38 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,332 +0,0 @@
1-%global gname haclient
2-%global uname hacluster
3-%global with_ais_support 1
4-%global with_heartbeat_support 1
5-%global pcmk_docdir %{_docdir}/%{name}
6-
7-%global specversion 1
8-#global upstream_version ee19d8e83c2a
9-%global upstream_prefix pacemaker
10-
11-# Keep around for when/if required
12-#global alphatag %{upstream_version}.hg
13-
14-%global pcmk_release %{?alphatag:0.}%{specversion}%{?alphatag:.%{alphatag}}%{?dist}
15-
16-# When downloading directly from Mercurial, it will automatically add a prefix
17-# Invoking 'hg archive' wont but you can add one with:
18-# hg archive -t tgz -p "$upstream_prefix-$upstream_version" -r $upstream_version $upstream_version.tar.gz
19-
20-Name: pacemaker
21-Summary: Scalable High-Availability cluster resource manager
22-Version: 1.0.7
23-Release: %{pcmk_release}
24-License: GPLv2+ and LGPLv2+
25-Url: http://www.clusterlabs.org
26-Group: System Environment/Daemons
27-Source0: pacemaker.tar.bz2
28-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
29-AutoReqProv: on
30-Requires(pre): cluster-glue
31-Requires: resource-agents python
32-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
33-
34-%if 0%{?fedora} || 0%{?centos} > 4 || 0%{?rhel} > 4
35-BuildRequires: help2man libtool-ltdl-devel
36-%endif
37-
38-# Required for core functionality
39-BuildRequires: automake autoconf libtool pkgconfig
40-BuildRequires: glib2-devel cluster-glue-libs-devel libxml2-devel libxslt-devel
41-BuildRequires: pkgconfig python-devel gcc-c++ bzip2-devel gnutls-devel pam-devel
42-
43-# Enables optional functionality
44-BuildRequires: ncurses-devel net-snmp-devel openssl-devel
45-BuildRequires: libesmtp-devel lm_sensors-devel libselinux-devel
46-
47-%if %with_ais_support
48-BuildRequires: corosynclib-devel
49-Requires: corosync
50-%endif
51-%if %with_heartbeat_support
52-BuildRequires: heartbeat-devel heartbeat-libs
53-Requires: heartbeat >= 3.0.0
54-%endif
55-
56-%description
57-Pacemaker is an advanced, scalable High-Availability cluster resource
58-manager for Linux-HA (Heartbeat) and/or OpenAIS.
59-
60-It supports "n-node" clusters with significant capabilities for
61-managing resources and dependencies.
62-
63-It will run scripts at initialization, when machines go up or down,
64-when related resources fail and can be configured to periodically check
65-resource health.
66-
67-%package -n pacemaker-libs
68-License: GPLv2+ and LGPLv2+
69-Summary: Libraries used by the Pacemaker cluster resource manager and its clients
70-Group: System Environment/Daemons
71-Requires: %{name} = %{version}-%{release}
72-
73-%description -n pacemaker-libs
74-Pacemaker is an advanced, scalable High-Availability cluster resource
75-manager for Linux-HA (Heartbeat) and/or OpenAIS.
76-
77-It supports "n-node" clusters with significant capabilities for
78-managing resources and dependencies.
79-
80-It will run scripts at initialization, when machines go up or down,
81-when related resources fail and can be configured to periodically check
82-resource health.
83-
84-%package -n pacemaker-libs-devel
85-License: GPLv2+ and LGPLv2+
86-Summary: Pacemaker development package
87-Group: Development/Libraries
88-Requires: %{name}-libs = %{version}-%{release}
89-Requires: cluster-glue-libs-devel
90-Obsoletes: libpacemaker3
91-%if %with_ais_support
92-Requires: corosynclib-devel
93-%endif
94-%if %with_heartbeat_support
95-Requires: heartbeat-devel
96-%endif
97-
98-%description -n pacemaker-libs-devel
99-Headers and shared libraries for developing tools for Pacemaker.
100-
101-Pacemaker is an advanced, scalable High-Availability cluster resource
102-manager for Linux-HA (Heartbeat) and/or OpenAIS.
103-
104-It supports "n-node" clusters with significant capabilities for
105-managing resources and dependencies.
106-
107-It will run scripts at initialization, when machines go up or down,
108-when related resources fail and can be configured to periodically check
109-resource health.
110-
111-%prep
112-%setup -q -n %{upstream_prefix}%{?upstream_version}
113-
114-%build
115-./autogen.sh
116-
117-# RHEL <= 5 doesn't support --docdir
118-export docdir=%{pcmk_docdir}
119-%{configure} --localstatedir=%{_var} --enable-fatal-warnings=no
120-make %{_smp_mflags}
121-
122-%install
123-rm -rf %{buildroot}
124-make install DESTDIR=%{buildroot}
125-
126-# Scripts that need should be executable
127-chmod a+x %{buildroot}/%{_libdir}/heartbeat/hb2openais-helper.py
128-chmod a+x %{buildroot}/%{_datadir}/pacemaker/cts/CTSlab.py
129-chmod a+x %{buildroot}/%{_datadir}/pacemaker/cts/OCFIPraTest.py
130-chmod a+x %{buildroot}/%{_datadir}/pacemaker/cts/extracttests.py
131-
132-# These are not actually scripts
133-find %{buildroot} -name '*.xml' -type f -print0 | xargs -0 chmod a-x
134-find %{buildroot} -name '*.xsl' -type f -print0 | xargs -0 chmod a-x
135-find %{buildroot} -name '*.rng' -type f -print0 | xargs -0 chmod a-x
136-find %{buildroot} -name '*.dtd' -type f -print0 | xargs -0 chmod a-x
137-
138-# Dont package static libs or compiled python
139-find %{buildroot} -name '*.a' -type f -print0 | xargs -0 rm -f
140-find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
141-find %{buildroot} -name '*.pyc' -type f -print0 | xargs -0 rm -f
142-find %{buildroot} -name '*.pyo' -type f -print0 | xargs -0 rm -f
143-
144-# Don't package these either
145-rm %{buildroot}/%{_libdir}/heartbeat/crm_primitive.py
146-rm %{buildroot}/%{_libdir}/service_crm.so
147-
148-%clean
149-rm -rf %{buildroot}
150-
151-%post -n pacemaker-libs -p /sbin/ldconfig
152-
153-%postun -n pacemaker-libs -p /sbin/ldconfig
154-
155-%files
156-###########################################################
157-%defattr(-,root,root)
158-
159-%{_datadir}/pacemaker
160-%{_datadir}/snmp/mibs/PCMK-MIB.txt
161-%{_libdir}/heartbeat/*
162-%{_sbindir}/cibadmin
163-%{_sbindir}/crm_attribute
164-%{_sbindir}/crm_diff
165-%{_sbindir}/crm_failcount
166-%{_sbindir}/crm_master
167-%{_sbindir}/crm_mon
168-%{_sbindir}/crm
169-%{_sbindir}/crm_resource
170-%{_sbindir}/crm_standby
171-%{_sbindir}/crm_verify
172-%{_sbindir}/crmadmin
173-%{_sbindir}/iso8601
174-%{_sbindir}/attrd_updater
175-%{_sbindir}/ptest
176-%{_sbindir}/crm_shadow
177-%{_sbindir}/cibpipe
178-%{_sbindir}/crm_node
179-
180-%if %with_heartbeat_support
181-%{_sbindir}/crm_uuid
182-%else
183-%exclude %{_sbindir}/crm_uuid
184-%endif
185-
186-# Packaged elsewhere
187-%exclude %{pcmk_docdir}/AUTHORS
188-%exclude %{pcmk_docdir}/COPYING
189-%exclude %{pcmk_docdir}/COPYING.LIB
190-
191-%exclude %{pcmk_docdir}/index.html
192-%doc %{pcmk_docdir}/crm_cli.txt
193-%doc %{pcmk_docdir}/crm_fencing.txt
194-%doc %{pcmk_docdir}/README.hb2openais
195-%doc %{_mandir}/man8/*.8*
196-%doc COPYING
197-%doc AUTHORS
198-
199-%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/heartbeat/crm
200-%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pengine
201-%dir %attr (750, %{uname}, %{gname}) %{_var}/run/crm
202-%dir /usr/lib/ocf
203-%dir /usr/lib/ocf/resource.d
204-/usr/lib/ocf/resource.d/pacemaker
205-%if %with_ais_support
206-%{_libexecdir}/lcrso/pacemaker.lcrso
207-%endif
208-
209-%files -n pacemaker-libs
210-%defattr(-,root,root)
211-%{_libdir}/libcib.so.*
212-%{_libdir}/libcrmcommon.so.*
213-%{_libdir}/libcrmcluster.so.*
214-%{_libdir}/libpe_status.so.*
215-%{_libdir}/libpe_rules.so.*
216-%{_libdir}/libpengine.so.*
217-%{_libdir}/libtransitioner.so.*
218-%{_libdir}/libstonithd.so.*
219-%doc COPYING.LIB
220-%doc AUTHORS
221-
222-%files -n pacemaker-libs-devel
223-%defattr(-,root,root)
224-%{_includedir}/pacemaker
225-%{_includedir}/heartbeat/fencing
226-%{_libdir}/*.so
227-%doc COPYING.LIB
228-%doc AUTHORS
229-
230-%changelog
231-* Thu Oct 29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-4
232-- Include the fixes from CoroSync integration testing
233-- Move the resource templates - they're not documentation
234-- Ensure documentation is placed in a standard location
235-- Exclude documentation that is included elsewhere in the package
236-
237-- Update the tarball from upstream to version ee19d8e83c2a
238- + High: cib: Correctly clean up when both plaintext and tls remote ports are requested
239- + High: PE: Bug bnc#515172 - Provide better defaults for lt(e) and gt(e) comparisions
240- + High: PE: Bug lf#2197 - Allow master instances placemaker to be influenced by colocation constraints
241- + High: PE: Make sure promote/demote pseudo actions are created correctly
242- + High: PE: Prevent target-role from promoting more than master-max instances
243- + High: ais: Bug lf#2199 - Prevent expected-quorum-votes from being populated with garbage
244- + High: ais: Prevent deadlock - dont try to release IPC message if the connection failed
245- + High: cib: For validation errors, send back the full CIB so the client can display the errors
246- + High: cib: Prevent use-after-free for remote plaintext connections
247- + High: crmd: Bug lf#2201 - Prevent use-of-NULL when running heartbeat
248-
249-* Wed Oct 13 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-3
250-- Update the tarball from upstream to version 38cd629e5c3c
251- + High: Core: Bug lf#2169 - Allow dtd/schema validation to be disabled
252- + High: PE: Bug lf#2106 - Not all anonymous clone children are restarted after configuration change
253- + High: PE: Bug lf#2170 - stop-all-resources option had no effect
254- + High: PE: Bug lf#2171 - Prevent groups from starting if they depend on a complex resource which can't
255- + High: PE: Disable resource management if stonith-enabled=true and no stonith resources are defined
256- + High: PE: Don't include master score if it would prevent allocation
257- + High: ais: Avoid excessive load by checking for dead children every 1s (instead of 100ms)
258- + High: ais: Bug rh#525589 - Prevent shutdown deadlocks when running on CoroSync
259- + High: ais: Gracefully handle changes to the AIS nodeid
260- + High: crmd: Bug bnc#527530 - Wait for the transition to complete before leaving S_TRANSITION_ENGINE
261- + High: crmd: Prevent use-after-free with LOG_DEBUG_3
262- + Medium: xml: Mask the "symmetrical" attribute on rsc_colocation constraints (bnc#540672)
263- + Medium (bnc#520707): Tools: crm: new templates ocfs2 and clvm
264- + Medium: Build: Invert the disable ais/heartbeat logic so that --without (ais|heartbeat) is available to rpmbuild
265- + Medium: PE: Bug lf#2178 - Indicate unmanaged clones
266- + Medium: PE: Bug lf#2180 - Include node information for all failed ops
267- + Medium: PE: Bug lf#2189 - Incorrect error message when unpacking simple ordering constraint
268- + Medium: PE: Correctly log resources that would like to start but can't
269- + Medium: PE: Stop ptest from logging to syslog
270- + Medium: ais: Include version details in plugin name
271- + Medium: crmd: Requery the resource metadata after every start operation
272-
273-* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0.5-2.1
274-- rebuilt with new openssl
275-
276-* Wed Aug 19 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-2
277-- Add versioned perl dependancy as specified by
278- https://fedoraproject.org/wiki/Packaging/Perl#Packages_that_link_to_libperl
279-- No longer remove RPATH data, it prevents us finding libperl.so and no other
280- libraries were being hardcoded
281-- Compile in support for heartbeat
282-- Conditionally add heartbeat-devel and corosynclib-devel to the -devel requirements
283- depending on which stacks are supported
284-
285-* Mon Aug 17 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-1
286-- Add dependancy on resource-agents
287-- Use the version of the configure macro that supplies --prefix, --libdir, etc
288-- Update the tarball from upstream to version 462f1569a437 (Pacemaker 1.0.5 final)
289- + High: Tools: crm_resource - Advertise --move instead of --migrate
290- + Medium: Extra: New node connectivity RA that uses system ping and attrd_updater
291- + Medium: crmd: Note that dc-deadtime can be used to mask the brokeness of some switches
292-
293-* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.0.5-0.7.c9120a53a6ae.hg
294-- Use bzipped upstream tarball.
295-
296-* Wed Jul 29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.6.c9120a53a6ae.hg
297-- Add back missing build auto* dependancies
298-- Minor cleanups to the install directive
299-
300-* Tue Jul 28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.5.c9120a53a6ae.hg
301-- Add a leading zero to the revision when alphatag is used
302-
303-* Tue Jul 28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.4.c9120a53a6ae.hg
304-- Incorporate the feedback from the cluster-glue review
305-- Realistically, the version is a 1.0.5 pre-release
306-- Use the global directive instead of define for variables
307-- Use the haclient/hacluster group/user instead of daemon
308-- Use the _configure macro
309-- Fix install dependancies
310-
311-* Fri Jul 24 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-3
312-- Include an AUTHORS and license file in each package
313-- Change the library package name to pacemaker-libs to be more
314- Fedora compliant
315-- Remove execute permissions from xml related files
316-- Reference the new cluster-glue devel package name
317-- Update the tarball from upstream to version c9120a53a6ae
318- + High: PE: Only prevent migration if the clone dependancy is stopping/starting on the target node
319- + High: PE: Bug 2160 - Dont shuffle clones due to colocation
320- + High: PE: New implementation of the resource migration (not stop/start) logic
321- + Medium: Tools: crm_resource - Prevent use-of-NULL by requiring a resource name for the -A and -a options
322- + Medium: PE: Prevent use-of-NULL in find_first_action()
323- + Low: Build: Include licensing files
324-
325-* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-2
326-- Reference authors from the project AUTHORS file instead of listing in description
327-- Change Source0 to reference the project's Mercurial repo
328-- Cleaned up the summaries and descriptions
329-- Incorporate the results of Fedora package self-review
330-
331-* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-1
332-- Initial checkin
diff -r d13759d56870 -r 2eed906f43e9 pacemaker-suse.spec
--- a/pacemaker-suse.spec Thu Jan 14 13:27:38 2010 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,231 +0,0 @@
1-#
2-# spec file for package pacemaker (Version 1.0.2)
3-#
4-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
5-#
6-# All modifications and additions to the file contributed by third parties
7-# remain the property of their copyright owners, unless otherwise agreed
8-# upon. The license for this file, and modifications and additions to the
9-# file, is the same license as for the pristine package itself (unless the
10-# license for the pristine package is not an Open Source License, in which
11-# case the license is the MIT License). An "Open Source License" is a
12-# license that conforms to the Open Source Definition (Version 1.9)
13-# published by the Open Source Initiative.
14-
15-# Please submit bugfixes or comments via http://bugs.opensuse.org/
16-#
17-
18-# norootforbuild
19-#global _without_ais 1
20-#global _without_heartbeat 1
21-%global pcmk_docdir %{_docdir}/%{name}
22-
23-Name: pacemaker
24-Summary: The Pacemaker scalable High-Availability cluster resource manager
25-Version: 1.0.7
26-Release: 1%{?dist}
27-License: GPL v2 or later; LGPL v2.1 or later
28-Url: http://www.clusterlabs.org
29-Group: Productivity/Clustering/HA
30-Source: pacemaker.tar.bz2
31-BuildRoot: %{_tmppath}/%{name}-%{version}-build
32-AutoReqProv: on
33-Conflicts: heartbeat < 2.99
34-Requires(pre): cluster-glue
35-Requires: libpacemaker3 = %{version}-%{release}
36-Requires: resource-agents python
37-
38-BuildRequires: e2fsprogs-devel glib2-devel libglue-devel libxml2-devel libxslt-devel pkgconfig python-devel
39-BuildRequires: gnutls-devel ncurses-devel net-snmp-devel pam-devel openssl-devel
40-
41-# SLES10 doesn't pull in tcpd-devel with net-snmp-devel
42-BuildRequires: libbz2-devel help2man tcpd-devel
43-
44-%if !0%{?_without_ais}
45-BuildRequires: libcorosync-devel
46-%endif
47-
48-%if !0%{?_without_heartbeat}
49-BuildRequires: heartbeat-devel
50-%endif
51-
52-%define _libexecdir %{_libdir}
53-
54-%if 0%{?suse_version} > 1999
55-BuildRequires: libesmtp-devel
56-%endif
57-
58-%description
59-Pacemaker is an advanced, scalable High-Availability cluster resource
60-manager for Linux-HA (Heartbeat) and/or OpenAIS.
61-
62-It supports "n-node" clusters with significant capabilities for
63-managing resources and dependencies.
64-
65-It will run scripts at initialization, when machines go up or down,
66-when related resources fail and can be configured to periodically check
67-resource health.
68-
69-Available rpmbuild rebuild options:
70- --without : heartbeat ais
71-
72-%package -n libpacemaker3
73-License: GPL v2 or later; LGPL v2.1 or later
74-Summary: The Pacemaker scalable High-Availability cluster resource manager
75-Group: Productivity/Clustering/HA
76-
77-%description -n libpacemaker3
78-Pacemaker is an advanced, scalable High-Availability cluster resource
79-manager for Linux-HA (Heartbeat) and/or OpenAIS.
80-
81-It supports "n-node" clusters with significant capabilities for
82-managing resources and dependencies.
83-
84-It will run scripts at initialization, when machines go up or down,
85-when related resources fail and can be configured to periodically check
86-resource health.
87-
88-%package -n libpacemaker-devel
89-License: GPL v2 only; GPL v2 or later; LGPL v2.1 or later
90-Summary: The Pacemaker scalable High-Availability cluster resource manager
91-Group: Development/Libraries/C and C++
92-Requires: %{name} = %{version}-%{release}
93-Requires: libpacemaker3 = %{version}-%{release}
94-Requires: libheartbeat-devel
95-
96-%description -n libpacemaker-devel
97-Headers and shared libraries for developing tools for Pacemaker.
98-
99-Pacemaker is an advanced, scalable High-Availability cluster resource
100-manager for Linux-HA (Heartbeat) and/or OpenAIS.
101-
102-It supports "n-node" clusters with significant capabilities for
103-managing resources and dependencies.
104-
105-It will run scripts at initialization, when machines go up or down,
106-when related resources fail and can be configured to periodically check
107-resource health.
108-
109-%prep
110-###########################################################
111-%setup -n pacemaker -q
112-###########################################################
113-
114-%build
115-CFLAGS="${CFLAGS} ${RPM_OPT_FLAGS}"
116-export CFLAGS
117-
118-# Distribution specific settings:
119-%if 0%{?suse_version} < 1001
120-export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/gnome/%{_lib}/pkgconfig:/opt/gnome/share/pkgconfig"
121-%endif
122-./autogen.sh
123-%{configure} --localstatedir=%{_var} \
124- --with-ais-prefix=%{_prefix} \
125- %{?_without_heartbeat} \
126- %{?_without_ais} \
127- --docdir=%{pcmk_docdir} \
128- --enable-fatal-warnings=no
129-export MAKE="make %{?jobs:-j%jobs}"
130-make %{?jobs:-j%jobs}
131-###########################################################
132-
133-%install
134-###########################################################
135-make DESTDIR=$RPM_BUILD_ROOT install
136-chmod a+x $RPM_BUILD_ROOT/%{_libdir}/heartbeat/crm_primitive.py
137-chmod a+x $RPM_BUILD_ROOT/%{_libdir}/heartbeat/hb2openais-helper.py
138-rm $RPM_BUILD_ROOT/%{_libdir}/service_crm.so
139-# Dont package static libs or compiled python
140-find $RPM_BUILD_ROOT -name '*.a' -type f -print0 | xargs -0 rm -f
141-find $RPM_BUILD_ROOT -name '*.la' -type f -print0 | xargs -0 rm -f
142-find $RPM_BUILD_ROOT -name '*.pyc' -type f -print0 | xargs -0 rm -f
143-find $RPM_BUILD_ROOT -name '*.pyo' -type f -print0 | xargs -0 rm -f
144-###########################################################
145-
146-%clean
147-###########################################################
148-if
149- [ -n "${RPM_BUILD_ROOT}" -a "${RPM_BUILD_ROOT}" != "/" ]
150-then
151- rm -rf $RPM_BUILD_ROOT
152-fi
153-rm -rf $RPM_BUILD_DIR/pacemaker
154-###########################################################
155-
156-%post -n libpacemaker3 -p /sbin/ldconfig
157-
158-%postun -n libpacemaker3 -p /sbin/ldconfig
159-
160-%files
161-###########################################################
162-%defattr(-,root,root)
163-%dir %{_libdir}/heartbeat
164-%dir %{_var}/lib/heartbeat
165-%dir %{pcmk_docdir}
166-%{_datadir}/pacemaker
167-%{_datadir}/snmp/mibs/PCMK-MIB.txt
168-%{_libdir}/heartbeat/*
169-%{_sbindir}/cibadmin
170-%{_sbindir}/crm_attribute
171-%{_sbindir}/crm_diff
172-%{_sbindir}/crm_failcount
173-%{_sbindir}/crm_master
174-%{_sbindir}/crm_mon
175-%{_sbindir}/crm
176-%{_sbindir}/crm_resource
177-%{_sbindir}/crm_standby
178-%{_sbindir}/crm_verify
179-%{_sbindir}/crmadmin
180-%{_sbindir}/iso8601
181-%{_sbindir}/attrd_updater
182-%{_sbindir}/ptest
183-%{_sbindir}/crm_shadow
184-%{_sbindir}/cibpipe
185-%{_sbindir}/crm_node
186-
187-%if !0%{?_without_heartbeat}
188-%{_sbindir}/crm_uuid
189-%else
190-%exclude %{_sbindir}/crm_uuid
191-%endif
192-
193-# Packaged elsewhere
194-%exclude %{pcmk_docdir}/AUTHORS
195-%exclude %{pcmk_docdir}/COPYING
196-%exclude %{pcmk_docdir}/COPYING.LIB
197-
198-%doc %{pcmk_docdir}/README.hb2openais
199-%doc %{pcmk_docdir}/crm_cli.txt
200-%doc %{pcmk_docdir}/crm_fencing.txt
201-%doc %{pcmk_docdir}/*.html
202-%doc %{_mandir}/man8/*.8*
203-
204-%dir %attr (750, hacluster, haclient) %{_var}/lib/heartbeat/crm
205-%dir %attr (750, hacluster, haclient) %{_var}/lib/pengine
206-%dir %attr (750, hacluster, haclient) %{_var}/run/crm
207-%dir /usr/lib/ocf
208-%dir /usr/lib/ocf/resource.d
209-/usr/lib/ocf/resource.d/pacemaker
210-%if !0%{?_without_ais}
211-%{_libexecdir}/lcrso/pacemaker.lcrso
212-%endif
213-
214-%files -n libpacemaker3
215-%defattr(-,root,root)
216-%{_libdir}/libcib.so.*
217-%{_libdir}/libcrmcommon.so.*
218-%{_libdir}/libcrmcluster.so.*
219-%{_libdir}/libpe_status.so.*
220-%{_libdir}/libpe_rules.so.*
221-%{_libdir}/libpengine.so.*
222-%{_libdir}/libtransitioner.so.*
223-%{_libdir}/libstonithd.so.*
224-
225-%files -n libpacemaker-devel
226-%defattr(-,root,root)
227-%{_includedir}/pacemaker
228-%{_includedir}/heartbeat/fencing
229-%{_libdir}/*.so
230-
231-%changelog
diff -r d13759d56870 -r 2eed906f43e9 pacemaker.spec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pacemaker.spec Mon Jan 18 10:34:46 2010 +0100
@@ -0,0 +1,1259 @@
1+%global gname haclient
2+%global uname hacluster
3+%global with_ais_support 1
4+%global with_heartbeat_support 1
5+%global pcmk_docdir %{_docdir}/%{name}
6+
7+%global specversion 1
8+#global upstream_version ee19d8e83c2a
9+%global upstream_prefix pacemaker
10+
11+# Keep around for when/if required
12+#global alphatag %{upstream_version}.hg
13+
14+%global pcmk_release %{?alphatag:0.}%{specversion}%{?alphatag:.%{alphatag}}%{?dist}
15+
16+Name: pacemaker
17+Summary: Scalable High-Availability cluster resource manager
18+Version: 1.0.7
19+Release: %{pcmk_release}
20+License: GPLv2+ and LGPLv2+
21+Url: http://www.clusterlabs.org
22+Group: System Environment/Daemons
23+Source0: pacemaker.tar.bz2
24+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
25+AutoReqProv: on
26+Requires(pre): cluster-glue
27+Requires: resource-agents python
28+Conflicts: heartbeat < 2.99
29+
30+%if 0%{?fedora} || 0%{?centos} > 4 || 0%{?rhel} > 4
31+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
32+BuildRequires: help2man libtool-ltdl-devel
33+%endif
34+
35+%if 0%{?suse_version}
36+# net-snmp-devel on SLES10 does not suck in tcpd-devel automatically
37+BuildRequires: help2man tcpd-devel
38+%endif
39+
40+# Required for core functionality
41+BuildRequires: automake autoconf libtool pkgconfig
42+BuildRequires: glib2-devel cluster-glue-libs-devel libxml2-devel libxslt-devel
43+BuildRequires: pkgconfig python-devel gcc-c++ bzip2-devel gnutls-devel pam-devel
44+
45+# Enables optional functionality
46+BuildRequires: ncurses-devel net-snmp-devel openssl-devel
47+BuildRequires: libesmtp-devel lm_sensors-devel libselinux-devel
48+
49+%if %with_ais_support
50+BuildRequires: corosynclib-devel
51+Requires: corosync
52+%endif
53+
54+%if %with_heartbeat_support
55+BuildRequires: heartbeat-devel heartbeat-libs
56+Requires: heartbeat >= 3.0.0
57+%endif
58+
59+%description
60+Pacemaker is an advanced, scalable High-Availability cluster resource
61+manager for Linux-HA (Heartbeat) and/or OpenAIS.
62+
63+It supports "n-node" clusters with significant capabilities for
64+managing resources and dependencies.
65+
66+It will run scripts at initialization, when machines go up or down,
67+when related resources fail and can be configured to periodically check
68+resource health.
69+
70+Available rpmbuild rebuild options:
71+ --without : heartbeat ais
72+
73+%package -n pacemaker-libs
74+License: GPLv2+ and LGPLv2+
75+Summary: Libraries used by the Pacemaker cluster resource manager and its clients
76+Group: System Environment/Daemons
77+Requires: %{name} = %{version}-%{release}
78+
79+%description -n pacemaker-libs
80+Pacemaker is an advanced, scalable High-Availability cluster resource
81+manager for Linux-HA (Heartbeat) and/or OpenAIS.
82+
83+It supports "n-node" clusters with significant capabilities for
84+managing resources and dependencies.
85+
86+It will run scripts at initialization, when machines go up or down,
87+when related resources fail and can be configured to periodically check
88+resource health.
89+
90+%package -n pacemaker-libs-devel
91+License: GPLv2+ and LGPLv2+
92+Summary: Pacemaker development package
93+Group: Development/Libraries
94+Requires: %{name}-libs = %{version}-%{release}
95+Requires: cluster-glue-libs-devel
96+Obsoletes: libpacemaker3
97+%if %with_ais_support
98+Requires: corosynclib-devel
99+%endif
100+%if %with_heartbeat_support
101+Requires: heartbeat-devel
102+%endif
103+
104+%description -n pacemaker-libs-devel
105+Headers and shared libraries for developing tools for Pacemaker.
106+
107+Pacemaker is an advanced, scalable High-Availability cluster resource
108+manager for Linux-HA (Heartbeat) and/or OpenAIS.
109+
110+It supports "n-node" clusters with significant capabilities for
111+managing resources and dependencies.
112+
113+It will run scripts at initialization, when machines go up or down,
114+when related resources fail and can be configured to periodically check
115+resource health.
116+
117+%prep
118+%setup -q -n %{upstream_prefix}%{?upstream_version}
119+
120+%build
121+./autogen.sh
122+
123+# RHEL <= 5 does not support --docdir
124+export docdir=%{pcmk_docdir}
125+%{configure} --localstatedir=%{_var} --enable-fatal-warnings=no
126+make %{_smp_mflags}
127+
128+%install
129+rm -rf %{buildroot}
130+make install DESTDIR=%{buildroot}
131+
132+# Scripts that need should be executable
133+chmod a+x %{buildroot}/%{_libdir}/heartbeat/hb2openais-helper.py
134+chmod a+x %{buildroot}/%{_datadir}/pacemaker/cts/CTSlab.py
135+chmod a+x %{buildroot}/%{_datadir}/pacemaker/cts/OCFIPraTest.py
136+chmod a+x %{buildroot}/%{_datadir}/pacemaker/cts/extracttests.py
137+
138+# These are not actually scripts
139+find %{buildroot} -name '*.xml' -type f -print0 | xargs -0 chmod a-x
140+find %{buildroot} -name '*.xsl' -type f -print0 | xargs -0 chmod a-x
141+find %{buildroot} -name '*.rng' -type f -print0 | xargs -0 chmod a-x
142+find %{buildroot} -name '*.dtd' -type f -print0 | xargs -0 chmod a-x
143+
144+# Dont package static libs or compiled python
145+find %{buildroot} -name '*.a' -type f -print0 | xargs -0 rm -f
146+find %{buildroot} -name '*.la' -type f -print0 | xargs -0 rm -f
147+find %{buildroot} -name '*.pyc' -type f -print0 | xargs -0 rm -f
148+find %{buildroot} -name '*.pyo' -type f -print0 | xargs -0 rm -f
149+
150+# Do not package these either
151+rm %{buildroot}/%{_libdir}/heartbeat/crm_primitive.py
152+rm %{buildroot}/%{_libdir}/service_crm.so
153+
154+%clean
155+rm -rf %{buildroot}
156+
157+%post -n pacemaker-libs -p /sbin/ldconfig
158+
159+%postun -n pacemaker-libs -p /sbin/ldconfig
160+
161+%files
162+###########################################################
163+%defattr(-,root,root)
164+
165+%{_datadir}/pacemaker
166+%{_datadir}/snmp/mibs/PCMK-MIB.txt
167+%{_libdir}/heartbeat/*
168+%{_sbindir}/cibadmin
169+%{_sbindir}/crm_attribute
170+%{_sbindir}/crm_diff
171+%{_sbindir}/crm_failcount
172+%{_sbindir}/crm_master
173+%{_sbindir}/crm_mon
174+%{_sbindir}/crm
175+%{_sbindir}/crm_resource
176+%{_sbindir}/crm_standby
177+%{_sbindir}/crm_verify
178+%{_sbindir}/crmadmin
179+%{_sbindir}/iso8601
180+%{_sbindir}/attrd_updater
181+%{_sbindir}/ptest
182+%{_sbindir}/crm_shadow
183+%{_sbindir}/cibpipe
184+%{_sbindir}/crm_node
185+
186+%if %with_heartbeat_support
187+%{_sbindir}/crm_uuid
188+%else
189+%exclude %{_sbindir}/crm_uuid
190+%endif
191+
192+# Packaged elsewhere
193+%exclude %{pcmk_docdir}/AUTHORS
194+%exclude %{pcmk_docdir}/COPYING
195+%exclude %{pcmk_docdir}/COPYING.LIB
196+
197+%exclude %{pcmk_docdir}/index.html
198+%doc %{pcmk_docdir}/crm_cli.txt
199+%doc %{pcmk_docdir}/crm_fencing.txt
200+%doc %{pcmk_docdir}/README.hb2openais
201+%doc %{_mandir}/man8/*.8*
202+%doc COPYING
203+%doc AUTHORS
204+
205+%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/heartbeat/crm
206+%dir %attr (750, %{uname}, %{gname}) %{_var}/lib/pengine
207+%dir %attr (750, %{uname}, %{gname}) %{_var}/run/crm
208+%dir /usr/lib/ocf
209+%dir /usr/lib/ocf/resource.d
210+/usr/lib/ocf/resource.d/pacemaker
211+%if %with_ais_support
212+%{_libexecdir}/lcrso/pacemaker.lcrso
213+%endif
214+
215+%files -n pacemaker-libs
216+%defattr(-,root,root)
217+%{_libdir}/libcib.so.*
218+%{_libdir}/libcrmcommon.so.*
219+%{_libdir}/libcrmcluster.so.*
220+%{_libdir}/libpe_status.so.*
221+%{_libdir}/libpe_rules.so.*
222+%{_libdir}/libpengine.so.*
223+%{_libdir}/libtransitioner.so.*
224+%{_libdir}/libstonithd.so.*
225+%doc COPYING.LIB
226+%doc AUTHORS
227+
228+%files -n pacemaker-libs-devel
229+%defattr(-,root,root)
230+%{_includedir}/pacemaker
231+%{_includedir}/heartbeat/fencing
232+%{_libdir}/*.so
233+%doc COPYING.LIB
234+%doc AUTHORS
235+
236+%changelog
237+* Mon Jan 18 2010 Andrew Beekhof <andrew@beekhof.net> - 1.0.7-1
238+- Update source tarball to revision: 2c28c33aa2ee (stable-1.0) tip
239+- Statistics:
240+ Changesets: 193
241+ Diff: 220 files changed, 15933 insertions(+), 8782 deletions(-)
242+- Changes since 1.0.5-4
243+ + High: PE: Bug 2213 - Ensure groups process location constraints so that clone-node-max works for cloned groups
244+ + High: PE: Bug lf#2153 - non-clones should not restart when clones stop/start on other nodes
245+ + High: PE: Bug lf#2209 - Clone ordering should be able to prevent startup of dependant clones
246+ + High: PE: Bug lf#2216 - Correctly identify the state of anonymous clones when deciding when to probe
247+ + High: PE: Bug lf#2225 - Operations that require fencing should wait for 'stonith_complete' not 'all_stopped'.
248+ + High: PE: Bug lf#2225 - Prevent clone peers from stopping while another is instance is (potentially) being fenced
249+ + High: PE: Correctly anti-colocate with a group
250+ + High: PE: Correctly unpack ordering constraints for resource sets to avoid graph loops
251+ + High: Tools: crm: load help from crm_cli.txt
252+ + High: Tools: crm: resource sets (bnc#550923)
253+ + High: Tools: crm: support for comments (LF 2221)
254+ + High: Tools: crm: support for description attribute in resources/operations (bnc#548690)
255+ + High: Tools: hb2openais: add EVMS2 CSM processing (and other changes) (bnc#548093)
256+ + High: Tools: hb2openais: do not allow empty rules, clones, or groups (LF 2215)
257+ + High: Tools: hb2openais: refuse to convert pure EVMS volumes
258+ + High: cib: Ensure the loop for login message terminates
259+ + High: cib: Finally fix reliability of receiving large messages over remote plaintext connections
260+ + High: cib: Fix remote notifications
261+ + High: cib: For remote connections, default to CRM_DAEMON_USER since thats the only one that the cib can validate the password for using PAM
262+ + High: cib: Remote plaintext - Retry sending parts of the message that did not fit the first time
263+ + High: crmd: Ensure batch-limit is correctly enforced
264+ + High: crmd: Ensure we have the latest status after a transition abort
265+ + High (bnc#547579,547582): Tools: crm: status section editing support
266+ + High: shell: Add allow-migrate as allowed meta-attribute (bnc#539968)
267+ + Medium: Build: Do not automatically add -L/lib, it could cause 64-bit arches to break
268+ + Medium: PE: Bug lf#2206 - rsc_order constraints always use score at the top level
269+ + Medium: PE: Only complain about target-role=master for non m/s resources
270+ + Medium: PE: Prevent non-multistate resources from being promoted through target-role
271+ + Medium: PE: Provide a default action for resource-set ordering
272+ + Medium: PE: Silently fix requires=fencing for stonith resources so that it can be set in op_defaults
273+ + Medium: Tools: Bug lf#2286 - Allow the shell to accept template parameters on the command line
274+ + Medium: Tools: Bug lf#2307 - Provide a way to determin the nodeid of past cluster members
275+ + Medium: Tools: crm: add update method to template apply (LF 2289)
276+ + Medium: Tools: crm: direct RA interface for ocf class resource agents (LF 2270)
277+ + Medium: Tools: crm: direct RA interface for stonith class resource agents (LF 2270)
278+ + Medium: Tools: crm: do not add score which does not exist
279+ + Medium: Tools: crm: do not consider warnings as errors (LF 2274)
280+ + Medium: Tools: crm: do not remove sets which contain id-ref attribute (LF 2304)
281+ + Medium: Tools: crm: drop empty attributes elements
282+ + Medium: Tools: crm: exclude locations when testing for pathological constraints (LF 2300)
283+ + Medium: Tools: crm: fix exit code on single shot commands
284+ + Medium: Tools: crm: fix node delete (LF 2305)
285+ + Medium: Tools: crm: implement -F (--force) option
286+ + Medium: Tools: crm: rename status to cibstatus (LF 2236)
287+ + Medium: Tools: crm: revisit configure commit
288+ + Medium: Tools: crm: stay in crm if user specified level only (LF 2286)
289+ + Medium: Tools: crm: verify changes on exit from the configure level
290+ + Medium: ais: Some clients such as gfs_controld want a cluster name, allow one to be specified in corosync.conf
291+ + Medium: cib: Clean up logic for receiving remote messages
292+ + Medium: cib: Create valid notification control messages
293+ + Medium: cib: Indicate where the remote connection came from
294+ + Medium: cib: Send password prompt to stderr so that stdout can be redirected
295+ + Medium: cts: Fix rsh handling when stdout is not required
296+ + Medium: doc: Fill in the section on removing a node from an AIS-based cluster
297+ + Medium: doc: Update the docs to reflect the 0.6/1.0 rolling upgrade problem
298+ + Medium: doc: Use Publican for docbook based documentation
299+ + Medium: fencing: stonithd: add metadata for stonithd instance attributes (and support in the shell)
300+ + Medium: fencing: stonithd: ignore case when comparing host names (LF 2292)
301+ + Medium: tools: Make crm_mon functional with remote connections
302+ + Medium: xml: Add stopped as a supported role for operations
303+ + Medium: xml: Bug bnc#552713 - Treat node unames as text fields not IDs
304+ + Medium: xml: Bug lf#2215 - Create an always-true expression for empty rules when upgrading from 0.6
305+
306+* Thu Oct 29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-4
307+- Include the fixes from CoroSync integration testing
308+- Move the resource templates - they are not documentation
309+- Ensure documentation is placed in a standard location
310+- Exclude documentation that is included elsewhere in the package
311+
312+- Update the tarball from upstream to version ee19d8e83c2a
313+ + High: cib: Correctly clean up when both plaintext and tls remote ports are requested
314+ + High: PE: Bug bnc#515172 - Provide better defaults for lt(e) and gt(e) comparisions
315+ + High: PE: Bug lf#2197 - Allow master instances placemaker to be influenced by colocation constraints
316+ + High: PE: Make sure promote/demote pseudo actions are created correctly
317+ + High: PE: Prevent target-role from promoting more than master-max instances
318+ + High: ais: Bug lf#2199 - Prevent expected-quorum-votes from being populated with garbage
319+ + High: ais: Prevent deadlock - dont try to release IPC message if the connection failed
320+ + High: cib: For validation errors, send back the full CIB so the client can display the errors
321+ + High: cib: Prevent use-after-free for remote plaintext connections
322+ + High: crmd: Bug lf#2201 - Prevent use-of-NULL when running heartbeat
323+
324+* Wed Oct 13 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-3
325+- Update the tarball from upstream to version 38cd629e5c3c
326+ + High: Core: Bug lf#2169 - Allow dtd/schema validation to be disabled
327+ + High: PE: Bug lf#2106 - Not all anonymous clone children are restarted after configuration change
328+ + High: PE: Bug lf#2170 - stop-all-resources option had no effect
329+ + High: PE: Bug lf#2171 - Prevent groups from starting if they depend on a complex resource which can not
330+ + High: PE: Disable resource management if stonith-enabled=true and no stonith resources are defined
331+ + High: PE: do not include master score if it would prevent allocation
332+ + High: ais: Avoid excessive load by checking for dead children every 1s (instead of 100ms)
333+ + High: ais: Bug rh#525589 - Prevent shutdown deadlocks when running on CoroSync
334+ + High: ais: Gracefully handle changes to the AIS nodeid
335+ + High: crmd: Bug bnc#527530 - Wait for the transition to complete before leaving S_TRANSITION_ENGINE
336+ + High: crmd: Prevent use-after-free with LOG_DEBUG_3
337+ + Medium: xml: Mask the "symmetrical" attribute on rsc_colocation constraints (bnc#540672)
338+ + Medium (bnc#520707): Tools: crm: new templates ocfs2 and clvm
339+ + Medium: Build: Invert the disable ais/heartbeat logic so that --without (ais|heartbeat) is available to rpmbuild
340+ + Medium: PE: Bug lf#2178 - Indicate unmanaged clones
341+ + Medium: PE: Bug lf#2180 - Include node information for all failed ops
342+ + Medium: PE: Bug lf#2189 - Incorrect error message when unpacking simple ordering constraint
343+ + Medium: PE: Correctly log resources that would like to start but can not
344+ + Medium: PE: Stop ptest from logging to syslog
345+ + Medium: ais: Include version details in plugin name
346+ + Medium: crmd: Requery the resource metadata after every start operation
347+
348+* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.0.5-2.1
349+- rebuilt with new openssl
350+
351+* Wed Aug 19 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-2
352+- Add versioned perl dependancy as specified by
353+ https://fedoraproject.org/wiki/Packaging/Perl#Packages_that_link_to_libperl
354+- No longer remove RPATH data, it prevents us finding libperl.so and no other
355+ libraries were being hardcoded
356+- Compile in support for heartbeat
357+- Conditionally add heartbeat-devel and corosynclib-devel to the -devel requirements
358+ depending on which stacks are supported
359+
360+* Mon Aug 17 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-1
361+- Add dependancy on resource-agents
362+- Use the version of the configure macro that supplies --prefix, --libdir, etc
363+- Update the tarball from upstream to version 462f1569a437 (Pacemaker 1.0.5 final)
364+ + High: Tools: crm_resource - Advertise --move instead of --migrate
365+ + Medium: Extra: New node connectivity RA that uses system ping and attrd_updater
366+ + Medium: crmd: Note that dc-deadtime can be used to mask the brokeness of some switches
367+
368+* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.0.5-0.7.c9120a53a6ae.hg
369+- Use bzipped upstream tarball.
370+
371+* Wed Jul 29 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.6.c9120a53a6ae.hg
372+- Add back missing build auto* dependancies
373+- Minor cleanups to the install directive
374+
375+* Tue Jul 28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.5.c9120a53a6ae.hg
376+- Add a leading zero to the revision when alphatag is used
377+
378+* Tue Jul 28 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.5-0.4.c9120a53a6ae.hg
379+- Incorporate the feedback from the cluster-glue review
380+- Realistically, the version is a 1.0.5 pre-release
381+- Use the global directive instead of define for variables
382+- Use the haclient/hacluster group/user instead of daemon
383+- Use the _configure macro
384+- Fix install dependancies
385+
386+* Fri Jul 24 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-3
387+- Initial Fedora checkin
388+- Include an AUTHORS and license file in each package
389+- Change the library package name to pacemaker-libs to be more
390+ Fedora compliant
391+- Remove execute permissions from xml related files
392+- Reference the new cluster-glue devel package name
393+- Update the tarball from upstream to version c9120a53a6ae
394+ + High: PE: Only prevent migration if the clone dependancy is stopping/starting on the target node
395+ + High: PE: Bug 2160 - Dont shuffle clones due to colocation
396+ + High: PE: New implementation of the resource migration (not stop/start) logic
397+ + Medium: Tools: crm_resource - Prevent use-of-NULL by requiring a resource name for the -A and -a options
398+ + Medium: PE: Prevent use-of-NULL in find_first_action()
399+
400+* Tue Jul 14 2009 Andrew Beekhof <andrew@beekhof.net> - 1.0.4-2
401+- Reference authors from the project AUTHORS file instead of listing in description
402+- Change Source0 to reference the Mercurial repo
403+- Cleaned up the summaries and descriptions
404+- Incorporate the results of Fedora package self-review
405+
406+* Thu Jun 04 2009 Andrew Beekhof <abeekhof@suse.de> - 1.0.4-1
407+- Update source tarball to revision: 1d87d3e0fc7f (stable-1.0)
408+- Statistics:
409+ Changesets: 209
410+ Diff: 266 files changed, 12010 insertions(+), 8276 deletions(-)
411+- Changes since Pacemaker-1.0.3
412+ + High (bnc#488291): ais: do not rely on byte endianness on ptr cast
413+ + High (bnc#507255): Tools: crm: delete rsc/op_defaults (these meta_attributes are killing me)
414+ + High (bnc#507255): Tools: crm: import properly rsc/op_defaults
415+ + High (LF 2114): Tools: crm: add support for operation instance attributes
416+ + High: ais: Bug lf#2126 - Messages replies cannot be routed to transient clients
417+ + High: ais: Fix compilation for the latest Corosync API (v1719)
418+ + High: attrd: Do not perform all updates as complete refreshes
419+ + High: cib: Fix huge memory leak affecting heartbeat-based clusters
420+ + High: Core: Allow xpath queries to match attributes
421+ + High: Core: Generate the help text directly from a tool options struct
422+ + High: Core: Handle differences in 0.6 messaging format
423+ + High: crmd: Bug lf#2120 - All transient node attribute updates need to go via attrd
424+ + High: crmd: Correctly calculate how long an FSA action took to avoid spamming the logs with errors
425+ + High: crmd: Fix another large memory leak affecting Heartbeat based clusters
426+ + High: lha: Restore compatability with older versions
427+ + High: PE: Bug bnc#495687 - Filesystem is not notified of successful STONITH under some conditions
428+ + High: PE: Make running a cluster with STONITH enabled but no STONITH resources an error and provide details on resolutions
429+ + High: PE: Prevent use-ofNULL when using resource ordering sets
430+ + High: PE: Provide inter-notification ordering guarantees
431+ + High: PE: Rewrite the notification code to be understanable and extendable
432+ + High: Tools: attrd - Prevent race condition resulting in the cluster forgetting the node wishes to shut down
433+ + High: Tools: crm: regression tests
434+ + High: Tools: crm_mon - Fix smtp notifications
435+ + High: Tools: crm_resource - Repair the ability to query meta attributes
436+ + Low Build: Bug lf#2105 - Debian package should contain pacemaker doc and crm templates
437+ + Medium (bnc#507255): Tools: crm: handle empty rsc/op_defaults properly
438+ + Medium (bnc#507255): Tools: crm: use the right obj_type when creating objects from xml nodes
439+ + Medium (LF 2107): Tools: crm: revisit exit codes in configure
440+ + Medium: cib: Do not bother validating updates that only affect the status section
441+ + Medium: Core: Include supported stacks in version information
442+ + Medium: crmd: Record in the CIB, the cluster infrastructure being used
443+ + Medium: cts: Do not combine crm_standby arguments - the wrapper ca not process them
444+ + Medium: cts: Fix the CIBAusdit class
445+ + Medium: Extra: Refresh showscores script from Dominik
446+ + Medium: PE: Build a statically linked version of ptest
447+ + Medium: PE: Correctly log the actions for resources that are being recovered
448+ + Medium: PE: Correctly log the occurance of promotion events
449+ + Medium: PE: Implememt node health based on a patch from Mark Hamzy
450+ + Medium: Tools: Add examples to help text outputs
451+ + Medium: Tools: crm: catch syntax errors for configure load
452+ + Medium: Tools: crm: implement erasing nodes in configure erase
453+ + Medium: Tools: crm: work with parents only when managing xml objects
454+ + Medium: Tools: crm_mon - Add option to run custom notification program on resource operations (Patch by Dominik Klein)
455+ + Medium: Tools: crm_resource - Allow --cleanup to function on complex resources and cluster-wide
456+ + Medium: Tools: haresource2cib.py - Patch from horms to fix conversion error
457+ + Medium: Tools: Include stack information in crm_mon output
458+ + Medium: Tools: Two new options (--stack,--constraints) to crm_resource for querying how a resource is configured
459+
460+* Wed Apr 08 2009 Andrew Beekhof <abeekhof@suse.de> - 1.0.3-1
461+- Update source tarball to revision: b133b3f19797 (stable-1.0) tip
462+- Statistics:
463+ Changesets: 383
464+ Diff: 329 files changed, 15471 insertions(+), 15119 deletions(-)
465+- Changes since Pacemaker-1.0.2
466+ + Added tag SLE11-HAE-GMC for changeset 9196be9830c2
467+ + High: ais plugin: Fix quorum calculation (bnc#487003)
468+ + High: ais: Another memory fix leak in error path
469+ + High: ais: Bug bnc#482847, bnc#482905 - Force a clean exit of OpenAIS once Pacemaker has finished unloading
470+ + High: ais: Bug bnc#486858 - Fix update_member() to prevent spamming clients with membership events containing no changes
471+ + High: ais: Centralize all quorum calculations in the ais plugin and allow expected votes to be configured int he cib
472+ + High: ais: Correctly handle a return value of zero from openais_dispatch_recv()
473+ + High: ais: Disable logging to a file
474+ + High: ais: Fix memory leak in error path
475+ + High: ais: IPC messages are only in scope until a response is sent
476+ + High: All signal handlers used with CL_SIGNAL() need to be as minimal as possible
477+ + High: cib: Bug bnc#482885 - Simplify CIB disk-writes to prevent data loss. Required a change to the backup filename format
478+ + High: cib: crmd: Revert part of 9782ab035003. Complex shutdown routines need G_main_add_SignalHandler to avoid race coditions
479+ + High: crm: Avoid infinite loop during crm configure edit (bnc#480327)
480+ + High: crmd: Avoid a race condition by waiting for the attrd update to trigger a transition automatically
481+ + High: crmd: Bug bnc#480977 - Prevent extra, partial, shutdown when a node restarts too quickly
482+ + High: crmd: Bug bnc#480977 - Prevent extra, partial, shutdown when a node restarts too quickly (verified)
483+ + High: crmd: Bug bnc#489063 - Ensure the DC is always unset after we 'loose' an election
484+ + High: crmd: Bug BSC#479543 - Correctly find the migration source for timed out migrate_from actions
485+ + High: crmd: Call crm_peer_init() before we start the FSA - prevents a race condition when used with Heartbeat
486+ + High: crmd: Erasing the status section should not be forced to the local node
487+ + High: crmd: Fix memory leak in cib notication processing code
488+ + High: crmd: Fix memory leak in transition graph processing
489+ + High: crmd: Fix memory leaks found by valgrind
490+ + High: crmd: More memory leaks fixes found by valgrind
491+ + High: fencing: stonithd: is_heartbeat_cluster is a no-no if there is no heartbeat support
492+ + High: PE: Bug bnc#466788 - Exclude nodes that can not run resources
493+ + High: PE: Bug bnc#466788 - Make colocation based on node attributes work
494+ + High: PE: Bug BNC#478687 - Do not crash when clone-max is 0
495+ + High: PE: Bug bnc#488721 - Fix id-ref expansion for clones, the doc-root for clone children is not the cib root
496+ + High: PE: Bug bnc#490418 - Correctly determine node state for nodes wishing to be terminated
497+ + High: PE: Bug LF#2087 - Correctly parse the state of anonymous clones that have multiple instances on a given node
498+ + High: PE: Bug lf#2089 - Meta attributes are not inherited by clone children
499+ + High: PE: Bug lf#2091 - Correctly restart modified resources that were found active by a probe
500+ + High: PE: Bug lf#2094 - Fix probe ordering for cloned groups
501+ + High: PE: Bug LF:2075 - Fix large pingd memory leaks
502+ + High: PE: Correctly attach orphaned clone children to their parent
503+ + High: PE: Correctly handle terminate node attributes that are set to the output from time()
504+ + High: PE: Ensure orphaned clone members are hooked up to the parent when clone-max=0
505+ + High: PE: Fix memory leak in LogActions
506+ + High: PE: Fix the determination of whether a group is active
507+ + High: PE: Look up the correct promotion preference for anonymous masters
508+ + High: PE: Simplify handling of start failures by changing the default migration-threshold to INFINITY
509+ + High: PE: The ordered option for clones no longer causes extra start/stop operations
510+ + High: RA: Bug bnc#490641 - Shut down dlm_controld with -TERM instead of -KILL
511+ + High: RA: pingd: Set default ping interval to 1 instead of 0 seconds
512+ + High: Resources: pingd - Correctly tell the ping daemon to shut down
513+ + High: Tools: Bug bnc#483365 - Ensure the command from cluster_test includes a value for --log-facility
514+ + High: Tools: cli: fix and improve delete command
515+ + High: Tools: crm: add and implement templates
516+ + High: Tools: crm: add support for command aliases and some common commands (i.e. cd,exit)
517+ + High: Tools: crm: create top configuration nodes if they are missing
518+ + High: Tools: crm: fix parsing attributes for rules (broken by the previous changeset)
519+ + High: Tools: crm: new ra set of commands
520+ + High: Tools: crm: resource agents information management
521+ + High: Tools: crm: rsc/op_defaults
522+ + High: Tools: crm: support for no value attribute in nvpairs
523+ + High: Tools: crm: the new configure monitor command
524+ + High: Tools: crm: the new configure node command
525+ + High: Tools: crm_mon - Prevent use-of-NULL when summarizing an orphan
526+ + High: Tools: hb2openais: create clvmd clone for respawn evmsd in ha.cf
527+ + High: Tools: hb2openais: fix a serious recursion bug in xml node processing
528+ + High: Tools: hb2openais: fix ocfs2 processing
529+ + High: Tools: pingd - prevent double free of getaddrinfo() output in error path
530+ + High: Tools: The default re-ping interval for pingd should be 1s not 1ms
531+ + Medium (bnc#479049): Tools: crm: add validation of resource type for the configure primitive command
532+ + Medium (bnc#479050): Tools: crm: add help for RA parameters in tab completion
533+ + Medium (bnc#479050): Tools: crm: add tab completion for primitive params/meta/op
534+ + Medium (bnc#479050): Tools: crm: reimplement cluster properties completion
535+ + Medium (bnc#486968): Tools: crm: listnodes function requires no parameters (do not mix completion with other stuff)
536+ + Medium: ais: Remove the ugly hack for dampening AIS membership changes
537+ + Medium: cib: Fix memory leaks by using mainloop_add_signal
538+ + Medium: cib: Move more logging to the debug level (was info)
539+ + Medium: cib: Overhaul the processing of synchronous replies
540+ + Medium: Core: Add library functions for instructing the cluster to terminate nodes
541+ + Medium: crmd: Add new expected-quorum-votes option
542+ + Medium: crmd: Allow up to 5 retires when an attrd update fails
543+ + Medium: crmd: Automatically detect and use new values for crm_config options
544+ + Medium: crmd: Bug bnc#490426 - Escalated shutdowns stall when there are pending resource operations
545+ + Medium: crmd: Clean up and optimize the DC election algorithm
546+ + Medium: crmd: Fix memory leak in shutdown
547+ + Medium: crmd: Fix memory leaks spotted by Valgrind
548+ + Medium: crmd: Ingore join messages from hosts other than our DC
549+ + Medium: crmd: Limit the scope of resource updates to the status section
550+ + Medium: crmd: Prevent the crmd from being respawned if its told to shut down when it did not ask to be
551+ + Medium: crmd: Re-check the election status after membership events
552+ + Medium: crmd: Send resource updates via the local CIB during elections
553+ + Medium: PE: Bug bnc#491441 - crm_mon does not display operations returning 'uninstalled' correctly
554+ + Medium: PE: Bug lf#2101 - For location constraints, role=Slave is equivalent to role=Started
555+ + Medium: PE: Clean up the API - removed ->children() and renamed ->find_child() to fine_rsc()
556+ + Medium: PE: Compress the display of healthy anonymous clones
557+ + Medium: PE: Correctly log the actions for resources that are being recovered
558+ + Medium: PE: Determin a promotion score for complex resources
559+ + Medium: PE: Ensure clones always have a value for globally-unique
560+ + Medium: PE: Prevent orphan clones from being allocated
561+ + Medium: RA: controld: Return proper exit code for stop op.
562+ + Medium: Tools: Bug bnc#482558 - Fix logging test in cluster_test
563+ + Medium: Tools: Bug bnc#482828 - Fix quoting in cluster_test logging setup
564+ + Medium: Tools: Bug bnc#482840 - Include directory path to CTSlab.py
565+ + Medium: Tools: crm: add more user input checks
566+ + Medium: Tools: crm: do not check resource status of we are working with a shadow
567+ + Medium: Tools: crm: fix id-refs and allow reference to top objects (i.e. primitive)
568+ + Medium: Tools: crm: ignore comments in the CIB
569+ + Medium: Tools: crm: multiple column output would not work with small lists
570+ + Medium: Tools: crm: refuse to delete running resources
571+ + Medium: Tools: crm: rudimentary if-else for templates
572+ + Medium: Tools: crm: Start/stop clones via target-role.
573+ + Medium: Tools: crm_mon - Compress the node status for healthy and offline nodes
574+ + Medium: Tools: crm_shadow - Return 0/cib_ok when --create-empty succeeds
575+ + Medium: Tools: crm_shadow - Support -e, the short form of --create-empty
576+ + Medium: Tools: Make attrd quieter
577+ + Medium: Tools: pingd - Avoid using various clplumbing functions as they seem to leak
578+ + Medium: Tools: Reduce pingd logging
579+
580+* Mon Feb 16 2009 Andrew Beekhof <abeekhof@suse.de> - 1.0.2-1
581+- Update source tarball to revision: d232d19daeb9 (stable-1.0) tip
582+- Statistics:
583+ Changesets: 441
584+ Diff: 639 files changed, 20871 insertions(+), 21594 deletions(-)
585+- Changes since Pacemaker-1.0.1
586+ + High (bnc#450815): Tools: crm cli: do not generate id for the operations tag
587+ + High: ais: Add support for the new AIS IPC layer
588+ + High: ais: Always set header.error to the correct default: SA_AIS_OK
589+ + High: ais: Bug BNC#456243 - Ensure the membership cache always contains an entry for the local node
590+ + High: ais: Bug BNC:456208 - Prevent deadlocks by not logging in the child process before exec()
591+ + High: ais: By default, disable supprt for the WIP openais IPC patch
592+ + High: ais: Detect and handle situations where ais and the crm disagree on the node name
593+ + High: ais: Ensure crm_peer_seq is updated after a membership update
594+ + High: ais: Make sure all IPC header fields are set to sane defaults
595+ + High: ais: Repair and streamline service load now that whitetank startup functions correctly
596+ + High: build: create and install doc files
597+ + High: cib: Allow clients without mainloop to connect to the cib
598+ + High: cib: CID:18 - Fix use-of-NULL in cib_perform_op
599+ + High: cib: CID:18 - Repair errors introduced in b5a18704477b - Fix use-of-NULL in cib_perform_op
600+ + High: cib: Ensure diffs contain the correct values of admin_epoch
601+ + High: cib: Fix four moderately sized memory leaks detected by Valgrind
602+ + High: Core: CID:10 - Prevent indexing into an array of schemas with a negative value
603+ + High: Core: CID:13 - Fix memory leak in log_data_element
604+ + High: Core: CID:15 - Fix memory leak in crm_get_peer
605+ + High: Core: CID:6 - Fix use-of-NULL in copy_ha_msg_input
606+ + High: Core: Fix crash in the membership code preventing node shutdown
607+ + High: Core: Fix more memory leaks foudn by valgrind
608+ + High: Core: Prevent unterminated strings after decompression
609+ + High: crmd: Bug BNC:467995 - Delay marking STONITH operations complete until STONITH tells us so
610+ + High: crmd: Bug LF:1962 - Do not NACK peers because they are not (yet) in our membership. Just ignore them.
611+ + High: crmd: Bug LF:2010 - Ensure fencing cib updates create the node_state entry if needed to preent re-fencing during cluster startup
612+ + High: crmd: Correctly handle reconnections to attrd
613+ + High: crmd: Ensure updates for lost migrate operations indicate which node it tried to migrating to
614+ + High: crmd: If there are no nodes to finalize, start an election.
615+ + High: crmd: If there are no nodes to welcome, start an election.
616+ + High: crmd: Prevent node attribute loss by detecting attrd disconnections immediately
617+ + High: crmd: Prevent node re-probe loops by ensuring manditory actions always complete
618+ + High: PE: Bug 2005 - Fix startup ordering of cloned stonith groups
619+ + High: PE: Bug 2006 - Correctly reprobe cloned groups
620+ + High: PE: Bug BNC:465484 - Fix the no-quorum-policy=suicide option
621+ + High: PE: Bug LF:1996 - Correctly process disabled monitor operations
622+ + High: PE: CID:19 - Fix use-of-NULL in determine_online_status
623+ + High: PE: Clones now default to globally-unique=false
624+ + High: PE: Correctly calculate the number of available nodes for the clone to use
625+ + High: PE: Only shoot online nodes with no-quorum-policy=suicide
626+ + High: PE: Prevent on-fail settings being ignored after a resource is successfully stopped
627+ + High: PE: Prevent use-of-NULL for failed migrate actions in process_rsc_state()
628+ + High: PE: Remove an optimization for the terminate node attribute that caused the cluster to block indefinitly
629+ + High: PE: Repar the ability to colocate based on node attributes other than uname
630+ + High: PE: Start the correct monitor operation for unmanaged masters
631+ + High: stonith: CID:3 - Fix another case of exceptionally poor error handling by the original stonith developers
632+ + High: stonith: CID:5 - Checking for NULL and then dereferencing it anyway is an interesting approach to error handling
633+ + High: stonithd: Sending IPC to the cluster is a privileged operation
634+ + High: stonithd: wrong checks for shmid (0 is a valid id)
635+ + High: Tools: attrd - Correctly determine when an attribute has stopped changing and should be committed to the CIB
636+ + High: Tools: Bug 2003 - pingd does not correctly detect failures when the interface is down
637+ + High: Tools: Bug 2003 - pingd does not correctly handle node-down events on multi-NIC systems
638+ + High: Tools: Bug 2021 - pingd does not detect sequence wrapping correctly, incorrectly reports nodes offline
639+ + High: Tools: Bug BNC:468066 - Do not use the result of uname() when its no longer in scope
640+ + High: Tools: Bug BNC:473265 - crm_resource -L dumps core
641+ + High: Tools: Bug LF:2001 - Transient node attributes should be set via attrd
642+ + High: Tools: Bug LF:2036 - crm_resource cannot set/get parameters for cloned resources
643+ + High: Tools: Bug LF:2046 - Node attribute updates are lost because attrd can take too long to start
644+ + High: Tools: Cause the correct clone instance to be failed with crm_resource -F
645+ + High: Tools: cluster_test - Allow the user to select a stack and fix CTS invocation
646+ + High: Tools: crm cli: allow rename only if the resource is stopped
647+ + High: Tools: crm cli: catch system errors on file operations
648+ + High: Tools: crm cli: completion for ids in configure
649+ + High: Tools: crm cli: drop '-rsc' from attributes for order constraint
650+ + High: Tools: crm cli: exit with an appropriate exit code
651+ + High: Tools: crm cli: fix wrong order of action and resource in order constraint
652+ + High: Tools: crm cli: fox wrong exit code
653+ + High: Tools: crm cli: improve handling of cib attributes
654+ + High: Tools: crm cli: new command: configure rename
655+ + High: Tools: crm cli: new command: configure upgrade
656+ + High: Tools: crm cli: new command: node delete
657+ + High: Tools: crm cli: prevent key errors on missing cib attributes
658+ + High: Tools: crm cli: print long help for help topics
659+ + High: Tools: crm cli: return on syntax error when parsing score
660+ + High: Tools: crm cli: rsc_location can be without nvpairs
661+ + High: Tools: crm cli: short node preference location constraint
662+ + High: Tools: crm cli: sometimes, on errors, level would change on single shot use
663+ + High: Tools: crm cli: syntax: drop a bunch of commas (remains of help tables conversion)
664+ + High: Tools: crm cli: verify user input for sanity
665+ + High: Tools: crm: find expressions within rules (do not always skip xml nodes due to used id)
666+ + High: Tools: crm_master should not define a set id now that attrd is used. Defining one can break lookups
667+ + High: Tools: crm_mon Use the OID assigned to the project by IANA for SNMP traps
668+ + Medium (bnc#445622): Tools: crm cli: improve the node show command and drop node status
669+ + Medium (LF 2009): stonithd: improve timeouts for remote fencing
670+ + Medium: ais: Allow dead peers to be removed from membership calculations
671+ + Medium: ais: Pass node deletion events on to clients
672+ + Medium: ais: Sanitize ipc usage
673+ + Medium: ais: Supply the node uname in addtion to the id
674+ + Medium: Build: Clean up configure to ensure NON_FATAL_CFLAGS is consistent with CFLAGS (ie. includes -g)
675+ + Medium: Build: Install cluster_test
676+ + Medium: Build: Use more restrictive CFLAGS and fix the resulting errors
677+ + Medium: cib: CID:20 - Fix potential use-after-free in cib_native_signon
678+ + Medium: Core: Bug BNC:474727 - Set a maximum time to wait for IPC messages
679+ + Medium: Core: CID:12 - Fix memory leak in decode_transition_magic error path
680+ + Medium: Core: CID:14 - Fix memory leak in calculate_xml_digest error path
681+ + Medium: Core: CID:16 - Fix memory leak in date_to_string error path
682+ + Medium: Core: Try to track down the cause of XML parsing errors
683+ + Medium: crmd: Bug BNC:472473 - Do not wait excessive amounts of time for lost actions
684+ + Medium: crmd: Bug BNC:472473 - Reduce the transition timeout to action_timeout+network_delay
685+ + Medium: crmd: Do not fast-track the processing of LRM refreshes when there are pending actions.
686+ + Medium: crmd: do_dc_join_filter_offer - Check the 'join' message is for the current instance before deciding to NACK peers
687+ + Medium: crmd: Find option values without having to do a config upgrade
688+ + Medium: crmd: Implement shutdown using a transient node attribute
689+ + Medium: crmd: Update the crmd options to use dashes instead of underscores
690+ + Medium: cts: Add 'cluster reattach' to the suite of automated regression tests
691+ + Medium: cts: cluster_test - Make some usability enhancements
692+ + Medium: CTS: cluster_test - suggest a valid port number
693+ + Medium: CTS: Fix python import order
694+ + Medium: cts: Implement an automated SplitBrain test
695+ + Medium: CTS: Remove references to deleted classes
696+ + Medium: Extra: Resources - Use HA_VARRUN instead of HA_RSCTMP for state files as Heartbeat removes HA_RSCTMP at startup
697+ + Medium: HB: Bug 1933 - Fake crmd_client_status_callback() calls because HB does not provide them for already running processes
698+ + Medium: PE: CID:17 - Fix memory leak in find_actions_by_task error path
699+ + Medium: PE: CID:7,8 - Prevent hypothetical use-of-NULL in LogActions
700+ + Medium: PE: Defer logging the actions performed on a resource until we have processed ordering constraints
701+ + Medium: PE: Remove the symmetrical attribute of colocation constraints
702+ + Medium: Resources: pingd - fix the meta defaults
703+ + Medium: Resources: Stateful - Add missing meta defaults
704+ + Medium: stonithd: exit if we the pid file cannot be locked
705+ + Medium: Tools: Allow attrd clients to specify the ID the attribute should be created with
706+ + Medium: Tools: attrd - Allow attribute updates to be performed from a hosts peer
707+ + Medium: Tools: Bug LF:1994 - Clean up crm_verify return codes
708+ + Medium: Tools: Change the pingd defaults to ping hosts once every second (instead of 5 times every 10 seconds)
709+ + Medium: Tools: cibmin - Detect resource operations with a view to providing email/snmp/cim notification
710+ + Medium: Tools: crm cli: add back symmetrical for order constraints
711+ + Medium: Tools: crm cli: generate role in location when converting from xml
712+ + Medium: Tools: crm cli: handle shlex exceptions
713+ + Medium: Tools: crm cli: keep order of help topics
714+ + Medium: Tools: crm cli: refine completion for ids in configure
715+ + Medium: Tools: crm cli: replace inf with INFINITY
716+ + Medium: Tools: crm cli: streamline cib load and parsing
717+ + Medium: Tools: crm cli: supply provider only for ocf class primitives
718+ + Medium: Tools: crm_mon - Add support for sending mail notifications of resource events
719+ + Medium: Tools: crm_mon - Include the DC version in status summary
720+ + Medium: Tools: crm_mon - Sanitize startup and option processing
721+ + Medium: Tools: crm_mon - switch to event-driven updates and add support for sending snmp traps
722+ + Medium: Tools: crm_shadow - Replace the --locate option with the saner --edit
723+ + Medium: Tools: hb2openais: do not remove Evmsd resources, but replace them with clvmd
724+ + Medium: Tools: hb2openais: replace crmadmin with crm_mon
725+ + Medium: Tools: hb2openais: replace the lsb class with ocf for o2cb
726+ + Medium: Tools: hb2openais: reuse code
727+ + Medium: Tools: LF:2029 - Display an error if crm_resource is used to reset the operation history of non-primitive resources
728+ + Medium: Tools: Make pingd resilient to attrd failures
729+ + Medium: Tools: pingd - fix the command line switches
730+ + Medium: Tools: Rename ccm_tool to crm_node
731+
732+* Tue Nov 18 2008 Andrew Beekhof <abeekhof@suse.de> - 1.0.1-1
733+- Update source tarball to revision: 6fc5ce8302ab (stable-1.0) tip
734+- Statistics:
735+ Changesets: 170
736+ Diff: 816 files changed, 7633 insertions(+), 6286 deletions(-)
737+- Changes since Pacemaker-1.0.1
738+ + High: ais: Allow the crmd to get callbacks whenever a node state changes
739+ + High: ais: Create an option for starting the mgmtd daemon automatically
740+ + High: ais: Ensure HA_RSCTMP exists for use by resource agents
741+ + High: ais: Hook up the openais.conf config logging options
742+ + High: ais: Zero out the PID of disconnecting clients
743+ + High: cib: Ensure global updates cause a disk write when appropriate
744+ + High: Core: Add an extra snaity check to getXpathResults() to prevent segfaults
745+ + High: Core: Do not redefine __FUNCTION__ unnecessarily
746+ + High: Core: Repair the ability to have comments in the configuration
747+ + High: crmd: Bug:1975 - crmd should wait indefinitely for stonith operations to complete
748+ + High: crmd: Ensure PE processing does not occur for all error cases in do_pe_invoke_callback
749+ + High: crmd: Requests to the CIB should cause any prior PE calculations to be ignored
750+ + High: heartbeat: Wait for membership 'up' events before removing stale node status data
751+ + High: PE: Bug LF:1988 - Ensure recurring operations always have the correct target-rc set
752+ + High: PE: Bug LF:1988 - For unmanaged resources we need to skip the usual can_run_resources() checks
753+ + High: PE: Ensure the terminate node attribute is handled correctly
754+ + High: PE: Fix optional colocation
755+ + High: PE: Improve up the detection of 'new' nodes joining the cluster
756+ + High: PE: Prevent assert failures in master_color() by ensuring unmanaged masters are always reallocated to their current location
757+ + High: Tools: crm cli: parser: return False on syntax error and None for comments
758+ + High: Tools: crm cli: unify template and edit commands
759+ + High: Tools: crm_shadow - Show more line number information after validation failures
760+ + High: Tools: hb2openais: add option to upgrade the CIB to v3.0
761+ + High: Tools: hb2openais: add U option to getopts and update usage
762+ + High: Tools: hb2openais: backup improved and multiple fixes
763+ + High: Tools: hb2openais: fix class/provider reversal
764+ + High: Tools: hb2openais: fix testing
765+ + High: Tools: hb2openais: move the CIB update to the end
766+ + High: Tools: hb2openais: update logging and set logfile appropriately
767+ + High: Tools: LF:1969 - Attrd never sets any properties in the cib
768+ + High: Tools: Make attrd functional on OpenAIS
769+ + Medium: ais: Hook up the options for specifying the expected number of nodes and total quorum votes
770+ + Medium: ais: Look for pacemaker options inside the service block with 'name: pacemaker' instead of creating an addtional configuration block
771+ + Medium: ais: Provide better feedback when nodes change nodeids (in openais.conf)
772+ + Medium: cib: Always store cib contents on disk with num_updates=0
773+ + Medium: cib: Ensure remote access ports are cleaned up on shutdown
774+ + Medium: crmd: Detect deleted resource operations automatically
775+ + Medium: crmd: Erase a nodes resource operations and transient attributes after a successful STONITH
776+ + Medium: crmd: Find a more appropriate place to update quorum and refresh attrd attributes
777+ + Medium: crmd: Fix the handling of unexpected PE exits to ensure the current CIB is stored
778+ + Medium: crmd: Fix the recording of pending operations in the CIB
779+ + Medium: crmd: Initiate an attrd refresh _after_ the status section has been fully repopulated
780+ + Medium: crmd: Only the DC should update quorum in an openais cluster
781+ + Medium: Ensure meta attributes are used consistantly
782+ + Medium: PE: Allow group and clone level resource attributes
783+ + Medium: PE: Bug N:437719 - Ensure scores from colocated resources count when allocating groups
784+ + Medium: PE: Prevent lsb scripts from being used in globally unique clones
785+ + Medium: PE: Make a best-effort guess at a migration threshold for people with 0.6 configs
786+ + Medium: Resources: controld - ensure we are part of a clone with globally_unique=false
787+ + Medium: Tools: attrd - Automatically refresh all attributes after a CIB replace operation
788+ + Medium: Tools: Bug LF:1985 - crm_mon - Correctly process failed cib queries to allow reconnection after cluster restarts
789+ + Medium: Tools: Bug LF:1987 - crm_verify incorrectly warns of configuration upgrades for the most recent version
790+ + Medium: Tools: crm (bnc#441028): check for key error in attributes management
791+ + Medium: Tools: crm_mon - display the meaning of the operation rc code instead of the status
792+ + Medium: Tools: crm_mon - Fix the display of timing data
793+ + Medium: Tools: crm_verify - check that we are being asked to validate a complete config
794+ + Medium: xml: Relax the restriction on the contents of rsc_locaiton.node
795+
796+* Thu Oct 16 2008 Andrew Beekhof <abeekhof@suse.de> - 1.0.0-1
797+- Update source tarball to revision: 388654dfef8f tip
798+- Statistics:
799+ Changesets: 261
800+ Diff: 3021 files changed, 244985 insertions(+), 111596 deletions(-)
801+- Changes since f805e1b30103
802+ + High: add the crm cli program
803+ + High: ais: Move the service id definition to a common location and make sure it is always used
804+ + High: build: rename hb2openais.sh to .in and replace paths with vars
805+ + High: cib: Implement --create for crm_shadow
806+ + High: cib: Remove dead files
807+ + High: Core: Allow the expected number of quorum votes to be configrable
808+ + High: Core: cl_malloc and friends were removed from Heartbeat
809+ + High: Core: Only call xmlCleanupParser() if we parsed anything. Doing so unconditionally seems to cause a segfault
810+ + High: hb2openais.sh: improve pingd handling; several bugs fixed
811+ + High: hb2openais: fix clone creation; replace EVMS strings
812+ + High: new hb2openais.sh conversion script
813+ + High: PE: Bug LF:1950 - Ensure the current values for all notification variables are always set (even if empty)
814+ + High: PE: Bug LF:1955 - Ensure unmanaged masters are unconditionally repromoted to ensure they are monitored correctly.
815+ + High: PE: Bug LF:1955 - Fix another case of filtering causing unmanaged master failures
816+ + High: PE: Bug LF:1955 - Umanaged mode prevents master resources from being allocated correctly
817+ + High: PE: Bug N:420538 - Anit-colocation caused a positive node preference
818+ + High: PE: Correctly handle unmanaged resources to prevent them from being started elsewhere
819+ + High: PE: crm_resource - Fix the --migrate command
820+ + High: PE: MAke stonith-enabled default to true and warn if no STONITH resources are found
821+ + High: PE: Make sure orphaned clone children are created correctly
822+ + High: PE: Monitors for unmanaged resources do not need to wait for start/promote/demote actions to complete
823+ + High: stonithd (LF 1951): fix remote stonith operations
824+ + High: stonithd: fix handling of timeouts
825+ + High: stonithd: fix logic for stonith resource priorities
826+ + High: stonithd: implement the fence-timeout instance attribute
827+ + High: stonithd: initialize value before reading fence-timeout
828+ + High: stonithd: set timeouts for fencing ops to the timeout of the start op
829+ + High: stonithd: stonith rsc priorities (new feature)
830+ + High: Tools: Add hb2openais - a tool for upgrading a Heartbeat cluster to use OpenAIS instead
831+ + High: Tools: crm_verify - clean up the upgrade logic to prevent crash on invalid configurations
832+ + High: Tools: Make pingd functional on Linux
833+ + High: Update version numbers for 1.0 candidates
834+ + Medium: ais: Add support for a synchronous call to retrieve the nodes nodeid
835+ + Medium: ais: Use the agreed service number
836+ + Medium: Build: Reliably detect heartbeat libraries during configure
837+ + Medium: Build: Supply prototypes for libreplace functions when needed
838+ + Medium: Build: Teach configure how to find corosync
839+ + Medium: Core: Provide better feedback if Pacemaker is started by a stack it does not support
840+ + Medium: crmd: Avoid calling GHashTable functions with NULL
841+ + Medium: crmd: Delay raising I_ERROR when the PE exits until we have had a chance to save the current CIB
842+ + Medium: crmd: Hook up the stonith-timeout option to stonithd
843+ + Medium: crmd: Prevent potential use-of-NULL in global_timer_callback
844+ + Medium: crmd: Rationalize the logging of graph aborts
845+ + Medium: PE: Add a stonith_timeout option and remove new options that are better set in rsc_defaults
846+ + Medium: PE: Allow external entities to ask for a node to be shot by creating a terminate=true transient node attribute
847+ + Medium: PE: Bug LF:1950 - Notifications do not contain all documented resource state fields
848+ + Medium: PE: Bug N:417585 - Do not restart group children whos individual score drops below zero
849+ + Medium: PE: Detect clients that disconnect before receiving their reply
850+ + Medium: PE: Implement a true maintenance mode
851+ + Medium: PE: Implement on-fail=standby for NTT. Derived from a patch by Satomi TANIGUCHI
852+ + Medium: PE: Print the correct message when stonith is disabled
853+ + Medium: PE: ptest - check the input is valid before proceeding
854+ + Medium: PE: Revert group stickiness to the 'old way'
855+ + Medium: PE: Use the correct attribute for action 'requires' (was prereq)
856+ + Medium: stonithd: Fix compilation without full heartbeat install
857+ + Medium: stonithd: exit with better code on empty host list
858+ + Medium: tools: Add a new regression test for CLI tools
859+ + Medium: tools: crm_resource - return with non-zero when a resource migration command is invalid
860+ + Medium: tools: crm_shadow - Allow the admin to start with an empty CIB (and no cluster connection)
861+ + Medium: xml: pacemaker-0.7 is now an alias for the 1.0 schema
862+
863+* Mon Sep 22 2008 Andrew Beekhof <abeekhof@suse.de> - 0.7.3-1
864+- Update source tarball to revision: 33e677ab7764+ tip
865+- Statistics:
866+ Changesets: 133
867+ Diff: 89 files changed, 7492 insertions(+), 1125 deletions(-)
868+- Changes since f805e1b30103
869+ + High: Tools: add the crm cli program
870+ + High: Core: cl_malloc and friends were removed from Heartbeat
871+ + High: Core: Only call xmlCleanupParser() if we parsed anything. Doing so unconditionally seems to cause a segfault
872+ + High: new hb2openais.sh conversion script
873+ + High: PE: Bug LF:1950 - Ensure the current values for all notification variables are always set (even if empty)
874+ + High: PE: Bug LF:1955 - Ensure unmanaged masters are unconditionally repromoted to ensure they are monitored correctly.
875+ + High: PE: Bug LF:1955 - Fix another case of filtering causing unmanaged master failures
876+ + High: PE: Bug LF:1955 - Umanaged mode prevents master resources from being allocated correctly
877+ + High: PE: Bug N:420538 - Anit-colocation caused a positive node preference
878+ + High: PE: Correctly handle unmanaged resources to prevent them from being started elsewhere
879+ + High: PE: crm_resource - Fix the --migrate command
880+ + High: PE: MAke stonith-enabled default to true and warn if no STONITH resources are found
881+ + High: PE: Make sure orphaned clone children are created correctly
882+ + High: PE: Monitors for unmanaged resources do not need to wait for start/promote/demote actions to complete
883+ + High: stonithd (LF 1951): fix remote stonith operations
884+ + High: Tools: crm_verify - clean up the upgrade logic to prevent crash on invalid configurations
885+ + Medium: ais: Add support for a synchronous call to retrieve the nodes nodeid
886+ + Medium: ais: Use the agreed service number
887+ + Medium: PE: Allow external entities to ask for a node to be shot by creating a terminate=true transient node attribute
888+ + Medium: PE: Bug LF:1950 - Notifications do not contain all documented resource state fields
889+ + Medium: PE: Bug N:417585 - Do not restart group children whos individual score drops below zero
890+ + Medium: PE: Implement a true maintenance mode
891+ + Medium: PE: Print the correct message when stonith is disabled
892+ + Medium: stonithd: exit with better code on empty host list
893+ + Medium: xml: pacemaker-0.7 is now an alias for the 1.0 schema
894+
895+* Wed Aug 20 2008 Andrew Beekhof <abeekhof@suse.de> - 0.7.1-1
896+- Update source tarball to revision: f805e1b30103+ tip
897+- Statistics:
898+ Changesets: 184
899+ Diff: 513 files changed, 43408 insertions(+), 43783 deletions(-)
900+- Changes since 0.7.0-19
901+ + Fix compilation when GNUTLS isnt found
902+ + High: admin: Fix use-after-free in crm_mon
903+ + High: Build: Remove testing code that prevented heartbeat-only builds
904+ + High: cib: Use single quotes so that the xpath queries for nvpairs will succeed
905+ + High: crmd: Always connect to stonithd when the TE starts and ensure we notice if it dies
906+ + High: crmd: Correctly handle a dead PE process
907+ + High: crmd: Make sure async-failures cause the failcount to be incrimented
908+ + High: PE: Bug LF:1941 - Handle failed clone instance probes when clone-max < #nodes
909+ + High: PE: Parse resource ordering sets correctly
910+ + High: PE: Prevent use-of-NULL - order->rsc_rh will not always be non-NULL
911+ + High: PE: Unpack colocation sets correctly
912+ + High: Tools: crm_mon - Prevent use-of-NULL for orphaned resources
913+ + Medium: ais: Add support for a synchronous call to retrieve the nodes nodeid
914+ + Medium: ais: Allow transient clients to receive membership updates
915+ + Medium: ais: Avoid double-free in error path
916+ + Medium: ais: Include in the mebership nodes for which we have not determined their hostname
917+ + Medium: ais: Spawn the PE from the ais plugin instead of the crmd
918+ + Medium: cib: By default, new configurations use the latest schema
919+ + Medium: cib: Clean up the CIB if it was already disconnected
920+ + Medium: cib: Only incriment num_updates if something actually changed
921+ + Medium: cib: Prevent use-after-free in client after abnormal termination of the CIB
922+ + Medium: Core: Fix memory leak in xpath searches
923+ + Medium: Core: Get more details regarding parser errors
924+ + Medium: Core: Repair expand_plus_plus - do not call char2score on unexpanded values
925+ + Medium: Core: Switch to the libxml2 parser - its significantly faster
926+ + Medium: Core: Use a libxml2 library function for xml -> text conversion
927+ + Medium: crmd: Asynchronous failure actions have no parameters
928+ + Medium: crmd: Avoid calling glib functions with NULL
929+ + Medium: crmd: Do not allow an election to promote a node from S_STARTING
930+ + Medium: crmd: Do not vote if we have not completed the local startup
931+ + Medium: crmd: Fix te_update_diff() now that get_object_root() functions differently
932+ + Medium: crmd: Fix the lrmd xpath expressions to not contain quotes
933+ + Medium: crmd: If we get a join offer during an election, better restart the election
934+ + Medium: crmd: No further processing is needed when using the LRMs API call for failing resources
935+ + Medium: crmd: Only update have-quorum if the value changed
936+ + Medium: crmd: Repair the input validation logic in do_te_invoke
937+ + Medium: cts: CIBs can no longer contain comments
938+ + Medium: cts: Enable a bunch of tests that were incorrectly disabled
939+ + Medium: cts: The libxml2 parser wont allow v1 resources to use integers as parameter names
940+ + Medium: Do not use the cluster UID and GID directly. Look them up based on the configured value of HA_CCMUSER
941+ + Medium: Fix compilation when heartbeat is not supported
942+ + Medium: PE: Allow groups to be involved in optional ordering constraints
943+ + Medium: PE: Allow sets of operations to be reused by multiple resources
944+ + Medium: PE: Bug LF:1941 - Mark extra clone instances as orphans and do not show inactive ones
945+ + Medium: PE: Determin the correct migration-threshold during resource expansion
946+ + Medium: PE: Implement no-quorum-policy=suicide (FATE #303619)
947+ + Medium: pengine: Clean up resources after stopping old copies of the PE
948+ + Medium: pengine: Teach the PE how to stop old copies of itself
949+ + Medium: Tools: Backport hb_report updates
950+ + Medium: Tools: cib_shadow - On create, spawn a new shell with CIB_shadow and PS1 set accordingly
951+ + Medium: Tools: Rename cib_shadow to crm_shadow
952+
953+* Fri Jul 18 2008 Andrew Beekhof <abeekhof@suse.de> - 0.7.0-19
954+- Update source tarball to revision: 007c3a1c50f5 (unstable) tip
955+- Statistics:
956+ Changesets: 108
957+ Diff: 216 files changed, 4632 insertions(+), 4173 deletions(-)
958+- Changes added since unstable-0.7
959+ + High: admin: Fix use-after-free in crm_mon
960+ + High: ais: Change the tag for the ais plugin to "pacemaker" (used in openais.conf)
961+ + High: ais: Log terminated processes as an error
962+ + High: cib: Performance - Reorganize things to avoid calculating the XML diff twice
963+ + High: PE: Bug LF:1941 - Handle failed clone instance probes when clone-max < #nodes
964+ + High: PE: Fix memory leak in action2xml
965+ + High: PE: Make OCF_ERR_ARGS a node-level error rather than a cluster-level one
966+ + High: PE: Properly handle clones that are not installed on all nodes
967+ + Medium: admin: cibadmin - Show any validation errors if the upgrade failed
968+ + Medium: admin: cib_shadow - Implement --locate to display the underlying filename
969+ + Medium: admin: cib_shadow - Implement a --diff option
970+ + Medium: admin: cib_shadow - Implement a --switch option
971+ + Medium: admin: crm_resource - create more compact constraints that do not use lifetime (which is deprecated)
972+ + Medium: ais: Approximate born_on for OpenAIS based clusters
973+ + Medium: cib: Remove do_id_check, it is a poor substitute for ID validation by a schema
974+ + Medium: cib: Skip construction of pre-notify messages if no-one wants one
975+ + Medium: Core: Attempt to streamline some key functions to increase performance
976+ + Medium: Core: Clean up XML parser after validation
977+ + Medium: crmd: Detect and optimize the CRMs behavior when processing diffs of an LRM refresh
978+ + Medium: Fix memory leaks when resetting the name of an XML object
979+ + Medium: PE: Prefer the current location if it is one of a group of nodes with the same (highest) score
980+
981+* Wed Jun 25 2008 Andrew Beekhof <abeekhof@suse.de> - 0.7.0-1
982+- Update source tarball to revision: bde0c7db74fb tip
983+- Statistics:
984+ Changesets: 439
985+ Diff: 676 files changed, 41310 insertions(+), 52071 deletions(-)
986+- Changes added since stable-0.6
987+ + High: A new tool for setting up and invoking CTS
988+ + High: Admin: All tools now use --node (-N) for specifying node unames
989+ + High: Admin: All tools now use --xml-file (-x) and --xml-text (-X) for specifying where to find XML blobs
990+ + High: cib: Cleanup the API - remove redundant input fields
991+ + High: cib: Implement CIB_shadow - a facility for making and testing changes before uploading them to the cluster
992+ + High: cib: Make registering per-op callbacks an API call and renamed (for clarity) the API call for requesting notifications
993+ + High: Core: Add a facility for automatically upgrading old configurations
994+ + High: Core: Adopt libxml2 as the XML processing library - all external clients need to be recompiled
995+ + High: Core: Allow sending TLS messages larger than the MTU
996+ + High: Core: Fix parsing of time-only ISO dates
997+ + High: Core: Smarter handling of XML values containing quotes
998+ + High: Core: XML memory corruption - catch, and handle, cases where we are overwriting an attribute value with itself
999+ + High: Core: The xml ID type does not allow UUIDs that start with a number
1000+ + High: Core: Implement XPath based versions of query/delete/replace/modify
1001+ + High: Core: Remove some HA2.0.(3,4) compatability code
1002+ + High: crmd: Overhaul the detection of nodes that are starting vs. failed
1003+ + High: PE: Bug LF:1459 - Allow failures to expire
1004+ + High: PE: Have the PE do non-persistent configuration upgrades before performing calculations
1005+ + High: PE: Replace failure-stickiness with a simple 'migration-threshold'
1006+ + High: TE: Simplify the design by folding the tengine process into the crmd
1007+ + Medium: Admin: Bug LF:1438 - Allow the list of all/active resource operations to be queried by crm_resource
1008+ + Medium: Admin: Bug LF:1708 - crm_resource should print a warning if an attribute is already set as a meta attribute
1009+ + Medium: Admin: Bug LF:1883 - crm_mon should display fail-count and operation history
1010+ + Medium: Admin: Bug LF:1883 - crm_mon should display operation timing data
1011+ + Medium: Admin: Bug N:371785 - crm_resource -C does not also clean up fail-count attributes
1012+ + Medium: Admin: crm_mon - include timing data for failed actions
1013+ + Medium: ais: Read options from the environment since objdb is not completely usable yet
1014+ + Medium: cib: Add sections for op_defaults and rsc_defaults
1015+ + Medium: cib: Better matching notification callbacks (for detecting duplicates and removal)
1016+ + Medium: cib: Bug LF:1348 - Allow rules and attribute sets to be referenced for use in other objects
1017+ + Medium: cib: BUG LF:1918 - By default, all cib calls now timeout after 30s
1018+ + Medium: cib: Detect updates that decrease the version tuple
1019+ + Medium: cib: Implement a client-side operation timeout - Requires LHA update
1020+ + Medium: cib: Implement callbacks and async notifications for remote connections
1021+ + Medium: cib: Make cib->cmds->update() an alias for modify at the API level (also implemented in cibadmin)
1022+ + Medium: cib: Mark the CIB as disconnected if the IPC connection is terminated
1023+ + Medium: cib: New call option 'cib_can_create' which can be passed to modify actions - allows the object to be created if it does not exist yet
1024+ + Medium: cib: Reimplement get|set|delete attributes using XPath
1025+ + Medium: cib: Remove some useless parts of the API
1026+ + Medium: cib: Remove the 'attributes' scaffolding from the new format
1027+ + Medium: cib: Implement the ability for clients to connect to remote servers
1028+ + Medium: Core: Add support for validating xml against RelaxNG schemas
1029+ + Medium: Core: Allow more than one item to be modified/deleted in XPath based operations
1030+ + Medium: Core: Fix the sort_pairs function for creating sorted xml objects
1031+ + Medium: Core: iso8601 - Implement subtract_duration and fix subtract_time
1032+ + Medium: Core: Reduce the amount of xml copying occuring
1033+ + Medium: Core: Support value='value+=N' XML updates (in addtion to value='value++')
1034+ + Medium: crmd: Add support for lrm_ops->fail_rsc if its available
1035+ + Medium: crmd: HB - watch link status for node leaving events
1036+ + Medium: crmd: Bug LF:1924 - Improved handling of lrmd disconnects and shutdowns
1037+ + Medium: crmd: Do not wait for actions with a start_delay over 5 minutes. Confirm them immediately
1038+ + Medium: PE: Bug LF:1328 - Do not fencing nodes in clusters without managed resources
1039+ + Medium: PE: Bug LF:1461 - Give transient node attributes (in <status/>) preference over persistent ones (in <nodes/>)
1040+ + Medium: PE: Bug LF:1884, Bug LF:1885 - Implement N:M ordering and colocation constraints
1041+ + Medium: PE: Bug LF:1886 - Create a resource and operation 'defaults' config section
1042+ + Medium: PE: Bug LF:1892 - Allow recurring actions to be triggered at known times
1043+ + Medium: PE: Bug LF:1926 - Probes should complete before stop actions are invoked
1044+ + Medium: PE: Fix the standby when its set as a transient attribute
1045+ + Medium: PE: Implement a global 'stop-all-resources' option
1046+ + Medium: PE: Implement cibpipe, a tool for performing/simulating config changes "offline"
1047+ + Medium: PE: We do not allow colocation with specific clone instances
1048+ + Medium: Tools: pingd - Implement a stack-independant version of pingd
1049+ + Medium: xml: Ship an xslt for upgrading from 0.6 to 0.7
1050+
1051+* Thu Jun 19 2008 Andrew Beekhof <abeekhof@suse.de> - 0.6.5-1
1052+- Update source tarball to revision: b9fe723d1ac5 tip
1053+- Statistics:
1054+ Changesets: 48
1055+ Diff: 37 files changed, 1204 insertions(+), 234 deletions(-)
1056+- Changes since Pacemaker-0.6.4
1057+ + High: Admin: Repair the ability to delete failcounts
1058+ + High: ais: Audit IPC handling between the AIS plugin and CRM processes
1059+ + High: ais: Have the plugin create needed /var/lib directories
1060+ + High: ais: Make sure the sync and async connections are assigned correctly (not swapped)
1061+ + High: cib: Correctly detect configuration changes - num_updates does not count
1062+ + High: PE: Apply stickiness values to the whole group, not the individual resources
1063+ + High: PE: Bug N:385265 - Ensure groups are migrated instead of remaining partially active on the current node
1064+ + High: PE: Bug N:396293 - Enforce manditory group restarts due to ordering constraints
1065+ + High: PE: Correctly recover master instances found active on more than one node
1066+ + High: PE: Fix memory leaks reported by Valgrind
1067+ + Medium: Admin: crm_mon - Misc improvements from Satomi Taniguchi
1068+ + Medium: Bug LF:1900 - Resource stickiness should not allow placement in asynchronous clusters
1069+ + Medium: crmd: Ensure joins are completed promptly when a node taking part dies
1070+ + Medium: PE: Avoid clone instance shuffling in more cases
1071+ + Medium: PE: Bug LF:1906 - Remove an optimization in native_merge_weights() causing group scores to behave eratically
1072+ + Medium: PE: Make use of target_rc data to correctly process resource operations
1073+ + Medium: PE: Prevent a possible use of NULL in sort_clone_instance()
1074+ + Medium: TE: Include target rc in the transition key - used to correctly determin operation failure
1075+
1076+* Thu May 22 2008 Andrew Beekhof <abeekhof@suse.de> - 0.6.4-1
1077+- Update source tarball to revision: 226d8e356924 tip
1078+- Statistics:
1079+ Changesets: 55
1080+ Diff: 199 files changed, 7103 insertions(+), 12378 deletions(-)
1081+- Changes since Pacemaker-0.6.3
1082+ + High: crmd: Bug LF:1881 LF:1882 - Overhaul the logic for operation cancelation and deletion
1083+ + High: crmd: Bug LF:1894 - Make sure cancelled recurring operations are cleaned out from the CIB
1084+ + High: PE: Bug N:387749 - Colocation with clones causes unnecessary clone instance shuffling
1085+ + High: PE: Ensure 'master' monitor actions are cancelled _before_ we demote the resource
1086+ + High: PE: Fix assert failure leading to core dump - make sure variable is properly initialized
1087+ + High: PE: Make sure 'slave' monitoring happens after the resource has been demoted
1088+ + High: PE: Prevent failure stickiness underflows (where too many failures become a _positive_ preference)
1089+ + Medium: Admin: crm_mon - Only complain if the output file could not be opened
1090+ + Medium: Common: filter_action_parameters - enable legacy handling only for older versions
1091+ + Medium: PE: Bug N:385265 - The failure stickiness of group children is ignored until it reaches -INFINITY
1092+ + Medium: PE: Implement master and clone colocation by exlcuding nodes rather than setting ones score to INFINITY (similar to cs: 756afc42dc51)
1093+ + Medium: TE: Bug LF:1875 - Correctly find actions to cancel when their node leaves the cluster
1094+
1095+* Wed Apr 23 2008 Andrew Beekhof <abeekhof@suse.de> - 0.6.3-1
1096+- Update source tarball to revision: fd8904c9bc67 tip
1097+- Statistics:
1098+ Changesets: 117
1099+ Diff: 354 files changed, 19094 insertions(+), 11338 deletions(-)
1100+- Changes since Pacemaker-0.6.2
1101+ + High: Admin: Bug LF:1848 - crm_resource - Pass set name and id to delete_resource_attr() in the correct order
1102+ + High: Build: SNMP has been moved to the management/pygui project
1103+ + High: crmd: Bug LF1837 - Unmanaged resources prevent crmd from shutting down
1104+ + High: crmd: Prevent use-after-free in lrm interface code (Patch based on work by Keisuke MORI)
1105+ + High: PE: Allow the cluster to make progress by not retrying failed demote actions
1106+ + High: PE: Anti-colocation with slave should not prevent master colocation
1107+ + High: PE: Bug LF 1768 - Wait more often for STONITH ops to complete before starting resources
1108+ + High: PE: Bug LF1836 - Allow is-managed-default=false to be overridden by individual resources
1109+ + High: PE: Bug LF185 - Prevent pointless master/slave instance shuffling by ignoring the master-pref of stopped instances
1110+ + High: PE: Bug N-191176 - Implement interleaved ordering for clone-to-clone scenarios
1111+ + High: PE: Bug N-347004 - Ensure clone notifications are always sent when an instance is stopped/started
1112+ + High: PE: Bug N-347004 - Include notification ordering is correct for interleaved clones
1113+ + High: PE: Bug PM-11 - Directly link probe_complete to starting clone instances
1114+ + High: PE: Bug PM1 - Fix setting failcounts when applied to complex resources
1115+ + High: PE: Bug PM12, LF1648 - Extensive revision of group ordering
1116+ + High: PE: Bug PM7 - Ensure masters are always demoted before they are stopped
1117+ + High: PE: Create probes after allocation to allow smarter handling of anonymous clones
1118+ + High: PE: Do not prioritize clone instances that must be moved
1119+ + High: PE: Fix error in previous commit that allowed more than the required number of masters to be promoted
1120+ + High: PE: Group start ordering fixes
1121+ + High: PE: Implement promote/demote ordering for cloned groups
1122+ + High: TE: Repair failcount updates
1123+ + High: TE: Use the correct offset when updating failcount
1124+ + Medium: Admin: Add a summary output that can be easily parsed by CTS for audit purposes
1125+ + Medium: Build: Make configure fail if bz2 or libxml2 are not present
1126+ + Medium: Build: Re-instate a better default for LCRSODIR
1127+ + Medium: CIB: Bug LF-1861 - Filter irrelvant error status from synchronous CIB clients
1128+ + Medium: Core: Bug 1849 - Invalid conversion of ordinal leap year to gregorian date
1129+ + Medium: Core: Drop compataibility code for 2.0.4 and 2.0.5 clusters
1130+ + Medium: crmd: Bug LF-1860 - Automatically cancel recurring ops before demote and promote operations (not only stops)
1131+ + Medium: crmd: Save the current CIB contents if we detect the PE crashed
1132+ + Medium: PE: Bug LF:1866 - Fix version check when applying compatability handling for failed start operations
1133+ + Medium: PE: Bug LF:1866 - Restore the ability to have start failures not be fatal
1134+ + Medium: PE: Bug PM1 - Failcount applies to all instances of non-unique clone
1135+ + Medium: PE: Correctly set the state of partially active master/slave groups
1136+ + Medium: PE: Do not claim to be stopping an already stopped orphan
1137+ + Medium: PE: Ensure implies_left ordering constraints are always effective
1138+ + Medium: PE: Indicate each resources 'promotion' score
1139+ + Medium: PE: Prevent a possible use-of-NULL
1140+ + Medium: PE: Reprocess the current action if it changed (so that any prior dependancies are updated)
1141+ + Medium: TE: Bug LF-1859 - Wait for fail-count updates to complete before terminating the transition
1142+ + Medium: TE: Bug LF:1859 - Do not abort graphs due to our own failcount updates
1143+ + Medium: TE: Bug LF:1859 - Prevent the TE from interupting itself
1144+
1145+* Thu Feb 14 2008 Andrew Beekhof <abeekhof@suse.de> - 0.6.2-1
1146+- Update source tarball to revision: 28b1a8c1868b tip
1147+- Statistics:
1148+ Changesets: 11
1149+ Diff: 7 files changed, 58 insertions(+), 18 deletions(-)
1150+- Changes since Pacemaker-0.6.1
1151+ + haresources2cib.py: set default-action-timeout to the default (20s)
1152+ + haresources2cib.py: update ra parameters lists
1153+ + Medium: SNMP: Allow the snmp subagent to be built (patch from MATSUDA, Daiki)
1154+ + Medium: Tools: Make sure the autoconf variables in haresources2cib are expanded
1155+
1156+* Tue Feb 12 2008 Andrew Beekhof <abeekhof@suse.de> - 0.6.1-1
1157+- Update source tarball to revision: e7152d1be933 tip
1158+- Statistics:
1159+ Changesets: 25
1160+ Diff: 37 files changed, 1323 insertions(+), 227 deletions(-)
1161+- Changes since Pacemaker-0.6.0
1162+ + High: CIB: Ensure changes to top-level attributes (like admin_epoch) cause a disk write
1163+ + High: CIB: Ensure the archived file hits the disk before returning
1164+ + High: CIB: Repair the ability to do 'atomic incriment' updates (value="value++")
1165+ + High: crmd: Bug #7 - Connecting to the crmd immediately after startup causes use-of-NULL
1166+ + Medium: CIB: Mask cib_diff_resync results from the caller - they do not need to know
1167+ + Medium: crmd: Delay starting the IPC server until we are fully functional
1168+ + Medium: CTS: Fix the startup patterns
1169+ + Medium: PE: Bug 1820 - Allow the first resource in a group to be migrated
1170+ + Medium: PE: Bug 1820 - Check the colocation dependancies of resources to be migrated
1171+
1172+* Mon Jan 14 2008 Andrew Beekhof <abeekhof@suse.de> - 0.6.0-2
1173+- This is the first release of the Pacemaker Cluster Resource Manager formerly part of Heartbeat.
1174+- For those looking for the GUI, mgmtd, CIM or TSA components, they are now found in
1175+ the new pacemaker-pygui project. Build dependancies prevent them from being
1176+ included in Heartbeat (since the built-in CRM is no longer supported) and,
1177+ being non-core components, are not included with Pacemaker.
1178+- Update source tarball to revision: c94b92d550cf
1179+- Statistics:
1180+ Changesets: 347
1181+ Diff: 2272 files changed, 132508 insertions(+), 305991 deletions(-)
1182+- Test hardware:
1183+ + 6-node vmware cluster (sles10-sp1/256Mb/vmware stonith) on a single host (opensuse10.3/2Gb/2.66Ghz Quad Core2)
1184+ + 7-node EMC Centera cluster (sles10/512Mb/2Ghz Xeon/ssh stonith)
1185+- Notes: Heartbeat Stack
1186+ + All testing was performed with STONITH enabled
1187+ + The CRM was enabled using the "crm respawn" directive
1188+- Notes: OpenAIS Stack
1189+ + This release contains a preview of support for the OpenAIS cluster stack
1190+ + The current release of the OpenAIS project is missing two important
1191+ patches that we require. OpenAIS packages containing these patches are
1192+ available for most major distributions at:
1193+ http://download.opensuse.org/repositories/server:/ha-clustering
1194+ + The OpenAIS stack is not currently recommended for use in clusters that
1195+ have shared data as STONITH support is not yet implimented
1196+ + pingd is not yet available for use with the OpenAIS stack
1197+ + 3 significant OpenAIS issues were found during testing of 4 and 6 node
1198+ clusters. We are activly working together with the OpenAIS project to
1199+ get these resolved.
1200+- Pending bugs encountered during testing:
1201+ + OpenAIS #1736 - Openais membership took 20s to stabilize
1202+ + Heartbeat #1750 - ipc_bufpool_update: magic number in head does not match
1203+ + OpenAIS #1793 - Assertion failure in memb_state_gather_enter()
1204+ + OpenAIS #1796 - Cluster message corruption
1205+- Changes since Heartbeat-2.1.2-24
1206+ + High: Add OpenAIS support
1207+ + High: Admin: crm_uuid - Look in the right place for Heartbeat UUID files
1208+ + High: admin: Exit and indicate a problem if the crmd exits while crmadmin is performing a query
1209+ + High: cib: Fix CIB_OP_UPDATE calls that modify the whole CIB
1210+ + High: cib: Fix compilation when supporting the heartbeat stack
1211+ + High: cib: Fix memory leaks caused by the switch to get_message_xml()
1212+ + High: cib: HA_VALGRIND_ENABLED needs to be set _and_ set to 1|yes|true
1213+ + High: cib: Use get_message_xml() in preference to cl_get_struct()
1214+ + High: cib: Use the return value from call to write() in cib_send_plaintext()
1215+ + High: Core: ccm nodes can legitimately have a node id of 0
1216+ + High: Core: Fix peer-process tracking for the Heartbeat stack
1217+ + High: Core: Heartbeat does not send status notifications for nodes that were already part of the cluster. Fake them instead
1218+ + High: CRM: Add children to HA_Messages such that the field name matches F_XML_TAGNAME
1219+ + High: crm: Adopt a more flexible appraoch to enabling Valgrind
1220+ + High: crm: Fix compilation when bzip2 is not installed
1221+ + High: CRM: Future-proof get_message_xml()
1222+ + High: crmd: Filter election responses based on time not FSA state
1223+ + High: crmd: Handle all possible peer states in crmd_ha_status_callback()
1224+ + High: crmd: Make sure the current date/time is set - prevents use-of-NULL when evaluating rules
1225+ + High: crmd: Relax an assertion regrading ccm membership instances
1226+ + High: crmd: Use (node->processes&crm_proc_ais) to accurately update the CIB after replace operations
1227+ + High: crmd: Heartbeat: Accurately record peer client status
1228+ + High: PE: Bug 1777 - Allow colocation with a resource in the Stopped state
1229+ + High: PE: Bug 1822 - Prevent use-of-NULL in PromoteRsc()
1230+ + High: PE: Implement three recovery policies based on op_status and op_rc
1231+ + High: PE: Parse fail-count correctly (it may be set to ININFITY)
1232+ + High: PE: Prevent graph-loop when stonith agents need to be moved around before a STONITH op
1233+ + High: PE: Prevent graph-loops when two operations have the same name+interval
1234+ + High: te: Cancel active timers when destroying graphs
1235+ + High: TE: Ensure failcount is set correctly for failed stops/starts
1236+ + High: TE: Update failcount for oeprations that time out
1237+ + Medium: admin: Prevent hang in crm_mon -1 when there is no cib connection - Patch from Junko IKEDA
1238+ + Medium: cib: Require --force|-f when performing potentially dangerous commands with cibadmin
1239+ + Medium: cib: Tweak the shutdown code
1240+ + Medium: Common: Only count peer processes of active nodes
1241+ + Medium: Core: Create generic cluster sign-in method
1242+ + Medium: core: Fix compilation when Heartbeat support is disabled
1243+ + Medium: Core: General cleanup for supporting two stacks
1244+ + Medium: Core: iso6601 - Support parsing of time-only strings
1245+ + Medium: core: Isolate more code that is only needed when SUPPORT_HEARTBEAT is enabled
1246+ + Medium: crm: Improved logging of errors in the XML parser
1247+ + Medium: crmd: Fix potential use-of-NULL in string comparison
1248+ + Medium: crmd: Reimpliment syncronizing of CIB queries and updates when invoking the PE
1249+ + Medium: crm_mon: Indicate when a node is both in standby mode and offline
1250+ + Medium: PE: Bug 1822 - Do not try an promote groups if not all of it is active
1251+ + Medium: PE: on_fail=nothing is an alias for 'ignore' not 'restart'
1252+ + Medium: PE: Prevent a potential use-of-NULL in cron_range_satisfied()
1253+ + snmp subagent: fix a problem on displaying an unmanaged group
1254+ + snmp subagent: use the syslog setting
1255+ + snmp: v2 support (thanks to Keisuke MORI)
1256+ + snmp_subagent - made it not complain about some things if shutting down
1257+
1258+* Mon Dec 10 2007 Andrew Beekhof <abeekhof@suse.de> - 0.6.0-1
1259+- Initial opensuse package check-in
Show on old repository browser