Description of problem: When creating external network through oVirt REST API: Sending POST on https://<server>/ovirt-engine/api/networks with body: <network> <name>test</name> <external_provider id=[EP_ID]/> <data_center id=[DC_ID]/> </network> Results in: HTTP CREATED (201) <?xml version="1.0" encoding="UTF-8" standalone="yes"?> ... ... <network href="/ovirt-engine/api/networks/<NET_ID>" id="<NET_ID>"> <external_provider href="/ovirt-engine/api/openstacknetworkproviders/<WRONG_ID>" id="<WRONG_ID>"/> </network> <WRONG_ID> is invalid provider ID. Version-Release number of selected component (if applicable): RHV 4.2.1.1-0.1.el7 How reproducible: 100% Steps to Reproduce: 1. Create 'test' network using REST and attach it to external provider ID. Actual results: Invalid response for external provider ID. Expected results: Should be valid. Additional info:
Created attachment 1382561 [details] logs
Verified on: RHV Version 4.2.2.1-0.1
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.