[Debian-ha-commits] [pacemaker] 01/69: Test: cts: Plugin-based cluster has its own PacemakerUp pattern

Christoph Berg myon at debian.org
Tue Jan 26 09:14:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

myon pushed a commit to branch debian/master
in repository pacemaker.

commit 694d9df3b4097e94bcb93a3caabcae570d6d3c48
Author: Gao,Yan <ygao at suse.com>
Date:   Fri Nov 13 12:34:05 2015 +0100

    Test: cts: Plugin-based cluster has its own PacemakerUp pattern
---
 cts/patterns.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/cts/patterns.py b/cts/patterns.py
index 3cdce2f..b377c23 100644
--- a/cts/patterns.py
+++ b/cts/patterns.py
@@ -176,7 +176,7 @@ class crm_cs_v0(BasePatterns):
             "Pat:ChildRespawn" : "%s\W.*corosync.*Respawning failed child process: %s",
 
             "Pat:InfraUp"      : "%s\W.*corosync.*Initializing transport",
-            "Pat:PacemakerUp"  : "%s\W.*pacemakerd.*Starting Pacemaker",
+            "Pat:PacemakerUp"  : "%s\W.*corosync.*CRM: Initialized",
         })
 
         self.ignore = self.ignore + [
@@ -418,6 +418,8 @@ class crm_mcp(crm_cs_v0):
             "Pat:ChildExit"    : "The .* process exited",
             "Pat:ChildKilled"  : "%s\W.*pacemakerd.*The %s process .* terminated with signal 9",
             "Pat:ChildRespawn" : "%s\W.*pacemakerd.*Respawning failed child process: %s",
+
+            "Pat:PacemakerUp"  : "%s\W.*pacemakerd.*Starting Pacemaker",
         })
 
 #        if self.Env["have_systemd"]:
@@ -465,6 +467,11 @@ class crm_cman(crm_cs_v0):
             "Pat:ChildRespawn" : "%s\W.*pacemakerd.*Respawning failed child process: %s",
         })
 
+        self.search.update({
+            "Pat:PacemakerUp"  : "%s\W.*pacemakerd.*Starting Pacemaker",
+        })
+
+
 
 class PatternSelector:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pacemaker.git



More information about the Debian-HA-Commits mailing list