Hello community,
here is the log from the commit of package ha-cluster-bootstrap for
openSUSE:Factory checked in at 2016-07-24 19:53:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ha-cluster-bootstrap (Old)
and /work/SRC/openSUSE:Factory/.ha-cluster-bootstrap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ha-cluster-bootstrap"
Changes:
--------
---
/work/SRC/openSUSE:Factory/ha-cluster-bootstrap/ha-cluster-bootstrap.changes
2016-06-14 23:06:51.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ha-cluster-bootstrap.new/ha-cluster-bootstrap.changes
2016-07-24 19:53:38.000000000 +0200
@@ -1,0 +2,13 @@
+Fri Jul 22 12:43:33 UTC 2016 - [email protected]
+
+- Update to version 0.4+git.1469191369.b497afa:
+ * Set pcmk_delay_max=30s for SBD resource (bsc#988356) (bsc#990213)
+
+-------------------------------------------------------------------
+Fri Jul 22 09:07:13 UTC 2016 - [email protected]
+
+- Update to version 0.4+git.1469178371.e8b668d:
+ * Reload corosync configuration if unicast (bsc#989809)
+ * Use ip route to find iface name over netstat which is deprecated
+
+-------------------------------------------------------------------
Old:
----
sleha-bootstrap-0.4+git.1464165931.150e061.tar.bz2
New:
----
sleha-bootstrap-0.4+git.1469191369.b497afa.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ha-cluster-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.ykPFgd/_old 2016-07-24 19:53:39.000000000 +0200
+++ /var/tmp/diff_new_pack.ykPFgd/_new 2016-07-24 19:53:39.000000000 +0200
@@ -18,7 +18,7 @@
Name: ha-cluster-bootstrap
-Version: 0.4+git.1464165931.150e061
+Version: 0.4+git.1469191369.b497afa
Release: 0
Summary: Pacemaker HA Cluster Bootstrap Tool
License: GPL-2.0
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.ykPFgd/_old 2016-07-24 19:53:39.000000000 +0200
+++ /var/tmp/diff_new_pack.ykPFgd/_new 2016-07-24 19:53:39.000000000 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param
name="url">git://github.com/tserong/sleha-bootstrap.git</param>
- <param
name="changesrevision">150e0614205a431ff0bae056a0776f7593f48296</param></service></servicedata>
\ No newline at end of file
+ <param
name="changesrevision">b497afa7d6339ddc13dff9b43a4b1cb50d47b78f</param></service></servicedata>
\ No newline at end of file
++++++ sleha-bootstrap-0.4+git.1464165931.150e061.tar.bz2 ->
sleha-bootstrap-0.4+git.1469191369.b497afa.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sleha-bootstrap-0.4+git.1464165931.150e061/scripts/ha-cluster-functions
new/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-functions
--- old/sleha-bootstrap-0.4+git.1464165931.150e061/scripts/ha-cluster-functions
2016-05-25 10:47:19.000000000 +0200
+++ new/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-functions
2016-07-22 14:43:33.000000000 +0200
@@ -36,7 +36,7 @@
declare BE_QUIET=false
declare YES_TO_ALL=false
-declare NET_IF="$(netstat -nr | grep '^0.0.0.0' | awk '{print ($(NF))}'
2>/dev/null)"
+declare NET_IF="$(ip -o route show default | awk '/default/ {print $5}'
2>/dev/null)"
declare IP_ADDRESS
declare IP_NETWORK
@@ -168,7 +168,7 @@
if ! grep -q '^FW_CONFIGURATIONS_EXT=.*cluster' $SYSCONFIG_FW ;
then
tmp_conf=${SYSCONFIG_FW}.$$
sed \
- -e
's/^\(FW_CONFIGURATIONS_EXT="\)\(.*\)/\1cluster \2/' \
+ -e
's/^\(FW_CONFIGURATIONS_EXT=\"\)\(.*\)/\1cluster \2/' \
$SYSCONFIG_FW > $tmp_conf
install_tmp $tmp_conf $SYSCONFIG_FW
fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sleha-bootstrap-0.4+git.1464165931.150e061/scripts/ha-cluster-init
new/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-init
--- old/sleha-bootstrap-0.4+git.1464165931.150e061/scripts/ha-cluster-init
2016-05-25 10:47:19.000000000 +0200
+++ new/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-init
2016-07-22 14:43:33.000000000 +0200
@@ -621,7 +621,7 @@
# stonith-enabled, or it wipes out then entire
# cib-bootstrap-options section
# TODO: find out if this is a bug in the crm shell
- invoke crm configure primitive stonith-sbd stonith:external/sbd
\
+ invoke crm configure primitive stonith-sbd stonith:external/sbd
params pcmk_delay_max=30s \
|| error "Can't create stonith-sbd primitive"
invoke crm configure property stonith-enabled="true" \
|| error "Can't enable STONITH"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/sleha-bootstrap-0.4+git.1464165931.150e061/scripts/ha-cluster-join
new/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-join
--- old/sleha-bootstrap-0.4+git.1464165931.150e061/scripts/ha-cluster-join
2016-05-25 10:47:19.000000000 +0200
+++ new/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-join
2016-07-22 14:43:33.000000000 +0200
@@ -231,6 +231,12 @@
if crm configure show | grep -q 'no-quorum-policy=.*ignore' ; then
invoke crm_attribute --attr-name no-quorum-policy --delete-attr
fi
+
+ # if unicast, we need to reload the corosync configuration
+ # on the other nodes
+ if grep nodelist < "$COROSYNC_CONF" >/dev/null 2>&1; then
+ crm cluster run 'crm corosync reload'
+ fi
}
#------------------------------------------------------------------------------