Created attachment 1501890 [details] graphicsconsoles v4.2 vs v4.3 Description of problem: GET request ovirt-engine/api/instancetypes/[ID]/graphicsconsoles results with null Version-Release number of selected component (if applicable): Engine Version: 4.3.0-0.0.el7 OS Version: RHEL - 7.6 - 4.el7 LIBVIRT Version: libvirt-4.5.0-10.el7 VDSM Version: vdsm-4.30.1-29.el7 How reproducible: 100% Steps to Reproduce: 1. Send GET request "ovirt-engine/api/instancetypes" 2. choose instance type from the received response and send GET request "/ovirt-engine/api/instancetypes/[INSTANCE TYPE ID]/graphicsconsoles" 3. Actual results: /ovirt-engine/api/instancetypes/[INSTANCE TYPE ID]/null/[GRAPHIC CONSOLE ID] Expected results: /ovirt-engine/api/instancetypes/[INSTANCE TYPE ID]/graphicsconsoles/[GRAPHIC CONSOLE ID] Additional info: 2018-11-05 10:35:21,280 - MainThread - graphicsconsoles - DEBUG - Response body for GET request is: <graphics_consoles> <graphics_console href="/ovirt-engine/api/instancetypes/1abb04a9-b052-49cf-897f-4c0abe6819ff/null/7370696365" id="7370696365"> <protocol>spice</protocol> <instance_type href="/ovirt-engine/api/instancetypes/1abb04a9-b052-49cf-897f-4c0abe6819ff" id="1abb04a9-b052-49cf-897f-4c0abe6819ff"/> </graphics_console> </graphics_consoles> 2018-11-05 10:35:51,652 - MainThread - root - INFO - Remove console None devices from the resource. 2018-11-05 10:36:03,189 - MainThread - graphicsconsoles - INFO - Using Correlation-Id: graphicsconsoles_delete_8601f661-83a2-46ad 2018-11-05 10:36:03,189 - MainThread - graphicsconsoles - DEBUG - DELETE request content is -- url:/ovirt-engine/api/instancetypes/1abb04a9-b052-49cf-897f-4c0abe6819ff/null/7370696365 2018-11-05 10:36:03,289 - MainThread - core_api - DEBUG - Request DELETE response time: 0.006 2018-11-05 10:36:03,290 - MainThread - graphicsconsoles - DEBUG - Cleaning Correlation-Id: graphicsconsoles_delete_8601f661-83a2-46ad 2018-11-05 10:36:03,291 - MainThread - graphicsconsoles - ERROR - Details was not found on body 2018-11-05 10:36:03,291 - MainThread - api_utils - ERROR - Failed to delete element NOT as expected: Status: 404 Reason: Not Found 2018-11-05 10:36:03,292 - MainThread - graphicsconsoles - ERROR - Response code is not valid, expected is: [200, 202, 204], actual is: 404
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Still reproduced in 4.3.0-0.2.master.20181121071050.gita8fcd23.el7.
The package 4.3.0-0.2.master.20181121071050.gita8fcd23.el7 was build last week, and this change was merged to master only yesterday. Please update the package and try again.
Verified on 4.3.0-0.2.master.20181127150027.gitd731af3.el7.
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019. Since the problem described in this bug report should be resolved in oVirt 4.3.0 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.