• R/O
  • SSH

pm_logconv-cs: Commit

Pacemaker 対応ログメッセージ変換機能。

Heartbeat-2.1.4 用 hb-logconv(*) のPacemaker 1.0.x + Corosync スタック対応版。
(*) http://sourceforge.jp/projects/linux-ha/releases/?package_id=10282


Commit MetaInfo

Revisionf762544af2e3ecabd2bcabbc2508367aba10dc59 (tree)
Time2013-06-06 14:06:22
AuthorYoshihiko SATO <satoyoshi@inte...>
CommiterYoshihiko SATO

Log Message

PM本体のリソース停止ログの出力バリエーション追加に伴う対応(MsgNo.F11-2)

Change Summary

Incremental Difference

diff -r 901d084626e8 -r f762544af2e3 pm_logconv.py
--- a/pm_logconv.py Wed Jun 05 10:41:28 2013 +0900
+++ b/pm_logconv.py Thu Jun 06 14:06:22 2013 +0900
@@ -2890,11 +2890,13 @@
28902890 MsgNo. F11-2)
28912891 Jan 1 00:00:00 node01 pengine[777]: notice: LogActions:
28922892 Stop prmRSC (node01)
2893+ Jan 1 00:00:00 node01 pengine[777]: notice: LogActions:
2894+ Stop prmRSC (node01 - blocked)
28932895 '''
28942896 def add_rsc_stop(self, outputobj, logelm, lconvfrm):
28952897 try:
28962898 wordlist = logelm.halogmsg.split()
2897- rscid = wordlist[-2]
2899+ rscid = wordlist[2]
28982900 except:
28992901 return CONV_PARSE_ERROR
29002902 if self.is_empty(rscid):
Show on old repository browser