Hello community,
here is the log from the commit of package pacemaker for openSUSE:Factory checked in at 2019-04-05 11:55:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pacemaker (Old)
and /work/SRC/openSUSE:Factory/.pacemaker.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pacemaker"
Fri Apr 5 11:55:46 2019 rev:128 rq:691761 version:2.0.1+20190402.e091f4f0c
Changes:
--------
--- /work/SRC/openSUSE:Factory/pacemaker/pacemaker.changes 2019-03-12 09:47:29.919608820 +0100
+++ /work/SRC/openSUSE:Factory/.pacemaker.new.3908/pacemaker.changes 2019-04-05 11:55:48.146299389 +0200
@@ -1,0 +2,54 @@
+Thu Apr 4 11:13:13 UTC 2019 - Jan Engelhardt
+
+- Drop %if..%endif guards around %packages which does not
+ affect the build result.
+
+-------------------------------------------------------------------
+Thu Apr 4 09:09:49 UTC 2019 - Yan Gao
+
+- spec: no need to explicitly require the virtual dependency on libqb
+
+-------------------------------------------------------------------
+Thu Apr 4 09:05:55 UTC 2019 - Yan Gao
+
+- Rebase:
+ * bug-728579_pacemaker-stonith-dev-id.patch
+
+- Update to version 2.0.1+20190402.e091f4f0c:
+- scheduler: one group stop shouldn't make another required
+- libcrmcommon: compare_version: drop superfluous heap allocation
+- libfencing: enumerate installed RHCS-style agents alpha-sorted
+- xml diff'ing: prevent 'id' attribute reordering in "diff-removed"
+- libcrmcommon: downplay "Creating RNG parser context" as debug prio
+- controller: improve failed recurring action messages
+- controller: improve lost action logs
+- use common service interface for fence-agents and RAs
+- libcrmcommon: allow whitespace in name/value pairs
+- libcrmcommon: pcmk_nvpair_t should handle NULL values
+
+-------------------------------------------------------------------
+Wed Mar 13 11:19:11 UTC 2019 - Yan Gao
+
+- Update to version 2.0.1+20190312.059e2e26b:
+- spec: move stonith_admin to -cli where it belongs
+- tools: Add crm_rule.
+
+-------------------------------------------------------------------
+Tue Mar 12 10:41:19 UTC 2019 - Yan Gao
+
+- Update to version 2.0.1+20190311.e91ee92e5:
+- libfencing: Change return type on stonith_agent_exists.
+- scheduler: cl#5301 - respect order constraints when relevant resources are being probed (bsc#1117934, bsc#1128374)
+
+-------------------------------------------------------------------
+Wed Mar 6 16:34:53 UTC 2019 - Yan Gao
+
+- Update to version 2.0.1+20190304.1ac166cd3:
+- build: Update pkgconfig files for libpe.
+- libp-i: Add a pkgconfig file for libp-i.
+- libs: Rename libpengine to libpacemaker-internal.
+- tools: Add new validate options to crm_resource.
+- Add HealthIOWait provider which checks hosts's IOWait
+- tools: crm_resource --clear should print out what it does
+
+-------------------------------------------------------------------
@@ -345 +399 @@
-- libcrmcluster: avoid use-of-NULL when searching for remote node
+- libcrmcluster: avoid use-of-NULL when searching for remote node (bsc#1128772)
Old:
----
pacemaker-2.0.1+20190304.9e909a5bd.tar.xz
New:
----
pacemaker-2.0.1+20190402.e091f4f0c.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ pacemaker.spec ++++++
--- /var/tmp/diff_new_pack.JAIN4j/_old 2019-04-05 11:55:49.278300302 +0200
+++ /var/tmp/diff_new_pack.JAIN4j/_new 2019-04-05 11:55:49.294300315 +0200
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -74,7 +74,7 @@
%endif
Name: pacemaker
-Version: 2.0.1+20190304.9e909a5bd
+Version: 2.0.1+20190402.e091f4f0c
Release: 0
Summary: Scalable High-Availability cluster resource manager
# AGPL-3.0 licensed extra/clustermon.sh is not present in the binary
@@ -132,7 +132,6 @@
Requires: %{name}-cli = %{version}-%{release}
Requires: corosync >= 2.0.0
Requires: libpacemaker3 = %{version}-%{release}
-Requires: libqb > 0.13.0
Requires: psmisc
Requires: python3
Requires: resource-agents
@@ -216,7 +215,6 @@
The libpacemaker3 package contains shared libraries needed for cluster
nodes and those just running the CLI tools.
-%if %{enable_lib_cluster_pkg}
%package -n libpacemaker3-cluster
Summary: Cluster Libraries used by Pacemaker
Group: Productivity/Clustering/HA
@@ -228,7 +226,6 @@
The libpacemaker3-cluster package contains cluster-aware shared
libraries needed for nodes that will form part of the cluster nodes.
-%endif
%package remote
Summary: Pacemaker remote daemon for non-cluster nodes
@@ -291,7 +288,6 @@
%description cts
Test framework for cluster-related technologies like Pacemaker
-%if %{with doc}
%package doc
Summary: Documentation for Pacemaker
Group: Productivity/Clustering/HA
@@ -302,7 +298,6 @@
Pacemaker is an advanced, scalable High-Availability cluster resource
manager.
-%endif
%prep
%setup -q -n %{name}-%{version}
@@ -502,7 +497,6 @@
%{_sbindir}/cibsecret
%{_sbindir}/fence_legacy
-%{_sbindir}/stonith_admin
%{_mandir}/man7/pacemaker-controld.7%{ext_man}
%{_mandir}/man7/pacemaker-schedulerd.7%{ext_man}
@@ -513,7 +507,6 @@
%{_mandir}/man8/cibsecret.8%{ext_man}
%{_mandir}/man8/fence_legacy.8%{ext_man}
%{_mandir}/man8/pacemakerd.8%{ext_man}
-%{_mandir}/man8/stonith_admin.8%{ext_man}
%doc %{_datadir}/pacemaker/alerts
@@ -550,7 +543,9 @@
%{_sbindir}/crm_simulate
%{_sbindir}/crm_report
%{_sbindir}/crm_report.pacemaker
+%{_sbindir}/crm_rule
%{_sbindir}/crm_ticket
+%{_sbindir}/stonith_admin
%exclude %{_datadir}/pacemaker/alerts
%exclude %{_datadir}/pacemaker/tests
%{_datadir}/pacemaker
@@ -578,7 +573,6 @@
%exclude %{_mandir}/man8/fence_legacy.*
%exclude %{_mandir}/man8/pacemakerd.*
%exclude %{_mandir}/man8/pacemaker-remoted.*
-%exclude %{_mandir}/man8/stonith_admin.*
#%license licenses/GPLv2
%doc COPYING ChangeLog
@@ -598,7 +592,7 @@
%{_libdir}/libcrmcommon.so.*
%{_libdir}/libpe_status.so.*
%{_libdir}/libpe_rules.so.*
-%{_libdir}/libpengine.so.*
+%{_libdir}/libpacemaker-internal.so.*
%{_libdir}/libstonithd.so.*
%{_libdir}/libtransitioner.so.*
#%license licenses/LGPLv2.1
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.JAIN4j/_old 2019-04-05 11:55:49.406300406 +0200
+++ /var/tmp/diff_new_pack.JAIN4j/_new 2019-04-05 11:55:49.406300406 +0200
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/ClusterLabs/pacemaker.git</param>
- <param name="changesrevision">37cfc8a6175ee951c17ad85fba6d143359610f81</param>
+ <param name="changesrevision">9bf0fcf37d50854b087a28003f2d9f7ca94601e0</param>
</service>
</servicedata>
\ No newline at end of file
++++++ bug-728579_pacemaker-stonith-dev-id.patch ++++++
--- /var/tmp/diff_new_pack.JAIN4j/_old 2019-04-05 11:55:49.442300435 +0200
+++ /var/tmp/diff_new_pack.JAIN4j/_new 2019-04-05 11:55:49.442300435 +0200
@@ -4,11 +4,11 @@
Medium: stonith: Expose IDs of stonith resources to stonith agents through "$CRM_meta_st_device_id" environment variable
-Index: pacemaker-2.0.0+20180726.3d81c89b8/daemons/fenced/fenced_commands.c
+Index: pacemaker-2.0.1+20190402.e091f4f0c/daemons/fenced/fenced_commands.c
===================================================================
---- pacemaker-2.0.0+20180726.3d81c89b8.orig/daemons/fenced/fenced_commands.c
-+++ pacemaker-2.0.0+20180726.3d81c89b8/daemons/fenced/fenced_commands.c
-@@ -940,6 +940,7 @@ build_device_from_xml(xmlNode * msg)
+--- pacemaker-2.0.1+20190402.e091f4f0c.orig/daemons/fenced/fenced_commands.c
++++ pacemaker-2.0.1+20190402.e091f4f0c/daemons/fenced/fenced_commands.c
+@@ -946,6 +946,7 @@ build_device_from_xml(xmlNode * msg)
device->id, device->on_target_actions);
}
@@ -16,27 +16,27 @@
device->work = mainloop_add_trigger(G_PRIORITY_HIGH, stonith_device_dispatch, device);
/* TODO: Hook up priority */
-Index: pacemaker-2.0.0+20180726.3d81c89b8/lib/fencing/st_client.c
+Index: pacemaker-2.0.1+20190402.e091f4f0c/lib/fencing/st_client.c
===================================================================
---- pacemaker-2.0.0+20180726.3d81c89b8.orig/lib/fencing/st_client.c
-+++ pacemaker-2.0.0+20180726.3d81c89b8/lib/fencing/st_client.c
-@@ -38,6 +38,7 @@ struct stonith_action_s {
+--- pacemaker-2.0.1+20190402.e091f4f0c.orig/lib/fencing/st_client.c
++++ pacemaker-2.0.1+20190402.e091f4f0c/lib/fencing/st_client.c
+@@ -39,6 +39,7 @@ struct stonith_action_s {
char *action;
char *victim;
- char *args;
+ GHashTable *args;
+ char *dev_id;
int timeout;
int async;
void *userdata;
-@@ -621,6 +622,7 @@ stonith__destroy_action(stonith_action_t
- free(action->args);
- free(action->action);
- free(action->victim);
+@@ -559,6 +560,7 @@ stonith__destroy_action(stonith_action_t
+ }
+ free(action->output);
+ free(action->error);
+ free(action->dev_id);
free(action);
}
}
-@@ -690,6 +692,8 @@ stonith_action_create(const char *agent,
+@@ -628,6 +630,8 @@ stonith_action_create(const char *agent,
if (device_args) {
char buffer[512];
const char *value = NULL;
@@ -45,7 +45,7 @@
snprintf(buffer, sizeof(buffer), "pcmk_%s_retries", _action);
value = g_hash_table_lookup(device_args, buffer);
-@@ -697,6 +701,11 @@ stonith_action_create(const char *agent,
+@@ -635,6 +639,11 @@ stonith_action_create(const char *agent,
if (value) {
action->max_retries = atoi(value);
}
@@ -57,23 +57,43 @@
}
return action;
-@@ -878,6 +887,8 @@ internal_stonith_action_execute(stonith_
-
- if (!pid) {
- /* child */
-+ const char *st_dev_id_key = CRM_META "_" F_STONITH_DEVICE;
+@@ -755,6 +764,10 @@ internal_stonith_action_execute(stonith_
+ svc_action->params = action->args;
+ svc_action->cb_data = (void *) action;
+
++ if (action->dev_id) {
++ svc_action->rsc = strdup(action->dev_id);
++ }
+
- setpgid(0, 0);
+ /* keep retries from executing out of control and free previous results */
+ if (is_retry) {
+ free(action->output);
+Index: pacemaker-2.0.1+20190402.e091f4f0c/lib/services/services_linux.c
+===================================================================
+--- pacemaker-2.0.1+20190402.e091f4f0c.orig/lib/services/services_linux.c
++++ pacemaker-2.0.1+20190402.e091f4f0c/lib/services/services_linux.c
+@@ -30,6 +30,9 @@
+ #include "crm/common/mainloop.h"
+ #include "crm/services.h"
- close(1);
-@@ -900,6 +911,10 @@ internal_stonith_action_execute(stonith_
- close(p_write_fd);
- close(p_stderr_fd);
++#include "crm/stonith-ng.h"
++#include "crm/fencing/internal.h"
++
+ #include "services_private.h"
-+ if (action->dev_id) {
-+ setenv(st_dev_id_key, action->dev_id, 1);
-+ }
+ #if SUPPORT_CIBSECRETS
+@@ -169,6 +172,14 @@ set_ocf_env_with_prefix(gpointer key, gp
+ static void
+ add_action_env_vars(const svc_action_t *op)
+ {
++ if (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_STONITH)
++ && safe_str_eq(op->agent, "fence_legacy")
++ && op->rsc) {
++ const char *st_dev_id_key = CRM_META "_" F_STONITH_DEVICE;
+
- /* keep retries from executing out of control */
- if (is_retry) {
- sleep(1);
++ setenv(st_dev_id_key, op->rsc, 1);
++ }
++
+ if (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF) == FALSE) {
+ return;
+ }
++++++ pacemaker-2.0.1+20190304.9e909a5bd.tar.xz -> pacemaker-2.0.1+20190402.e091f4f0c.tar.xz ++++++
++++ 57799 lines of diff (skipped)