[Pacemaker] [PATCH]The change of the output level of the log.(for stonithd)

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Tue Mar 9 02:31:22 EST 2010


Hi Dejan,

There seem to be some problems for a retouch somehow or other.

An error is given unless I appoint enable-fatal-warnings=no.

[root at x3650e Pacemaker-1-0-efdc0d8143dd]# ./autogen.sh && ./configure --prefix=$PREFIX
--localstatedir=/var --with-lcrso-dir=$LCRSODIR

(snip)
[root at x3650e Pacemaker-1-0-efdc0d8143dd]# make install
(snip)
stonithd.c: In function 'has_this_callid':
stonithd.c:2981: warning: format '%s' expects type 'char *', but argument 4 has type 'unsigned int'
gmake[2]: *** [stonithd.o] Error 1
gmake[2]: Leaving directory `/opt/hacluster0309/Pacemaker-1-0-efdc0d8143dd/fencing/stonithd'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/opt/hacluster0309/Pacemaker-1-0-efdc0d8143dd/fencing'
make: *** [install-recursive] Error 1

I expect a revise.

Best Regards,
Hideo Yamauchi.

--- renayama19661014 at ybb.ne.jp wrote:

> Hi Dejan,
> 
> > Anything not to upset the operator :) Similar patch applied.
> Thanks.
> 
> > BTW, can't recall seeing this error. Still not clear to me when
> > did you encounter it.
> 
> In the case of ssh/external, it seems to be generated when I let do sleep of status on purpose
> in
> slightly long time. 
> During this time, the error happens when STONITH rises.
> 
> Best Regards,
> Hideo Yamauchi.
> 
> --- Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> 
> > Hi Hideo-san,
> > 
> > > On Mon, Mar 08, 2010 at 11:21:19AM +0900, renayama19661014 at ybb.ne.jp wrote:
> > > Hi,
> > > 
> > > We confirmed log of stonithd by the setting that a period of the operation of stonith was
> > long.
> > > 
> > > When STONITH is carried out in the case of the setting that a period of the operation of
> > stonith is
> > > long, the following error is output by log.
> > > 
> > > Jan 29 14:00:53 cgl60 stonithd: [7524]: ERROR: has_this_callid: scenario value error.
> > > Jan 29 14:00:53 cgl60 stonithd: [7524]: ERROR: has_this_callid: scenario value error.
> > > 
> > > While operation is left on the practice table of stonithd(executing_queue), the log of these
> > errors
> > > seems to appear when STONITH is completed.
> > > 
> > > We think that this is not an error for movement.
> > > 
> > > Many operators watch use in ERROR log.
> > > Will you change log in warning from an error so that an operator is not upset?
> > 
> > Anything not to upset the operator :) Similar patch applied.
> > 
> > BTW, can't recall seeing this error. Still not clear to me when
> > did you encounter it.
> > 
> > Cheers,
> > 
> > Dejan
> > 
> > > 
> > > Best Regards,
> > > Hideo Yamauchi.
> > 
> > 
> > > _______________________________________________
> > > 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
> > 
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 





More information about the Pacemaker mailing list