Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cluster-glue for openSUSE:Factory 
checked in at 2022-05-10 15:11:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cluster-glue (Old)
 and      /work/SRC/openSUSE:Factory/.cluster-glue.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cluster-glue"

Tue May 10 15:11:26 2022 rev:71 rq:975765 
version:1.0.12+v1.git.1650454062.1fbde71c

Changes:
--------
--- /work/SRC/openSUSE:Factory/cluster-glue/cluster-glue.changes        
2021-12-24 20:23:13.054020596 +0100
+++ /work/SRC/openSUSE:Factory/.cluster-glue.new.1538/cluster-glue.changes      
2022-05-10 15:11:33.407541782 +0200
@@ -1,0 +2,15 @@
+Mon May 02 09:29:54 UTC 2022 - [email protected]
+
+- Update to version 1.0.12+v1.git.1650454062.1fbde71c:
+  * bugfix for comment in external/ec2
+  * Update external/ec2 to support IMDSv2
+  * ec2: add the action parameter to the getinfo_xml function
+  * drac3_command: check for truncated url
+  * wti_mpc: fix metadata mib-version description
+  * net-snmp "remote_port" is unused and deprecated since decades
+  * fix for spurious compiler warning -Werror=stringop-overflow=
+  * ipmilan_test: fix for -Werror=uninitialized
+  * fix for -Werror=sizeof-pointer-memaccess
+  * spec: drop /man1/ from file list, no longer used
+
+-------------------------------------------------------------------

Old:
----
  cluster-glue-1.0.12+v1.git.1622055853.1753f5e0.tar.bz2

New:
----
  cluster-glue-1.0.12+v1.git.1650454062.1fbde71c.tar.bz2

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

Other differences:
------------------
++++++ cluster-glue.spec ++++++
--- /var/tmp/diff_new_pack.waT3kM/_old  2022-05-10 15:11:34.419543058 +0200
+++ /var/tmp/diff_new_pack.waT3kM/_new  2022-05-10 15:11:34.423543063 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cluster-glue
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 # Directory where we install documentation
 %global glue_docdir %{_defaultdocdir}/%{name}
 Name:           cluster-glue
-Version:        1.0.12+v1.git.1622055853.1753f5e0
+Version:        1.0.12+v1.git.1650454062.1fbde71c
 Release:        0
 Summary:        Reusable cluster components
 License:        GPL-2.0-only AND LGPL-2.1-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.waT3kM/_old  2022-05-10 15:11:34.459543108 +0200
+++ /var/tmp/diff_new_pack.waT3kM/_new  2022-05-10 15:11:34.463543114 +0200
@@ -1,6 +1,6 @@
 <services>
   <service name="tar_scm" mode="disabled">
-    <param name="url">git://github.com/ClusterLabs/cluster-glue.git</param>
+    <param name="url">https://github.com/ClusterLabs/cluster-glue.git</param>
     <param name="scm">git</param>
     <param name="filename">cluster-glue</param>
     <param name="versionformat">1.0.12+v1.git.%ct.%h</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.waT3kM/_old  2022-05-10 15:11:34.483543138 +0200
+++ /var/tmp/diff_new_pack.waT3kM/_new  2022-05-10 15:11:34.487543143 +0200
@@ -1,6 +1,8 @@
 <servicedata>
 <service name="tar_scm">
             <param 
name="url">git://github.com/ClusterLabs/cluster-glue.git</param>
-          <param 
name="changesrevision">958bd9035b926871171198c2c7fd2778bc4c371c</param></service></servicedata>
+          <param 
name="changesrevision">958bd9035b926871171198c2c7fd2778bc4c371c</param></service><service
 name="tar_scm">
+                <param 
name="url">https://github.com/ClusterLabs/cluster-glue.git</param>
+              <param 
name="changesrevision">d80753e9390dd50d3b281221040095ddeae5e102</param></service></servicedata>
 (No newline at EOF)
 

++++++ cluster-glue-1.0.12+v1.git.1622055853.1753f5e0.tar.bz2 -> 
cluster-glue-1.0.12+v1.git.1650454062.1fbde71c.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/cluster-glue-1.0.12+v1.git.1622055853.1753f5e0/lib/plugins/stonith/external/ec2
 
new/cluster-glue-1.0.12+v1.git.1650454062.1fbde71c/lib/plugins/stonith/external/ec2
--- 
old/cluster-glue-1.0.12+v1.git.1622055853.1753f5e0/lib/plugins/stonith/external/ec2
 2021-05-26 21:04:13.000000000 +0200
+++ 
new/cluster-glue-1.0.12+v1.git.1650454062.1fbde71c/lib/plugins/stonith/external/ec2
 2022-04-20 13:27:42.000000000 +0200
@@ -181,11 +181,15 @@
 
 function is_instance_running()
 {
+       local token
        local myinstance
        local mystatus
+       
+       # get session token, required for IMDSv2
+       token="$(curl -H "X-aws-ec2-metadata-token-ttl-seconds: 21600" -X PUT 
http://169.254.169.254/latest/api/token)"
 
        # get my instance id
-       myinstance="$(curl http://169.254.169.254/latest/meta-data/instance-id)"
+       myinstance="$(curl -H "X-aws-ec2-metadata-token: $token" 
http://169.254.169.254/latest/meta-data/instance-id)"
 
        # check my status.
        # When the EC2 instance be stopped by the "aws ec2 stop-instances" , 
the stop processing of the OS is executed.
@@ -230,7 +234,7 @@
 function instance_off()
 {
        if [ "$unknown_are_stopped" = 1 -a $instance_not_found ]; then
-               : nothing to do
+               # nothing to do
                ha_log.sh info "Assuming unknown instance $instance is already 
off"
        else
                aws ec2 stop-instances $options --instance-ids $instance --force

Reply via email to