[Pacemaker] Question about log level at monitor

Andrew Beekhof andrew at beekhof.net
Thu Feb 20 04:59:51 EST 2014


On 20 Feb 2014, at 8:37 pm, Kazunori INOUE <kazunori.inoue3 at gmail.com> wrote:

> Hi,
> 
> Is this by design although log levels differ with a stonith resource
> and other resources in Pacemaker-1.1.11 ?
> 
> "P1" is id of ocf:pacemaker:Dummy resource.
> "F1" is id of stonith (ex. stonith:external/ipmi) resource.
> 
> * log at "probe"
> crmd[22860]:   notice: process_lrm_event: LRM operation P1_monitor_0
> (call=9, rc=7, cib-update=56, confirmed=true) not running
> crmd[22860]:     info: process_lrm_event: LRM operation F1_monitor_0
> (call=5, rc=7, cib-update=55, confirmed=true) not running

Looking at the code I can't see how this is possible.
Only if the resource is found running is it set to LOG_INFO

> 
> * log at "monitor NG"
> crmd[22860]:   notice: process_lrm_event: LRM operation
> P1_monitor_30000 (call=12, rc=7, cib-update=64, confirmed=false) not
> running
> crmd[22860]:    error: process_lrm_event: LRM operation
> F1_monitor_30000 (call=13, status=4, cib-update=61, confirmed=false)
> Error

Thats an easy one... one completed but failed with OCF_NOT_RUNNING, the other didn't complete at all. 

> 
> 
> Regards,
> Kazunori INOUE
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140220/50f728d7/attachment-0003.sig>


More information about the Pacemaker mailing list