[Pacemaker] AP9606 fencing device

Vadym Chepkov vchepkov at gmail.com
Wed Oct 27 11:04:14 EDT 2010


On Oct 27, 2010, at 10:42 AM, Pavlos Parissis wrote:
> 
> do you enable debug by setting debug 1 on ha.cf?
> do you see that WARN on your system?
> 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
> 

yes and yes,
it's a bug in the agent, but it is harmless:

diff -r e876b4cf30be -r 0807596ed11d lib/plugins/stonith/external/rackpdu
--- a/lib/plugins/stonith/external/rackpdu	Mon Oct 11 17:47:08 2010 +0200
+++ b/lib/plugins/stonith/external/rackpdu	Wed Oct 27 11:02:22 2010 -0400
@@ -122,7 +122,6 @@
 case $incommand in
 gethosts)
 	if [ "$hostlist" = "AUTO" ]; then
-	    local snmp_result
 	    snmp_result=`snmpwalk -v1 -c $community $pduip $names_oid 2>&1`
         if [ $? -ne 0 ]; then
             ha_log.sh err "snmpwalk $community $pduip $names_oid failed. Result: $snmp_result"

Vadym


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101027/49a98615/attachment-0001.html>


More information about the Pacemaker mailing list