Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sapstartsrv-resource-agents for 
openSUSE:Factory checked in at 2023-08-07 15:29:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sapstartsrv-resource-agents (Old)
 and      /work/SRC/openSUSE:Factory/.sapstartsrv-resource-agents.new.22712 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sapstartsrv-resource-agents"

Mon Aug  7 15:29:15 2023 rev:9 rq:1102646 version:0.9.3+git.1691394819.48fa0c6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/sapstartsrv-resource-agents/sapstartsrv-resource-agents.changes
  2023-05-18 15:19:33.405939291 +0200
+++ 
/work/SRC/openSUSE:Factory/.sapstartsrv-resource-agents.new.22712/sapstartsrv-resource-agents.changes
       2023-08-07 15:29:31.680474983 +0200
@@ -2 +2,10 @@
-Wed May 17 14:27:51 UTC 2023 - [email protected]
+Fri Aug  4 17:41:44 UTC 2023 - [email protected]
+
+- Version bump to 0.9.3
+  * adapt fix for monitor/probe operation to detect a running
+    sapstartsrv process to run with python3-psutil version 5.2.2
+    or higher
+    (bsc#1210790)
+
+-------------------------------------------------------------------
+Wed May 24 16:41:49 UTC 2023 - [email protected]
@@ -15 +24 @@
-  (jsc#PED-4418)
+  (jsc#PED-4418, jsc#PED-4499)

Old:
----
  sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49.tar.gz

New:
----
  sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6.tar.gz

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

Other differences:
------------------
++++++ sapstartsrv-resource-agents.spec ++++++
--- /var/tmp/diff_new_pack.oWjTnR/_old  2023-08-07 15:29:33.348485221 +0200
+++ /var/tmp/diff_new_pack.oWjTnR/_new  2023-08-07 15:29:33.352485246 +0200
@@ -24,7 +24,7 @@
 License:        GPL-2.0
 Group:          Productivity/Clustering/HA
 Summary:        Resource agent for SAP instance specific sapstartsrv service
-Version:        0.9.2+git.1684336720.d2ebd49
+Version:        0.9.3+git.1691394819.48fa0c6
 Release:        0
 URL:            https://github.com/SUSE/SAPStartSrv-resourceAgent
 Source0:        %{name}-%{version}.tar.gz

++++++ _service ++++++
--- /var/tmp/diff_new_pack.oWjTnR/_old  2023-08-07 15:29:33.384485442 +0200
+++ /var/tmp/diff_new_pack.oWjTnR/_new  2023-08-07 15:29:33.388485467 +0200
@@ -4,8 +4,8 @@
     <param name="scm">git</param>
     <param name="exclude">.git</param>
     <param name="filename">sapstartsrv-resource-agents</param>
-    <param name="versionformat">0.9.2+git.%ct.%h</param>
-    <param name="revision">d2ebd49fa5dbe66a44e23f4a9e958668c9fbd1f8</param>
+    <param name="versionformat">0.9.3+git.%ct.%h</param>
+    <param name="revision">48fa0c65f3f5b8387935c41fdd92cf0b94214d6c</param>
   </service>
 
   <service name="recompress" mode="disabled">

++++++ sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49.tar.gz -> 
sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/.github/workflows/package-ci.yml
 
new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/.github/workflows/package-ci.yml
--- 
old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/.github/workflows/package-ci.yml
       2023-05-17 17:18:40.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/.github/workflows/package-ci.yml
       2023-08-07 09:53:39.000000000 +0200
@@ -15,7 +15,7 @@
     runs-on: ubuntu-20.04
     strategy:
       matrix:
-        python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
+        python-version: [3.6, 3.7, 3.8, 3.9]
     steps:
     - uses: actions/checkout@v3
       with:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/_service 
new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/_service
--- old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/_service       
2023-05-17 17:18:40.000000000 +0200
+++ new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/_service       
2023-08-07 09:53:39.000000000 +0200
@@ -4,7 +4,7 @@
     <param name="scm">git</param>
     <param name="exclude">.git</param>
     <param name="filename">sapstartsrv-resource-agents</param>
-    <param name="versionformat">0.9.2+git.%ct.%h</param>
+    <param name="versionformat">0.9.3+git.%ct.%h</param>
     <param name="revision">%%VERSION%%</param>
   </service>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/ra/SAPStartSrv.in 
new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/ra/SAPStartSrv.in
--- 
old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/ra/SAPStartSrv.in  
    2023-05-17 17:18:40.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/ra/SAPStartSrv.in  
    2023-08-07 09:53:39.000000000 +0200
@@ -112,17 +112,22 @@
         result = 1
         res_out = 'No running sapstartsrv process found for {} with {}'.format(
             self.saptstartsrv_path, sap_inst_pfpat)
-        for process in psutil.process_iter(['pid', 'ppid', 'name', 'cmdline']):
+        for proc in psutil.process_iter():
             try:
-                cmdline = process.cmdline()
-            except (psutil.AccessDenied, psutil.ZombieProcess, 
psutil.NoSuchProcess):
+                process = proc.as_dict(attrs=['pid', 'ppid', 'name', 
'cmdline'])
+            except psutil.NoSuchProcess:
                 continue
-            if process.name() == "sapstartsrv":
-                if any(sap_inst_regex.match(item) for item in cmdline):
-                    result = 0
-                    res_out = 'Found runnig sapstartsrv process - PID:{} 
PPID:{} CMDLINE:{}'.format(
-                        process.pid, process.ppid(), cmdline)
-                    break
+            else:
+                try:
+                    cmdline = process['cmdline']
+                except (psutil.AccessDenied, psutil.ZombieProcess):
+                    continue
+                if process['name'] == "sapstartsrv":
+                    if any(sap_inst_regex.match(item) for item in cmdline):
+                        result = 0
+                        res_out = 'Found runnig sapstartsrv process - PID:{} 
PPID:{} CMDLINE:{}'.format(
+                            process['pid'], process['ppid'], cmdline)
+                        break
 
         logger.info('Current status: %d. Output: %s' % (result, res_out))
         return result
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/sapstartsrv-resource-agents.changes
 
new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/sapstartsrv-resource-agents.changes
--- 
old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/sapstartsrv-resource-agents.changes
    2023-05-17 17:18:40.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/sapstartsrv-resource-agents.changes
    2023-08-07 09:53:39.000000000 +0200
@@ -1,5 +1,14 @@
 -------------------------------------------------------------------
-Wed May 17 14:27:51 UTC 2023 - [email protected]
+Fri Aug  4 17:41:44 UTC 2023 - [email protected]
+
+- Version bump to 0.9.3
+  * adapt fix for monitor/probe operation to detect a running
+    sapstartsrv process to run with python3-psutil version 5.2.2
+    or higher
+    (bsc#1210790)
+
+-------------------------------------------------------------------
+Wed May 24 16:41:49 UTC 2023 - [email protected]
 
 - Version bump to 0.9.2
   * prevent systemd service race between sapping and sappong during
@@ -12,7 +21,7 @@
 - add python3-psutil as package requirement and as build
   requirement in case of testing
   needed for bsc#1210790
-  (jsc#PED-4418)
+  (jsc#PED-4418, jsc#PED-4499)
 
 -------------------------------------------------------------------
 Wed Sep 14 09:37:25 UTC 2022 - [email protected]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/tox.ini 
new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/tox.ini
--- old/sapstartsrv-resource-agents-0.9.2+git.1684336720.d2ebd49/tox.ini        
2023-05-17 17:18:40.000000000 +0200
+++ new/sapstartsrv-resource-agents-0.9.3+git.1691394819.48fa0c6/tox.ini        
2023-08-07 09:53:39.000000000 +0200
@@ -2,11 +2,10 @@
 # based on https://github.com/ymyzk/tox-gh-actions
 [tox]
 skipsdist = True
-envlist = py27, py36, py37, py38, py39
+envlist = py36, py37, py38, py39
 
 [gh-actions]
 python =
-    2.7: py27
     3.6: py36
     3.7: py37
     3.8: py38

Reply via email to