[Pacemaker] "reset" action of fence_legacy is not performed

Andrew Beekhof andrew at beekhof.net
Wed Apr 23 06:32:08 EDT 2014


On 23 Apr 2014, at 8:24 pm, Andrew Beekhof <andrew at beekhof.net> wrote:

> 
> On 23 Apr 2014, at 7:17 pm, Kazunori INOUE <kazunori.inoue3 at gmail.com> wrote:
> 
>> Hi,
>> 
>> By this commit, "reset (reboot)" action of cluster-glue's plug-in
>> (ipmi, libvirt, ...) is not performed.
>> https://github.com/ClusterLabs/pacemaker/commit/8383a38a478ed6473ff2179596335ed4de583cfa
>> 
>> 
>> pm103 stonith-ng[17947]:   notice: handle_request: Client
>> crmd.17951.af3dce80 wants to fence (reboot) 'pm104' with device
>> '(any)'
>> (snip)
>> pm103 stonith-ng[17947]:  warning: stonith_device_execute: Agent
>> 'fence_legacy' does not advertise support for 'reboot', performing
>> 'off' action instead
>> (snip)
>> pm103 stonith-ng[17947]:    debug: log_operation: F1:18288 [
>> Performing: stonith -t external/libvirt -T off pm104 ]
>> 
>> 
>> Since glue's plug-in has "reset" action equivalent to "reboot" action,
>> I want to perform "reboot" as before, when stonith-action=reboot.
> 
> I guess we just need to update fence_legacy's metadata

This should do it:

  https://github.com/beekhof/pacemaker/commit/830af67

Thanks for letting us know.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140423/921a10d3/attachment-0003.sig>


More information about the Pacemaker mailing list