Rfc0003 fencing agent for gfs2 - #9
Conversation
Signed-off-by: Bill Johnson <billj@hpe.com>
Signed-off-by: Bill Johnson <billj@hpe.com>
Signed-off-by: Bill Johnson <billj@hpe.com>
|
If HSS presents a standardized Redfish interface, would that be preferred to some SSH console hacking? I see a Redfish fencing agent in the ClusterLabs repo - have you tried that? |
|
| print("e.g. export PYTHONPATH=/usr/share/fence/") | ||
| exit(1) | ||
|
|
||
| def get_power_status(conn, options): |
There was a problem hiding this comment.
Is this just fence_hpe_hss_ssh, but with different set_power_status() and reboot_cycle() methods? Looks like the remainder of the code (imports, get_power_status(), main()) is the same.
There was a problem hiding this comment.
Yes, I copied it from that agent and then neutered it a bit. Now that you bring this up, this agent does query the Redfish CLI for the current power status, so it may be a candidate for a more native redfish approach rather than using SSH.
There was a problem hiding this comment.
👍 a TODO for the next person
There was a problem hiding this comment.
I did take a quick look at the HSS, you can interact with it easily with curl, however the port is not currently listening on the external IP.
Maybe I don't understand the requirements, but I was thinking |
Signed-off-by: Bill Johnson <billj@hpe.com>
No description provided.