-
Notifications
You must be signed in to change notification settings - Fork 173
fence_recorder: add new fence agent recorder #646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fence_recorder: add new fence agent recorder #646
Conversation
|
Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/fence-agents/job/fence-agents-pipeline/job/PR-646/1/input |
036e40e to
0260fdf
Compare
|
Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/fence-agents/job/fence-agents-pipeline/job/PR-646/2/input |
0260fdf to
57e9a9f
Compare
|
Can one of the project admins check and authorise this run please: https://ci.kronosnet.org/job/fence-agents/job/fence-agents-pipeline/job/PR-646/3/input |
|
We need this fence agent (or something like it) for a composable storage system, we would greatly appreciate review & feedback. |
|
Hey guys, the maintainer is on Xmas vacation till beginning of Jan. |
|
Do you have a real world use case where this would be needed? |
|
@oalbrigt Our use case has the fence agent and the storage controller on the same node. During the critical moment of fencing (when things are broken), local files are the most reliable way for two different technology stacks (Pacemaker/Python and Kubernetes/Go) to communicate. |
|
What kind of information do you need to send to your storage systems before fencing? I'm just trying to understand, and also see if there is any other way we can achieve this with what we have, or mabye add it as a feature to an existing agent. It might also work against the logic of fencing, in that it might end up blocking the fencing of the node, which is also not a good thing as it might lead to data corruption or other issues. |
|
For our scenario, we need to know the name of the node to be fenced. We also need to control when that node is |
|
The request/response nature of the |
|
I'll make a patch, and link it here, so you can test it and give any suggestions for improvements. |
|
Are you open to a recorder mode on the fence_dummy agent? I'm working on that change right now. |
|
Yeah. That sounds good to me. |
Summary
Adds
fence_recorder, a new Pacemaker fence agent that uses a request/response file pattern to coordinate fencing with external systems.Use Case
This agent is designed for environments where fencing decisions need to be coordinated with external systems (e.g., storage controllers, cloud providers, or custom orchestration) that perform cleanup operations before fencing completes.
Instead of directly fencing nodes,
fence_recorder: