From 495ca2b3f5384941a51c5dc8b2d5c656d233adbeecaab09e697b584271651418 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 11 Oct 2013 09:04:37 +0000 Subject: [PATCH 1/6] Updating link to change in openSUSE:Factory/pacemaker revision 56.0 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=6fb16d8d807f29773f1ec6704fa6a059 --- pacemaker.changes | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/pacemaker.changes b/pacemaker.changes index 267b300..545048f 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -62,6 +62,70 @@ Wed Sep 25 06:19:58 UTC 2013 - lmb@suse.com - Review and refresh all patches to apply without fuzz. - Upstream version cs: 144c2fc4b2f50623cbc87bf20788717e0b058a38 +------------------------------------------------------------------- +Thu Oct 3 01:58:54 UTC 2013 - ygao@suse.com + +- fencing: Allow fencing for node after topology entries are deleted +- fencing: Do not broadcast suicide if the on action is being executed +- remote: Option to enable/disable probes on container resource remote-nodes +- lrmd: Correctly cancel monitor actions for lsb/systemd/service resources on cleaning up (bnc#842471) +- services: Fix the executing of synchronous actions +- Upstream version cs: 728ec77851540f9ce64ee1b1269d967841571b25 + +------------------------------------------------------------------- +Sun Sep 29 05:12:24 UTC 2013 - ygao@suse.com + +- PE: Add a special attribute for distinguishing between real nodes and containers in constraint rules +- PE: Allow location constraints to take a regex pattern to match against resource IDs +- Bug rhbz#1011618 - Consistently use 'Slave' as the role for unpromoted master/slave resources +- cibadmin: Report errors during sign-off +- Fencing: Observe pcmk_host_list during automatic unfencing +- services: Prevent use-of-NULL when executing service actions +- crm_resource: Provide a meaningful error if --master is used for primitives and groups +- ipc: Raise the default buffer size to 128k (bnc#838358) +- Upstream version cs: ecd44e642db3b65ee83aceed0e93376894a58c47 + +------------------------------------------------------------------- +Wed Sep 25 06:37:41 UTC 2013 - lmb@suse.com + +- plugin: stonith-ng needs membership updates (bnc#841010) +- controld: allow the stonith-enabled check to be overridden + (bnc#842186, fate#315195) +- attrd: Avoid infinite write loop for unknown peers +- tools: Detect orphaned remote-nodes when setting attributes +- controld: don't start dlm if stonith-enabled is false (bnc#842186, fate#315195) +- pengine: Probe container nodes +- crmd: Tell attrd when remote-node is disconnected +- attrd: Give remote-nodes ability to set attributes with attrd +- Upstream version cs: c68919f46bbaa96ec4ff2c770f82588280277fe6 + +------------------------------------------------------------------- +Wed Sep 25 06:19:58 UTC 2013 - lmb@suse.com + +- crmd: Expose "expected-quorum-votes" option in the metadata only for plugin-based clusters +- decode_transition_key: Older systems do not support '%ms' in + sscanf +- cib: Guard against overly long user specified strings +- crm_shadow: Simplify prompt generation and impose a sane limit on + length +- fencing: Skip empty notifications from the cib +- election: Do not update state when ACKs arrive +- cib: Additional logging for invalid diff updates +- cib: Correctly check for archived configuration files +- crmd: Reliably detect and act on reprobe operations from the policy + engine +- crm_mon: Do not display duplicates of failed actions +- crm_node: Display partition output in sorted order +- cib: Allow values to be added/updated and removed in a single update +- attrd: Use the truely atomic version where CPG is used for cluster communication +- attrd: Untested reimplementation of a truely atomic attrd +- election: Track the election state and allow it to be queried +- crm_resource: Handle --ban for master/slave resources as advertised + (rhbz#902407) +- xml: Location constraints are allowed to specify a role +- Review and refresh all patches to apply without fuzz. +- Upstream version cs: 144c2fc4b2f50623cbc87bf20788717e0b058a38 + ------------------------------------------------------------------- Tue Sep 24 13:27:53 UTC 2013 - ygao@suse.com From 471a9e5eed8602264122d6240d2c1a96eaae5d65c9843ba5b0033e1c9a78b546 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 11 Oct 2013 09:04:38 +0000 Subject: [PATCH 2/6] Accepting request 202757 from network:ha-clustering:Factory auto commit by copy to link target OBS-URL: https://build.opensuse.org/request/show/202757 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=66 --- pacemaker.changes | 64 ----------------------------------------------- 1 file changed, 64 deletions(-) diff --git a/pacemaker.changes b/pacemaker.changes index 545048f..267b300 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -62,70 +62,6 @@ Wed Sep 25 06:19:58 UTC 2013 - lmb@suse.com - Review and refresh all patches to apply without fuzz. - Upstream version cs: 144c2fc4b2f50623cbc87bf20788717e0b058a38 -------------------------------------------------------------------- -Thu Oct 3 01:58:54 UTC 2013 - ygao@suse.com - -- fencing: Allow fencing for node after topology entries are deleted -- fencing: Do not broadcast suicide if the on action is being executed -- remote: Option to enable/disable probes on container resource remote-nodes -- lrmd: Correctly cancel monitor actions for lsb/systemd/service resources on cleaning up (bnc#842471) -- services: Fix the executing of synchronous actions -- Upstream version cs: 728ec77851540f9ce64ee1b1269d967841571b25 - -------------------------------------------------------------------- -Sun Sep 29 05:12:24 UTC 2013 - ygao@suse.com - -- PE: Add a special attribute for distinguishing between real nodes and containers in constraint rules -- PE: Allow location constraints to take a regex pattern to match against resource IDs -- Bug rhbz#1011618 - Consistently use 'Slave' as the role for unpromoted master/slave resources -- cibadmin: Report errors during sign-off -- Fencing: Observe pcmk_host_list during automatic unfencing -- services: Prevent use-of-NULL when executing service actions -- crm_resource: Provide a meaningful error if --master is used for primitives and groups -- ipc: Raise the default buffer size to 128k (bnc#838358) -- Upstream version cs: ecd44e642db3b65ee83aceed0e93376894a58c47 - -------------------------------------------------------------------- -Wed Sep 25 06:37:41 UTC 2013 - lmb@suse.com - -- plugin: stonith-ng needs membership updates (bnc#841010) -- controld: allow the stonith-enabled check to be overridden - (bnc#842186, fate#315195) -- attrd: Avoid infinite write loop for unknown peers -- tools: Detect orphaned remote-nodes when setting attributes -- controld: don't start dlm if stonith-enabled is false (bnc#842186, fate#315195) -- pengine: Probe container nodes -- crmd: Tell attrd when remote-node is disconnected -- attrd: Give remote-nodes ability to set attributes with attrd -- Upstream version cs: c68919f46bbaa96ec4ff2c770f82588280277fe6 - -------------------------------------------------------------------- -Wed Sep 25 06:19:58 UTC 2013 - lmb@suse.com - -- crmd: Expose "expected-quorum-votes" option in the metadata only for plugin-based clusters -- decode_transition_key: Older systems do not support '%ms' in - sscanf -- cib: Guard against overly long user specified strings -- crm_shadow: Simplify prompt generation and impose a sane limit on - length -- fencing: Skip empty notifications from the cib -- election: Do not update state when ACKs arrive -- cib: Additional logging for invalid diff updates -- cib: Correctly check for archived configuration files -- crmd: Reliably detect and act on reprobe operations from the policy - engine -- crm_mon: Do not display duplicates of failed actions -- crm_node: Display partition output in sorted order -- cib: Allow values to be added/updated and removed in a single update -- attrd: Use the truely atomic version where CPG is used for cluster communication -- attrd: Untested reimplementation of a truely atomic attrd -- election: Track the election state and allow it to be queried -- crm_resource: Handle --ban for master/slave resources as advertised - (rhbz#902407) -- xml: Location constraints are allowed to specify a role -- Review and refresh all patches to apply without fuzz. -- Upstream version cs: 144c2fc4b2f50623cbc87bf20788717e0b058a38 - ------------------------------------------------------------------- Tue Sep 24 13:27:53 UTC 2013 - ygao@suse.com From afaf028721a08310979061a888271915ab1d8838fdaa642080446523cd77543a Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Wed, 16 Oct 2013 04:23:54 +0000 Subject: [PATCH 3/6] - Cluster: On cluster signoff, make sure that the g_source gets disconnected. - crmd: Using PCMK_ipc_buffer variable for remote-node proxy - plugin: Reset the scheduling policy of daemons to SCHED_OTHER with nice value -10 (bnc#843647) - ipc: Compress msgs based on client's actual max send size - pengine: Do not probe for connection resources - Upstream version cs: 490e695539630cfc158c5967a99237659fac5f30 Add the bug numbers for those that have been fixed: - crmd: Everyone who gets a fencing notification should mark the node as down (bnc#842915) - crmd: Initiate node shutdown if another node claims to have successfully fenced us (bnc#842915) - Fencing: Restore the ability to manually confirm that fencing completed (bnc#843699) OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=67 --- pacemaker.changes | 16 +++++++++++++--- pacemaker.tar.bz2 | 4 ++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/pacemaker.changes b/pacemaker.changes index 267b300..46d4991 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Oct 16 02:46:19 UTC 2013 - ygao@suse.com + +- Cluster: On cluster signoff, make sure that the g_source gets disconnected. +- crmd: Using PCMK_ipc_buffer variable for remote-node proxy +- plugin: Reset the scheduling policy of daemons to SCHED_OTHER with nice value -10 (bnc#843647) +- ipc: Compress msgs based on client's actual max send size +- pengine: Do not probe for connection resources +- Upstream version cs: 490e695539630cfc158c5967a99237659fac5f30 + ------------------------------------------------------------------- Thu Oct 3 01:58:54 UTC 2013 - ygao@suse.com @@ -276,8 +286,8 @@ Fri Jun 21 04:44:12 UTC 2013 - ygao@suse.com - PE: Allow active nodes in our current membership to be fenced without quorum - PE: If fencing is unavailable or disabled, block further recovery for resources that fail to stop - crm_resource: Avoid whitespace in transition keys when cleaning up and failing resources -- crmd: Everyone who gets a fencing notification should mark the node as down -- crmd: Initiate node shutdown if another node claims to have successfully fenced us +- crmd: Everyone who gets a fencing notification should mark the node as down (bnc#842915) +- crmd: Initiate node shutdown if another node claims to have successfully fenced us (bnc#842915) - crm_resource: Correctly implement --master - crm_resource: Support OCF tracing when using --force-(check|start|stop) - lrmd: Make lrmd and pacemaker_remoted in charge of setting up rsc state folder @@ -331,7 +341,7 @@ Tue May 28 08:50:43 UTC 2013 - ygao@suse.com - crm_resource: Do not crash when calling --force-start on an invalid resource - ping: Ensure OCF_RESKEY_failure_score has a value (bnc#831327) - PE: Unlink pengine output files before writing. -- Fencing: Restore the ability to manually confirm that fencing completed +- Fencing: Restore the ability to manually confirm that fencing completed (bnc#843699) - Fix: Resolve several memory leaks and improper dereferencing of pointers - PE: cl#5155 - Block the stop of resources if any depending resource is unmanaged (bnc#816511) - crmd: Insert async failures so that they appear in the correct order diff --git a/pacemaker.tar.bz2 b/pacemaker.tar.bz2 index e23a81d..13cd9f8 100644 --- a/pacemaker.tar.bz2 +++ b/pacemaker.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:30686813c90c8df83802f66a45fc631fa69a1f5218b66e27cde3a5adb6366e5f -size 8818474 +oid sha256:72bbe762e3ab64e53402c5f139e73d7b7f539ef69cbe18c748076e342146cd0c +size 8818302 From 3fa40994ca7942e7216e5de2c6606da1bb877df73786583ee4394a411ddcb49e Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Thu, 17 Oct 2013 06:50:55 +0000 Subject: [PATCH 4/6] - crm_resource: Wait for a reply for each request to crmd (bnc#842204) - Upstream version cs: 7afb87c8caa96d3c1ed9a353ae6061023a729fd4 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=68 --- pacemaker.changes | 6 ++++++ pacemaker.tar.bz2 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pacemaker.changes b/pacemaker.changes index 46d4991..a8f2a2e 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 17 06:43:26 UTC 2013 - ygao@suse.com + +- crm_resource: Wait for a reply for each request to crmd (bnc#842204) +- Upstream version cs: 7afb87c8caa96d3c1ed9a353ae6061023a729fd4 + ------------------------------------------------------------------- Wed Oct 16 02:46:19 UTC 2013 - ygao@suse.com diff --git a/pacemaker.tar.bz2 b/pacemaker.tar.bz2 index 13cd9f8..f6a5261 100644 --- a/pacemaker.tar.bz2 +++ b/pacemaker.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:72bbe762e3ab64e53402c5f139e73d7b7f539ef69cbe18c748076e342146cd0c -size 8818302 +oid sha256:4fc288a6ed38089e4b0e5d45ae88766ba0c8daa83874c7ce0e3df1ea5bf16d58 +size 8818358 From 1cdccc0e11c48793d7e7434bc23d8b870885c62e83fd7fc6872dd7cd2e398648 Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Tue, 22 Oct 2013 10:55:06 +0000 Subject: [PATCH 5/6] - iso8601: Prevent dates from jumping backwards a day in some timezones - crm_master: Avoid sending redundant "--node" options to crm_attribute (bnc#846360) - ipc: Client buffer size must never fall below our max read size - ipc: Ensure buffer environment variable is read before setting max buffer len - fencing: Deep copy current topology level list on remote op - Upstream version cs: afdce1faecf82c778ed81eb5eb9b7518d36a1160 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=69 --- pacemaker.changes | 10 ++++++++++ pacemaker.tar.bz2 | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pacemaker.changes b/pacemaker.changes index a8f2a2e..a20c55c 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Oct 22 10:50:29 UTC 2013 - ygao@suse.com + +- iso8601: Prevent dates from jumping backwards a day in some timezones +- crm_master: Avoid sending redundant "--node" options to crm_attribute (bnc#846360) +- ipc: Client buffer size must never fall below our max read size +- ipc: Ensure buffer environment variable is read before setting max buffer len +- fencing: Deep copy current topology level list on remote op +- Upstream version cs: afdce1faecf82c778ed81eb5eb9b7518d36a1160 + ------------------------------------------------------------------- Thu Oct 17 06:43:26 UTC 2013 - ygao@suse.com diff --git a/pacemaker.tar.bz2 b/pacemaker.tar.bz2 index f6a5261..09166ef 100644 --- a/pacemaker.tar.bz2 +++ b/pacemaker.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4fc288a6ed38089e4b0e5d45ae88766ba0c8daa83874c7ce0e3df1ea5bf16d58 -size 8818358 +oid sha256:5dfb710c87072037d1f1609246c2c034babddc8debe1954f8dfe4c9f42db0cc8 +size 8820516 From ffa8d41ef3e0451916c83e808807998bab270ba9d00b5af919cf8957664cc411 Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Thu, 24 Oct 2013 03:49:47 +0000 Subject: [PATCH 6/6] Accepting request 204334 from home:Andreas_Schwab:Factory - Disable -Wcast-align on problematic files OBS-URL: https://build.opensuse.org/request/show/204334 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=70 --- pacemaker-Wno-cast-align.patch | 13 +++++++++++++ pacemaker.changes | 5 +++++ pacemaker.spec | 6 ++++-- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 pacemaker-Wno-cast-align.patch diff --git a/pacemaker-Wno-cast-align.patch b/pacemaker-Wno-cast-align.patch new file mode 100644 index 0000000..8d25cfd --- /dev/null +++ b/pacemaker-Wno-cast-align.patch @@ -0,0 +1,13 @@ +Index: pacemaker/lib/common/Makefile.am +=================================================================== +--- pacemaker.orig/lib/common/Makefile.am ++++ pacemaker/lib/common/Makefile.am +@@ -32,6 +32,8 @@ lib_LTLIBRARIES = libcrmcommon.la + + CFLAGS = $(CFLAGS_COPY:-Wcast-qual=) -fPIC + ++ipc.lo remote.lo: CFLAGS += -Wno-cast-align ++ + libcrmcommon_la_SOURCES = ipc.c utils.c xml.c iso8601.c remote.c mainloop.c logging.c + if BUILD_CIBSECRETS + libcrmcommon_la_SOURCES += cib_secrets.c diff --git a/pacemaker.changes b/pacemaker.changes index a20c55c..386d23f 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Oct 22 15:03:31 UTC 2013 - schwab@suse.de + +- Disable -Wcast-align on problematic files + ------------------------------------------------------------------- Tue Oct 22 10:50:29 UTC 2013 - ygao@suse.com diff --git a/pacemaker.spec b/pacemaker.spec index 3d9c484..38d59b3 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -28,9 +28,9 @@ # Needed so that the -devel package is multilib compliant %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') -#%global rawhide %(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?) +#%%global rawhide %%(test ! -e /etc/yum.repos.d/fedora-rawhide.repo; echo $?) %global rawhide 0 -#%global cs_version %(pkg-config corosync --modversion | awk -F . '{print $1}') +#%%global cs_version %%(pkg-config corosync --modversion | awk -F . '{print $1}') %global cs_version 2 %global py_site %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))") @@ -114,6 +114,7 @@ Patch7: pacemaker-nagios-plugin-dir.patch Patch8: bug-812269_pacemaker-fencing-update-cib.patch Patch9: bug-800323_pacemaker-crm_mon-save-cib.patch Patch10: bug-812269_pacemaker-fencing-device-register-messages.patch +Patch11: pacemaker-Wno-cast-align.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: pacemaker-ticket-support = 2.0 Conflicts: heartbeat < 3.0 @@ -400,6 +401,7 @@ manager for Corosync, CMAN and/or Linux-HA. %patch8 -p1 %patch9 -p1 %patch10 -p1 +%patch11 -p1 # Force the local time #