From 158655be13ed512c256b5f24937696b498d9116677c2803040db76acc139376f Mon Sep 17 00:00:00 2001 From: Yan Gao Date: Mon, 9 Apr 2018 15:40:11 +0000 Subject: [PATCH] Accepting request 594934 from home:yan_gao:branches:network:ha-clustering:Factory:Test - Update to version 1.1.18+20180406.633845120: - libcrmcommon: add a byte to pid file holder - attrd,cib,libcrmcommon: avoid %z - crmd: avoid memory leak when synthesizing operation result - tools: avoid memory leak on invalid resource - crmd: log rc code as extended information - cib: avoid file descriptor leak on temporary file creation - pengine: avoid redundant test - libcrmcommon: handle compression failures properly - libcrmcommon: improve empty string check - various: improve NULL checks - libcrmcommon: improve patch xpath searches - libcrmcommon,tools: use format strings appropriate to variables - libcrmcommon: use correct argument type for duration - libcrmcluster: avoid potential use-of-NULL - libcrmcommon,libstonithd: avoid resource leaks - tools: get sensor lun in ipmiservicelogd before using it - schema upgrade: temporary fix to avoid crash on newly present text - Update to version 1.1.18+20180406.ce623681e: - fencing: convert fence_legacy to python - fencing: fix typos in messages - Update to version 1.1.18+20180406.18fe1cc2b: - XML: upgrade-2.10.xsl: add transform for automatic upgrades to latest schema - Log: establish correct character string literals also with qb_logt sink - pengine: fix swapped warning message arguments leading to segfault - cts-pengine: add regression test for notifications for unrunnable actions - cts-pengine: update regression tests for notification changes - rhbz#1545449 - Do not perform notifications for events we know wont be executed OBS-URL: https://build.opensuse.org/request/show/594934 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=302 --- _servicedata | 2 +- bug-806256_pacemaker-log-level-notice.patch | 28 ++++----- pacemaker-1.1.18+20180313.2c83c6872.tar.xz | 3 - pacemaker-1.1.18+20180406.633845120.tar.xz | 3 + pacemaker.changes | 64 +++++++++++++++++++++ pacemaker.spec | 6 +- 6 files changed, 85 insertions(+), 21 deletions(-) delete mode 100644 pacemaker-1.1.18+20180313.2c83c6872.tar.xz create mode 100644 pacemaker-1.1.18+20180406.633845120.tar.xz diff --git a/_servicedata b/_servicedata index b56cdfd..bb73cd1 100644 --- a/_servicedata +++ b/_servicedata @@ -1,6 +1,6 @@ git://github.com/ClusterLabs/pacemaker.git - 63b842c8e951c5e7efa6ccfed393c23eae850b19 + 633845120c493da6853b4f61138582ba820a7a0e \ No newline at end of file diff --git a/bug-806256_pacemaker-log-level-notice.patch b/bug-806256_pacemaker-log-level-notice.patch index e33ee69..6e73ec5 100644 --- a/bug-806256_pacemaker-log-level-notice.patch +++ b/bug-806256_pacemaker-log-level-notice.patch @@ -4,11 +4,11 @@ Date: Thu Mar 14 09:41:53 2013 +0800 Log: Change some messages to notice level (bnc#806256) -Index: pacemaker-1.1.17+20170727.d134f83b4/crmd/membership.c +Index: pacemaker-1.1.18+20180406.633845120/crmd/membership.c =================================================================== ---- pacemaker-1.1.17+20170727.d134f83b4.orig/crmd/membership.c -+++ pacemaker-1.1.17+20170727.d134f83b4/crmd/membership.c -@@ -434,7 +434,7 @@ crm_update_quorum(gboolean quorum, gbool +--- pacemaker-1.1.18+20180406.633845120.orig/crmd/membership.c ++++ pacemaker-1.1.18+20180406.633845120/crmd/membership.c +@@ -426,7 +426,7 @@ crm_update_quorum(gboolean quorum, gbool crm_xml_add(update, XML_ATTR_DC_UUID, fsa_our_uuid); fsa_cib_update(XML_TAG_CIB, update, call_options, call_id, NULL); @@ -17,23 +17,23 @@ Index: pacemaker-1.1.17+20170727.d134f83b4/crmd/membership.c fsa_register_cib_callback(call_id, FALSE, NULL, cib_quorum_update_complete); free_xml(update); -Index: pacemaker-1.1.17+20170727.d134f83b4/crmd/tengine.c +Index: pacemaker-1.1.18+20180406.633845120/crmd/tengine.c =================================================================== ---- pacemaker-1.1.17+20170727.d134f83b4.orig/crmd/tengine.c -+++ pacemaker-1.1.17+20170727.d134f83b4/crmd/tengine.c -@@ -214,7 +214,7 @@ do_te_invoke(long long action, - destroy_graph(transition_graph); - transition_graph = unpack_graph(graph_data, graph_input); - CRM_CHECK(transition_graph != NULL, transition_graph = create_blank_graph(); return); +--- pacemaker-1.1.18+20180406.633845120.orig/crmd/tengine.c ++++ pacemaker-1.1.18+20180406.633845120/crmd/tengine.c +@@ -188,7 +188,7 @@ do_te_invoke(long long action, + transition_graph = create_blank_graph(); + return; + } - crm_info("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref, + crm_notice("Processing graph %d (ref=%s) derived from %s", transition_graph->id, ref, graph_input); te_reset_job_counts(); -Index: pacemaker-1.1.17+20170727.d134f83b4/fencing/remote.c +Index: pacemaker-1.1.18+20180406.633845120/fencing/remote.c =================================================================== ---- pacemaker-1.1.17+20170727.d134f83b4.orig/fencing/remote.c -+++ pacemaker-1.1.17+20170727.d134f83b4/fencing/remote.c +--- pacemaker-1.1.18+20180406.633845120.orig/fencing/remote.c ++++ pacemaker-1.1.18+20180406.633845120/fencing/remote.c @@ -576,7 +576,7 @@ remote_op_timeout(gpointer userdata) return FALSE; } diff --git a/pacemaker-1.1.18+20180313.2c83c6872.tar.xz b/pacemaker-1.1.18+20180313.2c83c6872.tar.xz deleted file mode 100644 index 572b32d..0000000 --- a/pacemaker-1.1.18+20180313.2c83c6872.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ee0370b0ddb8f672ce94c855379c103688eae7a8ab658b054ed1b6626a17e7d2 -size 3239812 diff --git a/pacemaker-1.1.18+20180406.633845120.tar.xz b/pacemaker-1.1.18+20180406.633845120.tar.xz new file mode 100644 index 0000000..e38a21c --- /dev/null +++ b/pacemaker-1.1.18+20180406.633845120.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a8dcf20edf5c7d01201771b805e2a2cec5c8fa65558a261ee3b9bb2330b2eb1 +size 3260056 diff --git a/pacemaker.changes b/pacemaker.changes index b2f96b0..7c86839 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,67 @@ +------------------------------------------------------------------- +Mon Apr 9 09:19:28 UTC 2018 - ygao@suse.com + +- Update to version 1.1.18+20180406.633845120: +- libcrmcommon: add a byte to pid file holder +- attrd,cib,libcrmcommon: avoid %z +- crmd: avoid memory leak when synthesizing operation result +- tools: avoid memory leak on invalid resource +- crmd: log rc code as extended information +- cib: avoid file descriptor leak on temporary file creation +- pengine: avoid redundant test +- libcrmcommon: handle compression failures properly +- libcrmcommon: improve empty string check +- various: improve NULL checks +- libcrmcommon: improve patch xpath searches +- libcrmcommon,tools: use format strings appropriate to variables +- libcrmcommon: use correct argument type for duration +- libcrmcluster: avoid potential use-of-NULL +- libcrmcommon,libstonithd: avoid resource leaks +- tools: get sensor lun in ipmiservicelogd before using it +- schema upgrade: temporary fix to avoid crash on newly present text + +------------------------------------------------------------------- +Fri Apr 6 15:39:19 UTC 2018 - ygao@suse.com + +- Update to version 1.1.18+20180406.ce623681e: +- fencing: convert fence_legacy to python +- fencing: fix typos in messages + +------------------------------------------------------------------- +Fri Apr 6 14:49:31 UTC 2018 - ygao@suse.com + +- Update to version 1.1.18+20180406.18fe1cc2b: +- XML: upgrade-2.10.xsl: add transform for automatic upgrades to latest schema +- Log: establish correct character string literals also with qb_logt sink +- pengine: fix swapped warning message arguments leading to segfault +- cts-pengine: add regression test for notifications for unrunnable actions +- cts-pengine: update regression tests for notification changes +- rhbz#1545449 - Do not perform notifications for events we know wont be executed +- bundle: Added add-host option. +- liblrmd: add API function for new lrmd op +- lrmd: add new lrmd op to list recurring ops +- spec: require corosync >= 2.0.0 +- crmd,libcrmcommon,libpe_status: guint can't be negative +- xml: Allow local "kind" in resource_set within rsc_order (bsc#1085515) +- Pacemaker Explained: "symmetrical" defaults to "false" for serialize orders (bsc#1085515) +- pengine: "symmetrical" defaults to "false" for serialize orders (bsc#1085515) +- pengine: Avoid potential use-of-NULL in unpack_simple_rsc_order() (bsc#1085515) +- cts-pengine: add new regression test for interval handling +- libpe_status: handle ISO8601 intervals when checking for blocking failures +- pengine: properly cancel recurring monitors +- pengine: improve recurring operation messages +- pengine: check for duplicate intervals properly +- libcrmcommon: avoid misuse of crm_get_msec() +- pengine: treat reconnect_interval more consistently with action intervals +- libpe_status: use default timeout rather than 0 if timeout spec is bad +- libpe_status: use correct default timeout for monitors + +------------------------------------------------------------------- +Fri Mar 23 13:19:39 UTC 2018 - ygao@suse.com + +- Update to version 1.1.18+20180322.d37067b2a: +- spec: Make sure shadow package is installed before adding user and group + ------------------------------------------------------------------- Tue Mar 13 18:53:03 UTC 2018 - ygao@suse.com diff --git a/pacemaker.spec b/pacemaker.spec index 8443150..af69244 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -71,7 +71,7 @@ %endif Name: pacemaker -Version: 1.1.18+20180313.2c83c6872 +Version: 1.1.18+20180406.633845120 Release: 0 Summary: Scalable High-Availability cluster resource manager # AGPL-3.0 licensed extra/clustermon.sh is not present in the binary @@ -128,7 +128,7 @@ BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(uuid) Requires: %{name}-cli = %{version}-%{release} -Requires: corosync +Requires: corosync >= 2.0.0 Requires: libpacemaker3 = %{version}-%{release} Requires: libqb > 0.13.0 Requires: psmisc @@ -200,7 +200,7 @@ be part of the cluster. %package -n libpacemaker3 Summary: Core Pacemaker libraries Group: Productivity/Clustering/HA -Requires: shadow +Requires(pre): shadow %description -n libpacemaker3 Pacemaker is an advanced, scalable High-Availability cluster resource