<br><br><div class="gmail_quote">On 27 October 2010 17:04, Vadym Chepkov <span dir="ltr"><<a href="mailto:vchepkov@gmail.com">vchepkov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div class="im"><br><div><div>On Oct 27, 2010, at 10:42 AM, Pavlos Parissis wrote:</div><blockquote type="cite"><div><font color="#000000"><br></font></div>do you enable debug by setting debug 1 on <a href="http://ha.cf/" target="_blank">ha.cf</a>?<div>
do you see that WARN on your system?<br><div><div>stonith-ng: [3369]: WARN: parse_host_line: Could not parse (0 42): /usr/lib/stonith/plugins/external/rackpdu: line 125: local: can only be used in a function</div>
</div><div><br></div></div></blockquote><br></div></div><div>yes and yes,</div></div></blockquote><div> </div><div>strange, I have debug 3 and I don't see these specific lines, i use 1.1.3 and heartbeat 3.0.3</div><div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div>it's a bug in the agent, but it is harmless:</div><div><br></div><div>
<div>diff -r e876b4cf30be -r 0807596ed11d lib/plugins/stonith/external/rackpdu</div><div>--- a/lib/plugins/stonith/external/rackpdu<span style="white-space:pre-wrap"> </span>Mon Oct 11 17:47:08 2010 +0200</div><div>+++ b/lib/plugins/stonith/external/rackpdu<span style="white-space:pre-wrap"> </span>Wed Oct 27 11:02:22 2010 -0400</div>
<div>@@ -122,7 +122,6 @@</div><div> case $incommand in</div><div> gethosts)</div><div> <span style="white-space:pre-wrap"> </span>if [ "$hostlist" = "AUTO" ]; then</div><div>-<span style="white-space:pre-wrap"> </span> local snmp_result</div>
<div> <span style="white-space:pre-wrap"> </span> snmp_result=`snmpwalk -v1 -c $community $pduip $names_oid 2>&1`</div><div> if [ $? -ne 0 ]; then</div><div> ha_log.sh err "snmpwalk $community $pduip $names_oid failed. Result: $snmp_result"</div>
<div><br></div><div>Vadym</div><div><br></div></div><br></div><br></blockquote><div><br></div><div>ok, i have done the same hack but i will remove it. I think 1.1.4 will be out before we go on production and hopefully this will be fixed in 1.1.4.</div>
<div> </div></div><br>