[Pacemaker] AP9606 fencing device

Pavlos Parissis pavlos.parissis at gmail.com
Wed Oct 27 17:18:25 UTC 2010


On 27 October 2010 17:04, Vadym Chepkov <vchepkov at gmail.com> wrote:

>
> 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,
>

strange, I have debug 3 and I don't see these specific lines, i use 1.1.3
and heartbeat 3.0.3


> 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
>
>
>
>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101027/1b2881fd/attachment-0002.htm>


More information about the Pacemaker mailing list