Description of problem: When version 4 or later of oVirt (or RHEV-M) is added to CFME as a provider, inventory refresh doesn't work correctly. Version-Release number of selected component (if applicable): Any version of CFME. Version 4 or newer of oVirt or RHEV-M. How reproducible: Always. Steps to Reproduce: 1. Add the oVirt provider. 2. Wait for the inventory refresh. Actual results: The refresh fails and the log of the web server in the oVirt machine shows requests that start with the following incorrect prefix: /ovirt-engine/api/ovirt-engine/api Expected results: The refresh should work correctly.
The following PR are required to fix this issue: Remove "ovirt-engine" prefix from paths https://github.com/ManageIQ/ovirt/pull/55 Don't add the /ovirt-engine prefix to oVirt ems_ref https://github.com/ManageIQ/manageiq/pull/9457 In addition, once the change to the `ovirt` gem is merged, it needs to be released, and an additional PR request will need to be done to use the new version.
The fix to update the version of the `ovirt` gem has already been merged to the master branch, as part of this pull request: Fix gem issues related to rails 5.0 release https://github.com/ManageIQ/manageiq/pull/9667 So this bug can now be moved to MODIFIED.
Verified on CFME-5.7.0.3.20160927165516_075d0f3 and RHV-4.0.4.2-0.1.el7ev