[ClusterLabs] Clear Pending Fencing Action

Klaus Wenninger kwenning at redhat.com
Mon Aug 17 03:52:02 EDT 2020


On 8/3/20 7:04 AM, Reid Wahl wrote:
> Hi, Илья. `stonith_admin --cleanup` doesn't get rid of pending
> actions, only failed ones. You might be hitting
> https://bugs.clusterlabs.org/show_bug.cgi?id=5401.
>
> I believe a simultaneous reboot of both nodes will clear the pending
> actions. I don't recall whether there's any other way to clear them.
Even simultaneous rebooting might be some kind of a challenge.
When a node is coming up it will request the history from the
running nodes. Thus a simultaneous reboot might not be
simultaneous enough so that the nodes aren't still able to
pass this list from one to another.
To be on the safe side you would have to shut down all nodes
and fire them up again.

If it is not the bug stated above and we are talking about a
pending fence-action that was going on on node that itself
just got fenced (and is still down) pacemaker coming up on
that node will remove (fail) the pending fence-action.

Just for completeness:
'stonith_admin --cleanup' cleans everything that is 'just'
history (failed & successful) whereas weather an attempt is
still pending does have an effect on how fencing is working.
As nobody would expect a history-cleanup to influence
behavior, not touching pending actions is a safety measure
and not a bug.

Klaus


>
> On Sun, Aug 2, 2020 at 8:26 PM Илья Насонов <elias at po-mayak.ru
> <mailto:elias at po-mayak.ru>> wrote:
>
>     Hello!
>
>      
>
>     After troubleshooting 2-Node cluster, crm_mon deprecated actions
>     are displayed in “Pending Fencing Action:” list.
>
>     How can I delete them.
>
>     «stonith_admin --cleanup --history=*» does not delete it.
>
>      
>
>      
>
>     С уважением,
>     Илья Насонов
>     elias at po-mayak.ru
>
>      
>
>     _______________________________________________
>     Manage your subscription:
>     https://lists.clusterlabs.org/mailman/listinfo/users
>
>     ClusterLabs home: https://www.clusterlabs.org/
>
>
>
> -- 
> Regards,
>
> Reid Wahl, RHCA
> Software Maintenance Engineer, Red Hat
> CEE - Platform Support Delivery - ClusterHA
>
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20200817/58a5a531/attachment.htm>


More information about the Users mailing list