Hello community,

here is the log from the commit of package ha-cluster-bootstrap for 
openSUSE:Factory checked in at 2016-10-10 16:21:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-07-24 19:53:38.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.ha-cluster-bootstrap.new/ha-cluster-bootstrap.changes
   2016-10-10 16:21:06.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Oct 06 07:40:14 UTC 2016 - kgronl...@suse.com
+
+- Update to version 0.4+git.1475739556.1088521:
+  * Better corosync defaults (bsc#1001164)
+
+-------------------------------------------------------------------

Old:
----
  sleha-bootstrap-0.4+git.1469191369.b497afa.tar.bz2

New:
----
  sleha-bootstrap-0.4+git.1475739556.1088521.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ha-cluster-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.5MdYZ9/_old  2016-10-10 16:21:09.000000000 +0200
+++ /var/tmp/diff_new_pack.5MdYZ9/_new  2016-10-10 16:21:09.000000000 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           ha-cluster-bootstrap
-Version:        0.4+git.1469191369.b497afa
+Version:        0.4+git.1475739556.1088521
 Release:        0
 Summary:        Pacemaker HA Cluster Bootstrap Tool
 License:        GPL-2.0

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.5MdYZ9/_old  2016-10-10 16:21:09.000000000 +0200
+++ /var/tmp/diff_new_pack.5MdYZ9/_new  2016-10-10 16:21:09.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">b497afa7d6339ddc13dff9b43a4b1cb50d47b78f</param></service></servicedata>
\ No newline at end of file
+          <param 
name="changesrevision">4584e871492e8152bd745b00903d652c33cb727e</param></service></servicedata>
\ No newline at end of file

++++++ sleha-bootstrap-0.4+git.1469191369.b497afa.tar.bz2 -> 
sleha-bootstrap-0.4+git.1475739556.1088521.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-functions 
new/sleha-bootstrap-0.4+git.1475739556.1088521/scripts/ha-cluster-functions
--- old/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-functions 
2016-07-22 14:43:33.000000000 +0200
+++ new/sleha-bootstrap-0.4+git.1475739556.1088521/scripts/ha-cluster-functions 
2016-10-06 09:39:16.000000000 +0200
@@ -29,6 +29,7 @@
 declare -r LOG_FILE=/var/log/ha-cluster-bootstrap.log
 declare -r CSYNC2_KEY=/etc/csync2/key_hagroup
 declare -r CSYNC2_CFG=/etc/csync2/csync2.cfg
+declare -r COROSYNC_AUTH=/etc/corosync/authkey
 declare -r COROSYNC_CONF=/etc/corosync/corosync.conf
 declare -r SYSCONFIG_SBD=/etc/sysconfig/sbd
 declare -r SYSCONFIG_FW=/etc/sysconfig/SuSEfirewall2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-init 
new/sleha-bootstrap-0.4+git.1475739556.1088521/scripts/ha-cluster-init
--- old/sleha-bootstrap-0.4+git.1469191369.b497afa/scripts/ha-cluster-init      
2016-07-22 14:43:33.000000000 +0200
+++ new/sleha-bootstrap-0.4+git.1475739556.1088521/scripts/ha-cluster-init      
2016-10-06 09:39:16.000000000 +0200
@@ -243,14 +243,18 @@
 
 totem {
        version:        2
-
-       crypto_cipher:  none
-       crypto_hash:    none
-
-       secauth:        off
+       secauth:        on
+       crypto_hash:    sha1
+       crypto_cipher:  aes256
        cluster_name:   hacluster
        clear_node_high_bit: yes
 
+       token:          5000
+       token_retransmits_before_loss_const: 10
+       join:           60
+       consensus:      6000
+       max_messages:   20
+
        interface {
                ringnumber:     0
                bindnetaddr:    $bindnetaddr
@@ -334,21 +338,17 @@
 
 totem {
        version:        2
-       secauth:        off
+       secauth:        on
+       crypto_hash:    sha1
+       crypto_cipher:  aes256
        cluster_name:   hacluster
        clear_node_high_bit: yes
 
-# Following are old corosync 1.4.x defaults from SLES
-#      token:          5000
-#      token_retransmits_before_loss_const: 10
-#      join:           60
-#      consensus:      6000
-#      vsftype:        none
-#      max_messages:   20
-#      threads:        0
-
-       crypto_cipher:  none
-       crypto_hash:    none
+       token:          5000
+       token_retransmits_before_loss_const: 10
+       join:           60
+       consensus:      6000
+       max_messages:   20
 
        interface {
                ringnumber:     0
@@ -385,8 +385,21 @@
        invoke csync2 -xv $COROSYNC_CONF
 }
 
+init_corosync_auth()
+{
+       # generate the corosync authkey
+       if [ -f "$COROSYNC_AUTH" ]; then
+               confirm \
+                       "$COROSYNC_AUTH already exists - overwrite?" || return
+               invoke rm -f "$COROSYNC_AUTH"
+       fi
+       invoke corosync-keygen -l
+}
+
 init_corosync()
 {
+       init_corosync_auth
+
        if dmidecode -s system-version | grep '\<.*\.amazon\>'; then
                init_corosync_unicast
        elif $COROSYNC_UNICAST; then


Reply via email to