Description of problem:
Looking at the source code (https://github.com/ClusterLabs/fence-agents/blob/master/fence/agents/rhevm/fence_rhevm.py ) , it appears it goes to /api and not /engine/api endpoint, so it'll fail against RHV 4.0.x and above.
*** This bug has been marked as a duplicate of bug 1402862 ***
(In reply to Marek Grac from comment #3)
> *** This bug has been marked as a duplicate of bug 1402862 ***
Marek - this bug is a half of a line fix (just change the URL to /engine/api instead of /api )
The other bug require a bit more work.
Will /engine/api works will all older versions?
To be accurate, it is /ovirt-engine/api
As far as I remember it works in 3.6 and above (maybe also 3.5).
Juan - can you give a more accurate answer about it?
The recommended URL is /ovirt-engine/api since oVirt/RHV 3.5. Support for just /api was removed in oVirt/RHV 4.0.
Note also that the version of the fence agent included currently in RHEL already includes this patch (which hasn't been merged upstream):
Explicitly use version 3 of the oVirt API
See bug 1287059 for details.
That means that it will already use /ovirt-engine/api by default, unless explicitly given the '--api-path' option with a different value.
Re-opening it, based on comment 7 - /ovirt-engine/api will work with v3.5 and above, so I suggest making this easy fix now, rather than the small rewrite that is needed to happen to v4 API.
This is fixed in bz#1422499.
*** This bug has been marked as a duplicate of bug 1422499 ***