Description of problem: engine.log contains a lot of warning like: 2017-01-03 21:30:14,987-05 ERROR [org.ovirt.engine.api.restapi.util.LinkHelper] (default task-19) [] Can't find relative path for class "org.ovirt.engine.api.resource.VmDisksResource", will return null Version-Release number of selected component (if applicable): ovirt-engine-4.1.0-0.3.beta2.20161221085908 How reproducible: 100% Steps to Reproduce: 1. Run ovirt-system-tests and check engine.log Actual results: 2017-01-03 21:30:14,987-05 ERROR [org.ovirt.engine.api.restapi.util.LinkHelper] (default task-19) [] Can't find relative path for class "org.ovirt.engine.api.resource.VmDisksResource", will return null Expected results: No ERRORs Additional info:
This happens because version 3 of the API calls version 4 of the API in order to find the disks of a virtual machine. But in version 4 of the API the concept of disks of the virtual machine has been replaced by the concept of "disk attachments". As a result version 4 of the API can no longer correctly produce the links to disks of a virtual machine. The real issue has been addressed before, in bug 1358860. The only thing we need to do here is to make sure that the log messages aren't produced in this case, which isn't trivial. Please consider moving your application to version 4 of the API, where this problem doesn't exist.
Verified on ovirt-system-tests bc31ebe7d31c5fc5b28f604a6d3ac161a6dfde18