You know, I was wrong. It looks like plugin wasn't able to start your
DomU properly and that was the reason for that "exit 0". So there is
no need to change that "exit 1".

On Fri, Mar 6, 2009 at 6:39 AM, Serge Dubrouski <[email protected]> wrote:
> That's definitely a bug in the plugin so your patch is all right. We
> need to ask Dejan to submit it.
>
> On Fri, Mar 6, 2009 at 1:43 AM, Junko IKEDA <[email protected]> wrote:
>> Hi,
>>
>> My operation is here;
>>
>> # ssh x3650g
>>
>> # export dom0="x3650g"
>>
>> # export hostlist="dom-d1:/etc/xen/dom-d1 dom-d2:/etc/xen/dom-d2"
>>
>> # /usr/lib64/stonith/plugins/external/xen0 on dom-d1
>>
>> # echo $?
>>
>> 0
>>
>> dom-d1 was created well.
>>
>> # /usr/lib64/stonith/plugins/external/xen0 reset dom-d1
>>
>> # echo $?
>>
>> # 1
>>
>> dom-d1 was destroyed but return code was not zero,
>> so Heartbeat handled that this stonith operation failed.
>>
>> When I edit the plugin like this, it work well.
>>
>> --- xen0.org    2009-03-06 17:22:44.000000000 +0900
>> +++ xen0        2009-03-06 17:22:52.000000000 +0900
>> @@ -140,7 +140,7 @@ reset)
>>         exit 0
>>     fi
>>
>> -    exit 1
>> +    exit 0
>>     ;;
>>  status)
>>     CheckHostList
>>
>>
>> Is this some timing issue?
>>
>> Thanks,
>> Junko
>>
>>
>> _______________________________________________________
>> Linux-HA-Dev: [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
>> Home Page: http://linux-ha.org/
>>
>
>
>
> --
> Serge Dubrouski.
>



-- 
Serge Dubrouski.
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to