[Pacemaker] bug in ordering syntax?

Frank DiMeo Frank.DiMeo at bigbandnet.com
Mon Dec 7 13:58:25 UTC 2009


I did't want to increase logging levels in the pengine in general (just in the function I was interested in) so I hacked the code and added a call to set_crm_log_level in the that function.  (Yes, I know it says "crm" and not "pengine", but that's the function that already existed, so I used it).

 

At the start of the function I do something like:

 

                Int oldlevel;

 

                oldlevel  = set_crm_log_level(LOG_DEBUG_4);

 

                .

                .

                

And at the end do:

 

                set_crm_log_level(oldlevel);

 

 

-Frank

 

From: Shravan Mishra [mailto:shravan.mishra at gmail.com] 
Sent: Thursday, December 03, 2009 6:21 PM
To: pacemaker at oss.clusterlabs.org
Subject: Re: [Pacemaker] bug in ordering syntax?

 

Hi, 

 

You said You were able to increase the logging level of pengine.

Can you please share how you did that.

 

Thanks

Shravan

On Thu, Dec 3, 2009 at 5:14 PM, Frank DiMeo <Frank.DiMeo at bigbandnet.com> wrote:

After looking at some output of ptest, I'm really unsure of my "fix" ;)  I think I'm hunting in the right area though.

-Frank


> -----Original Message-----
> From: Frank DiMeo [mailto:Frank.DiMeo at bigbandnet.com]
> Sent: Thursday, December 03, 2009 5:06 PM
> To: pacemaker at oss.clusterlabs.org
> Subject: Re: [Pacemaker] bug in ordering syntax?
>
> I made a change to unpack_order_set that seems to fix the problem.  I'm
> not sure my logic is 100% correct, but I thought I'd pass it along
> anyway.
>
> -Frank
>
> > -----Original Message-----
> > From: Andrew Beekhof [mailto:andrew at beekhof.net]
> > Sent: Thursday, December 03, 2009 3:45 AM
> > To: pacemaker at oss.clusterlabs.org
> > Subject: Re: [Pacemaker] bug in ordering syntax?
> >
> > On Wed, Dec 2, 2009 at 11:26 PM, Frank DiMeo
> > <Frank.DiMeo at bigbandnet.com> wrote:
> > > I turned up the logging level in the pengine during processing of
> > > the
> > rsc_order section.  This shows the loop being formed between world2
> > and
> > world1 resources, but only for stopping, not for starting.
> >
> > Yes, this looks to be the problem.
> > But I need the bz2 file to make any progress.
> >
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker

_______________________________________________
Pacemaker mailing list
Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20091207/11354067/attachment-0001.htm>


More information about the Pacemaker mailing list