Bug 1429482 - Difference between VV file content and data received as a response for REST api call to get VV file content.
Summary: Difference between VV file content and data received as a response for REST a...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.3.1
: ---
Assignee: Tomasz Barański
QA Contact: Liran Rotenberg
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-06 13:11 UTC by Vitalii Yerys
Modified: 2019-03-01 10:20 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.3.1.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-01 10:20:21 UTC
oVirt Team: Virt
Embargoed:
tjelinek: ovirt-4.3?
tjelinek: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 96783 0 master MERGED core: REST API needs console title. 2019-02-07 12:35:02 UTC

Description Vitalii Yerys 2017-03-06 13:11:01 UTC
Description of problem:
There is a difference between VV file downloaded via UI and if same file is downloaded as a REST API response body. Missing field "tittle" which is present in VV file downloaded via UI but missing in file downloaded via REST.

Version-Release number of selected component (if applicable):
master

Engine: Red Hat Virtualization Manager Version: 4.1.1-0.1.el7

How reproducible:
100%

Steps to Reproduce:
1. Create VM with spice console protocol used and start it.
2. Download VV file via UI.
3. Verify field "title" is present in the VV file.
4. Download VV file info via REST, using following call:
NOTE: use 'Accept': 'application/x-virt-viewer' header.
GET ../ovirt-engine/api/vms/<vm-id>/graphicsconsoles/<console-id>

Actual results:
Raw response body does not contain "title" field.


Expected results:
Data achieved by both methods should be the same (contain same info). "title" field should be present in the response body.


Additional info:

Comment 1 Tomas Jelinek 2017-03-07 07:51:46 UTC
AFAIK there was a difference also in the USB filter field (e.g. missing from API)

Comment 2 Tomas Jelinek 2017-11-24 08:35:02 UTC
unfortunately have to postpone it due to capacity

Comment 3 Ryan Barry 2019-01-21 14:53:57 UTC
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both

Comment 4 Liran Rotenberg 2019-02-11 10:23:11 UTC
Verified on:
ovirt-engine-4.3.0.5-0.0.master.20190210112640.git53b60e3.el7.noarch

Steps:
1. Create VM with spice console protocol used and start it.
2. Download VV file via UI.
3. Verify field "title" is present in the VV file.
4. Download VV file info via REST, using following call:
NOTE: use 'Accept': 'application/x-virt-viewer' header.
GET ../ovirt-engine/api/vms/<vm-id>/graphicsconsoles/<console-id>

Results:
Raw response body does contain "title" field, matching value from UI and REST API.

Comment 5 Sandro Bonazzola 2019-03-01 10:20:21 UTC
This bugzilla is included in oVirt 4.3.1 release, published on February 28th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.1 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.


Note You need to log in before you can comment on or make changes to this bug.