HomeClusterLabs Projects

Refactor: fencer: pass full result of previous failed action when initiating…

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Refactor: fencer: pass full result of previous failed action when initiating peer fencing

Rename call_remote_stonith() to request_peer_fencing() for readability, and
make it take the full result of the previous failed action, rather than just
its legacy return code, as an argument.

This does cause one change in behavior: if topology is in use, a previous
attempt failed, and no more peers have the appropriate device, then the
legacy return code returned will be -ENODEV rather than -EHOSTUNREACH.
These are treated similarly internally, and hopefully that will not cause
problems for external code.

Details

Provenance
kgaillotAuthored on Nov 19 2021, 4:56 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.