Hello community, here is the log from the commit of package pacemaker for openSUSE:Factory checked in at 2012-06-26 17:09:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pacemaker (Old) and /work/SRC/openSUSE:Factory/.pacemaker.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pacemaker", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/pacemaker/pacemaker.changes 2012-05-22 10:23:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pacemaker.new/pacemaker.changes 2012-06-26 17:09:51.000000000 +0200 @@ -1,0 +2,9 @@ +Wed Jun 6 08:15:34 UTC 2012 - [email protected] + +- Core: Revert to the original process flags for the support of + rolling-upgrade +- PE: Bug cl#5059 - Use the correct action's status when calculating + required actions for interleaved clones +- Upstream version cs: 61a079313275f3e9d0e85671f62c721d32ce3563 + +------------------------------------------------------------------- @@ -5,0 +15,143 @@ + +------------------------------------------------------------------- +Fri Apr 20 07:14:26 UTC 2012 - [email protected] + +- corosync: Determine node state for plugin based cluster types +- tools: crm_node - Test stack membership only when displaying + partition members +- Overhaul the way peers are determined to be sufficiently active +- PE: Observe the promotion score of probed resources +- crmd: Detect when peers have an incorrectly set process list +- corosync: Detect when the first corosync has not yet formed and + handle it gracefully +- Corosync: Move deprecated corosync variants to their own file +- Upstream version cs: 4c8b599e6d79499f28f8178988d65fd33e0d9b24 + +------------------------------------------------------------------- +Thu Apr 19 12:22:14 UTC 2012 - [email protected] + +- Update to version 1.1.7 +- crmd: cl#5057 - Restart sub-systems correctly (bnc#755671) +- corosync: Fix compilation when libqb is not available +- pengine: cl#5058 - Fixes issue with on-fail option on operation + being ignored. +- tools: rhbz#754216 - Make crm_mon --as-xml option default to + --one-shot mode +- cts: cl#5047 - Suppress cts badnews output related to fencing + when fencing is expected. +- crmd: cl#5053 - Fixes fail-count not being updated properly. +- crmd: cl#5051 - Fixes file leak in pe ipc connection initialization. +- Tools: crm_simulate - Correctly detect status sections with + duplicate node_state entries +- crmd: Detect when the quorum API isn't configured for corosync 2.0 +- RA: controld - use the correct dlm_controld when membership comes + from corosync directly +- Core: Fix the logging of XML and conditional corefile creation + by asserts +- pengine: cl#5045 - Better handling of interrupted migrations. +- Build: rhbz#805147 - Use default value for HB_DAEMON_DIR define + when clusterglue does not provide one. +- cib: Even with no peers, we still need to wait for connected + clients to disconnect +- corosync: Fix complation warning when corosync doesn't use libqb +- cib: Determine when there are no peers to respond to our shutdown + request and exit +- cib: Correctly shutdown in the presence of peers without relying + on timers +- Corosync: Correctly disconnect from corosync variants +- cib: Ensure no additional messages are processed after we begin + terminating +- Corosync: Reset connection variables after disconnect +- Core: Correctly track the length of a string without reading from + uninitialzied memory (valgrind) +- PE: Fix memory leak in order_rsc_sets (valgrind) +- Tools: Fix memory leak in crm_simulate (valgrind) +- PE: Correctly locate crm_simulate for automated regression tests +- Core: Use the default schema location when PCMK_schema_directory + is defined but empty +- PE: Correctly migrate a resource that has just migrated +- pengine: cl#5025 - Automatically clear failures when resource + configuration changes. +- Fix a number of potential problems reported by coverity +- crmd: Also purge fencing results when we enter S_NOT_DC +- crmd: Correctly determine when a node can suicide with fencing +- PE: Bug rhbz#799070 - Report resources as active in crm_mon if + they are located on an unclean node +- Upstream version cs: 023d3b183e77cfdb3699080b26d98ca4bc534c57 + +------------------------------------------------------------------- +Wed Apr 18 06:30:14 UTC 2012 - [email protected] + +- PE: Support of referencing resource templates in resource sets (bnc#729634) +- stonith: A "start" operation of a stonith resource does a "monitor" on the + device beyond registering it +- PE: More validations on configurations related to resource templates +- Core: Bug cl#5027 - Fix compilation when libqb is not available +- PE: cl#5002 - increment_clone() does not terminate on invalid input +- PE: Indicate the difference between resources that are restarting + and reloading +- crmd: Leave it up to the PE to decide which ops can/cannot be reload +- PE: Detect reloads of previously migrated resources +- Core: Bug cl#5016 - Prevent failures in recurring ops from being lost +- crmd: Bug cl#5015 - Remove the failed operation as well as the + resulting fail-count and last-failure attributes +- Fencing: Supress errors when listing all registered devices +- PE: Reload of a resource no longer causes a restart of dependant resources +- Fencing: Implement support for advanced fencing topologies: + eg. kdump || (network && disk) || power +- Fencing: Add support for fencing levels to the admin tool +- Fencing: Prevent duplicate free and uninitialized pointers +- Fencing: Correctly remove the fencing levels when requested +- Fencing: Not all devices might be running locally when creating a + fencing level +- cib: Don't halt disk writes if the previous digest is missing +- Cluster: Hook up the callbacks to the corosync quorum notifications +- Corosync: Correctly extract the node id from membership udpates +- Core: Ensure signals are handled eventually in the absense of timer + sources or IPC messages +- Corosync: Default to using the nodeid as the node's uuid (instead of uname) +- corosync: Consistently set the correct uuid with get_node_uuid() +- Fencing: Standardize on /one/ method for clients to request members + be fenced +- Core: Strip text nodes from on disk xml files +- Tools: Implement crm_node functionality for native corosync +- corosync: Hook up CPG membership +- fencing: More gracefully handle failed 'list' operations for devices + that only support a single connection +- corosync: Unset the process list when nodes dissappear on us +- corosync: Correctly infer lost members from the quorum API +- crmd: Election - perform the age comparison only once +- crmd: Remove rusage differences of less than a second from election + calculations +- PE: Ensure post-migration stop actions occur before node shutdown +- fencing: Correctly remove a single fencing level for a target +- fencing: Add the fencing topology section to the 1.1 configuration schema +- corosync: Ensure we catch nodes that leave the membership, even + if the ringid doesn't change +- corosync: Treat CS_ERR_QUEUE_FULL the same as CS_ERR_TRY_AGAIN +- crmd: Fast-track shutdown if we couldn't request it via attrd +- tools: Bug rhbz#754216 - Add XML as an output option to crm_mon +- Core: Correctly determine when an XML file should be decompressed +- corosync: Remove deprecated member of the CFG API +- fencing: Provide enough data to construct an entry in the node's + fencing history +- pengine: cl#5014, Prevent asymmetrical order constraints from causing + resource stops +- pengine: cl#5007, Fixes use of colocation constraints with multi-state + resources +- PE: Bug cl#5038 - Prevent restart of anonymous clones when clone-max + decreases +- PE: Bug rhbz#789397 - Failcount and related info should be reset + or removed when the resource is deleted +- fencing: fence_legacy - Drop spurilous host argument from status query +- pengine: Bug cl#5000 - Implements ability to create rsc_order + constraint sets such that A can start after (B || C) has started. +- Fencing: fence_legacy - Ensure port is available as an environment + variable when calling monitor +- PE: Bug cl#5028 - Unmanaged services should block shutdown unless + in maintainence mode (bnc#738882) +- Fix coverity defects in pengine, cib, stonith-ng and crm_resource +- Fix use-after-free in crmd, stonith-ng and crm_simulate +- Fix use-of-NULL in libcrmcluster and stonith-ng +- Fix segfaults in stonith-ng and xml.c +- Upstream version cs: 1e8a96ae55d6022f7036434b537938a1fa75a700 Old: ---- fix-glib_h-include.patch pacemaker-abi-compliance.diff pacemaker-cib-new-segfault.diff pacemaker-coverity-defects.diff pacemaker-crm_mon-tickets.diff pacemaker-crm_simulate-ticket-state.diff pacemaker-crm_ticket-all-tickets.diff pacemaker-crm_ticket-force.diff pacemaker-crm_ticket-tests-standby.diff pacemaker-crm_ticket-tests-update.diff pacemaker-crm_ticket-valgrind.diff pacemaker-crm_ticket.diff pacemaker-log-fix.diff pacemaker-ptest-xml-text.diff pacemaker-rsc_ticket-schema.diff pacemaker-stonith-timeout.diff pacemaker-template-schema.diff pacemaker-ticket-last-granted-prefix.diff pacemaker-ticket-standby-tests.diff pacemaker-ticket-standby.diff pacemaker-ticket-state-tests.diff pacemaker-ticket-state.diff pacemaker-tickets-crm_simulate.diff rm_crmsh.patch New: ---- pacemaker-crm-proc-flag.patch pacemaker-daemon-symlinks.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pacemaker.spec ++++++ --- /var/tmp/diff_new_pack.YXKJH0/_old 2012-06-26 17:09:54.000000000 +0200 +++ /var/tmp/diff_new_pack.YXKJH0/_new 2012-06-26 17:09:54.000000000 +0200 @@ -39,39 +39,17 @@ Summary: The Pacemaker scalable High-Availability cluster resource manager License: GPL-2.0+ ; LGPL-2.1+ Group: Productivity/Clustering/HA -Version: 1.1.6 +Version: 1.1.7 Release: 0 Url: http://www.clusterlabs.org Source: pacemaker.tar.bz2 Source2: %{doc_pkg}.tar.gz Source100: pacemaker.rpmlintrc Patch1: pacemaker-cts-startcmd.patch -Patch2: rm_crmsh.patch -Patch3: pacemaker-rsc_ticket-schema.diff -Patch4: pacemaker-template-schema.diff -Patch5: bug-728579_pacemaker-stonith-dev-id.diff -Patch6: pacemaker-NodeUtilization-RA.diff -Patch7: pacemaker-abi-compliance.diff -Patch8: pacemaker-stonith-timeout.diff -Patch9: pacemaker-ptest-xml-text.diff -Patch10: pacemaker-cib-new-segfault.diff -Patch11: pacemaker-tickets-crm_simulate.diff -Patch12: pacemaker-crm_ticket-force.diff -Patch13: pacemaker-ticket-last-granted-prefix.diff -Patch14: pacemaker-ticket-state.diff -Patch15: pacemaker-ticket-standby.diff -Patch16: pacemaker-crm_ticket.diff -Patch17: pacemaker-crm_ticket-tests-update.diff -Patch18: pacemaker-crm_ticket-tests-standby.diff -Patch19: pacemaker-ticket-state-tests.diff -Patch20: pacemaker-ticket-standby-tests.diff -Patch21: pacemaker-log-fix.diff -Patch22: pacemaker-crm_ticket-valgrind.diff -Patch23: pacemaker-crm_ticket-all-tickets.diff -Patch24: pacemaker-crm_mon-tickets.diff -Patch25: pacemaker-crm_simulate-ticket-state.diff -Patch26: pacemaker-coverity-defects.diff -Patch100: fix-glib_h-include.patch +Patch2: pacemaker-daemon-symlinks.diff +Patch3: bug-728579_pacemaker-stonith-dev-id.diff +Patch4: pacemaker-NodeUtilization-RA.diff +Patch5: pacemaker-crm-proc-flag.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: pacemaker-ticket-support = 2.0 Conflicts: heartbeat < 3.0 @@ -151,7 +129,7 @@ Authors: -------- - Andrew Beekhof <[email protected]> + Andrew Beekhof <[email protected]> %package -n libpacemaker3 Summary: The Pacemaker scalable High-Availability cluster resource manager @@ -173,7 +151,7 @@ Authors: -------- - Andrew Beekhof <[email protected]> + Andrew Beekhof <[email protected]> %package -n libpacemaker-devel Summary: The Pacemaker scalable High-Availability cluster resource manager @@ -204,7 +182,7 @@ Authors: -------- - Andrew Beekhof <[email protected]> + Andrew Beekhof <[email protected]> %prep ########################################################### @@ -214,28 +192,6 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 -%patch25 -p1 -%patch26 -p1 -%patch100 -p1 ########################################################### %build @@ -269,8 +225,8 @@ install -p -m 644 $file $RPM_BUILD_ROOT/%{_mandir}/man8 done fi -chmod a+x $RPM_BUILD_ROOT/%{_libdir}/heartbeat/crm_primitive.py -chmod a+x $RPM_BUILD_ROOT/%{_libdir}/heartbeat/hb2openais-helper.py +chmod a+x $RPM_BUILD_ROOT/%{_libdir}/pacemaker/crm_primitive.py +chmod a+x $RPM_BUILD_ROOT/%{_libdir}/pacemaker/hb2openais-helper.py rm $RPM_BUILD_ROOT/%{_libdir}/service_crm.so # Don't want to ship this just yet: @@ -339,11 +295,13 @@ %files ########################################################### %defattr(-,root,root) +%dir %{_libdir}/pacemaker %dir %{_libdir}/heartbeat %dir %{_var}/lib/heartbeat %dir %{pcmk_docdir} %exclude %{_datadir}/pacemaker/tests %{_datadir}/pacemaker +%{_libdir}/pacemaker/* %{_libdir}/heartbeat/* %{_sbindir}/cibadmin %{_sbindir}/crm_attribute ++++++ bug-728579_pacemaker-stonith-dev-id.diff ++++++ --- /var/tmp/diff_new_pack.YXKJH0/_old 2012-06-26 17:09:54.000000000 +0200 +++ /var/tmp/diff_new_pack.YXKJH0/_new 2012-06-26 17:09:54.000000000 +0200 @@ -4,11 +4,11 @@ Medium: stonith: Expose IDs of stonith resources to stonith agents through "$CRM_meta_st_device_id" environment variable -diff --git a/fencing/commands.c b/fencing/commands.c -index 8269d30..103389f 100644 ---- a/fencing/commands.c -+++ b/fencing/commands.c -@@ -368,6 +368,8 @@ static stonith_device_t *build_device_from_xml(xmlNode *msg) +Index: pacemaker/fencing/commands.c +=================================================================== +--- pacemaker.orig/fencing/commands.c ++++ pacemaker/fencing/commands.c +@@ -376,6 +376,8 @@ static stonith_device_t *build_device_fr device->agent = crm_element_value_copy(dev, "agent"); device->namespace = crm_element_value_copy(dev, "namespace"); device->params = xml2list(dev); @@ -17,11 +17,11 @@ device->work = mainloop_add_trigger(G_PRIORITY_HIGH, stonith_device_dispatch, device); /* TODO: Hook up priority */ -diff --git a/lib/fencing/st_client.c b/lib/fencing/st_client.c -index 205bda8..a16fab9 100644 ---- a/lib/fencing/st_client.c -+++ b/lib/fencing/st_client.c -@@ -483,6 +483,8 @@ run_stonith_agent(const char *agent, const char *action, const char *victim, +Index: pacemaker/lib/fencing/st_client.c +=================================================================== +--- pacemaker.orig/lib/fencing/st_client.c ++++ pacemaker/lib/fencing/st_client.c +@@ -558,6 +558,8 @@ run_stonith_agent(const char *agent, con } else { /* child */ @@ -29,8 +29,8 @@ + const char *st_dev_id_value = NULL; close(1); - if (dup(c_write_fd) < 0) -@@ -499,6 +501,11 @@ run_stonith_agent(const char *agent, const char *action, const char *victim, + /* coverity[leaked_handle] False positive */ +@@ -577,6 +579,11 @@ run_stonith_agent(const char *agent, con close(p_read_fd); close(p_write_fd); ++++++ pacemaker-crm-proc-flag.patch ++++++ commit 3e12eebb6cb2636054f42198222e52a28da40056 Author: Gao,Yan <[email protected]> Date: Fri May 18 10:48:49 2012 +0800 High: Core: Revert to the original process flags for the support of rolling-upgrade diff --git a/include/crm/ais.h b/include/crm/ais.h index cf00fff..f2615d6 100644 --- a/include/crm/ais.h +++ b/include/crm/ais.h @@ -107,22 +107,22 @@ enum crm_proc_flag { crm_proc_none = 0x00000001, /* 3 messaging types */ - crm_proc_heartbeat = 0x00000100, - crm_proc_plugin = 0x00000200, - crm_proc_cpg = 0x00000400, + crm_proc_heartbeat = 0x01000000, + crm_proc_plugin = 0x00000002, + crm_proc_cpg = 0x04000000, - crm_proc_lrmd = 0x00001000, - crm_proc_cib = 0x00002000, - crm_proc_crmd = 0x00004000, - crm_proc_attrd = 0x00008000, + crm_proc_lrmd = 0x00000010, + crm_proc_cib = 0x00000100, + crm_proc_crmd = 0x00000200, + crm_proc_attrd = 0x00001000, crm_proc_pe = 0x00010000, crm_proc_te = 0x00020000, - crm_proc_stonithd = 0x00100000, - crm_proc_stonith_ng= 0x00200000, + crm_proc_stonithd = 0x00002000, + crm_proc_stonith_ng= 0x00100000, - crm_proc_mgmtd = 0x01000000, + crm_proc_mgmtd = 0x00040000, }; /* *INDENT-ON* */ ++++++ pacemaker-cts-startcmd.patch ++++++ --- /var/tmp/diff_new_pack.YXKJH0/_old 2012-06-26 17:09:54.000000000 +0200 +++ /var/tmp/diff_new_pack.YXKJH0/_new 2012-06-26 17:09:54.000000000 +0200 @@ -1,10 +1,11 @@ -diff -r 93114fbc53ea cts/CM_ais.py ---- a/cts/CM_ais.py Tue Mar 09 20:00:05 2010 +0100 -+++ b/cts/CM_ais.py Tue Mar 09 22:27:19 2010 +0100 -@@ -242,8 +242,8 @@ +Index: pacemaker/cts/CM_ais.py +=================================================================== +--- pacemaker.orig/cts/CM_ais.py ++++ pacemaker/cts/CM_ais.py +@@ -263,8 +263,8 @@ class crm_cs_v0(crm_ais): self.update({ - "Name" : "crm-flatiron", + "Name" : "crm-plugin-v0", - "StartCmd" : "service corosync start", - "StopCmd" : "service corosync stop", + "StartCmd" : CTSvars.INITDIR+"/openais start", ++++++ pacemaker-daemon-symlinks.diff ++++++ diff --git a/Makefile.am b/Makefile.am index d35ba4e..f159d9f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,14 +49,12 @@ if BUILD_CS_PLUGIN rm -f $(DESTDIR)$(LCRSODIR)/pacemaker.lcrso $(DESTDIR)$(LCRSODIR)/service_crm.so cp $(DESTDIR)$(libdir)/service_crm.so $(DESTDIR)$(LCRSODIR)/pacemaker.lcrso endif -if BUILD_HEARTBEAT_SUPPORT $(INSTALL) -d $(DESTDIR)/$(HB_DAEMON_DIR) ln -sf $(CRM_DAEMON_DIR)/attrd $(DESTDIR)$(HB_DAEMON_DIR)/ ln -sf $(CRM_DAEMON_DIR)/cib $(DESTDIR)$(HB_DAEMON_DIR)/ ln -sf $(CRM_DAEMON_DIR)/crmd $(DESTDIR)$(HB_DAEMON_DIR)/ ln -sf $(CRM_DAEMON_DIR)/pengine $(DESTDIR)$(HB_DAEMON_DIR)/ ln -sf $(CRM_DAEMON_DIR)/stonithd $(DESTDIR)$(HB_DAEMON_DIR)/ -endif # Use chown because the user/group may not exist clean-generic: ++++++ pacemaker.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/pacemaker/pacemaker.tar.bz2 /work/SRC/openSUSE:Factory/.pacemaker.new/pacemaker.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
