HomeClusterLabs Projects
Diffusion SBD 97821f60f64f

Fix: agent: prevent off/reset action from hanging on message command if any of…
97821f60f64fUnpublished

Unpublished Commit · Learn More

  • Repository Importing: This repository is still importing.
  • Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix: agent: prevent off/reset action from hanging on message command if any of the devices is silently blocked

Differently from list and dump commands, message command is actually
kind of already asynchronous. Rather than directly accessing the
devices, it spawns multiple writing child processes in parallel, one for
each device, and waits for majority of them to finish writing of poison
pill and returns, even if the minority gets stuck in D state.

But if it's called by stonith command, sbd fence agent process will
become "defunct" state and get stuck. This commits prevent that by
asynchronously calling message command with a subshell.

Details

Provenance
gao-yanAuthored on Nov 10 2020, 11:13 AM
Parents
rSf1a6d8375078: Fix: agent: prevent gethosts action and timeout validation from hanging on list…
Branches
Unknown
Tags
Unknown

Event Timeline