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-05-12 20:38:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sapstartsrv-resource-agents (Old)
 and      /work/SRC/openSUSE:Factory/.sapstartsrv-resource-agents.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sapstartsrv-resource-agents"

Fri May 12 20:38:47 2023 rev:7 rq:1086731 version:0.9.2+git.1683889011.bf616cc

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/sapstartsrv-resource-agents/sapstartsrv-resource-agents.changes
  2023-05-05 15:59:26.756827926 +0200
+++ 
/work/SRC/openSUSE:Factory/.sapstartsrv-resource-agents.new.1533/sapstartsrv-resource-agents.changes
        2023-05-12 20:41:26.607237819 +0200
@@ -2 +2 @@
-Fri May  5 08:18:17 UTC 2023 - abr...@suse.com
+Fri May 12 09:41:56 UTC 2023 - abr...@suse.com
@@ -5 +5 @@
-  * prevent systemd service race between sapping and sappond during
+  * prevent systemd service race between sapping and sappong during
@@ -14,0 +15 @@
+  (jsc#PED-4418)

Old:
----
  sapstartsrv-resource-agents-0.9.2+git.1683278503.846fe15.tar.gz

New:
----
  sapstartsrv-resource-agents-0.9.2+git.1683889011.bf616cc.tar.gz

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

Other differences:
------------------
++++++ sapstartsrv-resource-agents.spec ++++++
--- /var/tmp/diff_new_pack.mo2Ub2/_old  2023-05-12 20:41:27.071240369 +0200
+++ /var/tmp/diff_new_pack.mo2Ub2/_new  2023-05-12 20:41:27.087240457 +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.1683278503.846fe15
+Version:        0.9.2+git.1683889011.bf616cc
 Release:        0
 URL:            https://github.com/SUSE/SAPStartSrv-resourceAgent
 Source0:        %{name}-%{version}.tar.gz

++++++ _service ++++++
--- /var/tmp/diff_new_pack.mo2Ub2/_old  2023-05-12 20:41:27.123240654 +0200
+++ /var/tmp/diff_new_pack.mo2Ub2/_new  2023-05-12 20:41:27.127240676 +0200
@@ -5,7 +5,7 @@
     <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">846fe156d95f7fbb1f8a1c02ee65b720f1404b98</param>
+    <param name="revision">bf616cce2b4f1c64164aed5a492d3799d4166d7b</param>
   </service>
 
   <service name="recompress" mode="disabled">

++++++ sapstartsrv-resource-agents-0.9.2+git.1683278503.846fe15.tar.gz -> 
sapstartsrv-resource-agents-0.9.2+git.1683889011.bf616cc.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.2+git.1683278503.846fe15/ra/SAPStartSrv.in 
new/sapstartsrv-resource-agents-0.9.2+git.1683889011.bf616cc/ra/SAPStartSrv.in
--- 
old/sapstartsrv-resource-agents-0.9.2+git.1683278503.846fe15/ra/SAPStartSrv.in  
    2023-05-05 11:21:43.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.2+git.1683889011.bf616cc/ra/SAPStartSrv.in  
    2023-05-12 12:56:51.000000000 +0200
@@ -107,17 +107,18 @@
         '''
         Get sapstartsrv status returning ProcessResult object
         '''
-        sap_inst_pf = 'pf={}'.format(self.sap_instance_profile)
+        sap_inst_pfpat = r'pf=.*/{}_{}_{}'.format(sid, instance_name, 
virtual_host)
+        sap_inst_regex = re.compile(sap_inst_pfpat)
         result = 1
         res_out = 'No running sapstartsrv process found for {} with {}'.format(
-            self.saptstartsrv_path, sap_inst_pf)
+            self.saptstartsrv_path, sap_inst_pfpat)
         for process in psutil.process_iter(['pid', 'ppid', 'name', 'cmdline']):
             try:
                 cmdline = process.cmdline()
             except (psutil.AccessDenied, psutil.ZombieProcess, 
psutil.NoSuchProcess):
                 continue
             if process.name() == "sapstartsrv":
-                if self.saptstartsrv_path in cmdline and sap_inst_pf in 
cmdline:
+                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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sapstartsrv-resource-agents-0.9.2+git.1683278503.846fe15/sapstartsrv-resource-agents.changes
 
new/sapstartsrv-resource-agents-0.9.2+git.1683889011.bf616cc/sapstartsrv-resource-agents.changes
--- 
old/sapstartsrv-resource-agents-0.9.2+git.1683278503.846fe15/sapstartsrv-resource-agents.changes
    2023-05-05 11:21:43.000000000 +0200
+++ 
new/sapstartsrv-resource-agents-0.9.2+git.1683889011.bf616cc/sapstartsrv-resource-agents.changes
    2023-05-12 12:56:51.000000000 +0200
@@ -1,8 +1,8 @@
 -------------------------------------------------------------------
-Fri May  5 08:18:17 UTC 2023 - abr...@suse.com
+Fri May 12 09:41:56 UTC 2023 - abr...@suse.com
 
 - Version bump to 0.9.2
-  * prevent systemd service race between sapping and sappond during
+  * prevent systemd service race between sapping and sappong during
     system boot
     (bsc#1207138)
   * fix a problem of monitor/probe operation to detect a running
@@ -12,6 +12,7 @@
 - add python3-psutil as package requirement and as build
   requirement in case of testing
   needed for bsc#1210790
+  (jsc#PED-4418)
 
 -------------------------------------------------------------------
 Wed Sep 14 09:37:25 UTC 2022 - abr...@suse.com

Reply via email to