<br><div class="gmail_quote">On 2 November 2010 13:18, Dejan Muhamedagic <span dir="ltr"><<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<div class="im"><br>
On Tue, Nov 02, 2010 at 01:09:02PM +0100, Pavlos Parissis wrote:<br>
> On 2 November 2010 13:02, Dejan Muhamedagic <<a href="mailto:dejanmm@fastmail.fm">dejanmm@fastmail.fm</a>> wrote:<br>
> [...snip...]<br>
><br>
> ><br>
> > > > Definitely not. If you do the monitor action from the command<br>
> > > > line does that also return the unexpected exit code:<br>
> > > ><br>
> > ><br>
> > > from the code I pasted you can see it returned 1.<br>
> ><br>
> > There is a difference. stonith-ng (stonithd) is a daemon that<br>
> > runs a perl script (fencing_legacy) which invokes stonith which<br>
> > then invokes the plugin. A problem can occur in any of these<br>
> > components. It's important to find out where.<br>
> ><br>
> > > > # stonith -t external/rackpdu community="empisteftiko"<br>
> > > > names_oid=".1.3.6.1.4.1.318.1.1.4.4.2.1.4" ... -lS<br>
> > > ><br>
> > > > Which pacemaker release do you run? I couldn't reproduce this<br>
> > > > with a recent Pacemaker.<br>
> > > ><br>
> > ><br>
> > > that it was on 1.1.3 and now I run 1.0.9.<br>
> > > Do you want me to run the test on 1.0.9?<br>
> ><br>
> > Yes, please. 1.0.9 is still running the old, and well tested,<br>
> > stonithd, so the result could be different.<br>
> ><br>
> ><br>
> I have the pdu off because it stopped working anymore! As a result the<br>
> resource is stopped.<br>
> But I did the test I see that even rackpdu returns 1 on status stonithd<br>
> reports 256<br>
<br>
</div>Ah, I understand what's going on now. It's a bug in the interface<br>
to external plugins which was exposed by stonith-ng. It has been<br>
fixed in August. The fix is here (in <a href="http://hg.linux-ha.org/glue" target="_blank">hg.linux-ha.org/glue</a>):<br>
<br>
changeset: 2427:b7df127fc09e<br>
user: Dejan Muhamedagic <<a href="mailto:dejan@hello-penguin.com">dejan@hello-penguin.com</a>><br>
date: Thu Aug 12 14:01:10 2010 +0200<br>
summary: High: stonith: external: interpret properly exit codes from external stonith plugins (bnc#630357)<br>
<br>
There hasn't been a glue release since then, but there should be<br>
one fairly soon. Note that this affects only Pacemaker 1.1.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Dejan<br>
</font><div><div></div><div class="h5"><br>
<br><br></div></div></blockquote><div><br></div><div>Does this bug have to do anything with PE ignoring monitor failure?</div><div>Pavlos</div><div><br></div></div>