The compatibility layer that implements version 3 of the API on top of version 4 doesn't implement the 'certificates' collection, and the 'importcertificate' and 'testconnectivity' actions of external providers.
Getting 404 Not Found ovirt-engine-restapi-4.1.0.3-0.1.el7.noarch Fix wasn't included in the build.
This missed the 4.1.0 build. It isn't relevant enough to justify an async release, so I am re-targeting to 4.1.1 and moving to MODIFIED.
The verify this add an external provider, for example the oVirt Glance image provider, then find the identifier of the provider, available here: https://.../ovirt-engine/api/openstackimageproviders Then send the request to execute the 'testconnectivity' action: ---8<--- #!/bin/bash -ex url="https://engine42.example.com/ovirt-engine/api" user="admin@internal" password="..." provider_id="..." curl \ --verbose \ --cacert "/etc/pki/ovirt-engine/ca.pem" \ --request POST \ --header "Version: 3" \ --header "Accept: application/xml" \ --header "Content-Type: application/xml" \ --user "${user}:${password}" \ --data ' <action/> ' \ "${url}/openstackimageproviders/${provider_id}/testconnectivity" --->8--- This should return a response like this: <action> <status>complete</status> </action> Or a fault, if the connectivity test fails: <fault> <detail>[Failed to communicate with the external provider, see log for additional details.]</detail> <reason>Operation Failed</reason> </fault> But it should never return a 404 HTTP code. If it does return that 404 code then the fix isn't working correctly.
Verified in ovirt-engine-restapi-4.1.1-0.1.el7.noarch