Bug 1332281 - Console vv file generated by REST API is missing [ovirt] section
Summary: Console vv file generated by REST API is missing [ovirt] section
Keywords:
Status: CLOSED DUPLICATE of bug 1310553
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.1.0-alpha
: ---
Assignee: Tomas Jelinek
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 19:10 UTC by Vojtech Szocs
Modified: 2016-09-13 13:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-13 13:30:33 UTC
oVirt Team: Virt
Embargoed:
tjelinek: ovirt-4.1?
rule-engine: planning_ack?
tjelinek: devel_ack+
rule-engine: testing_ack?


Attachments (Terms of Use)
Console vv file generated by WebAdmin UI (3.31 KB, text/plain)
2016-05-02 19:11 UTC, Vojtech Szocs
no flags Details
Console vv file generated by REST API (1.80 KB, text/plain)
2016-05-02 19:12 UTC, Vojtech Szocs
no flags Details

Description Vojtech Szocs 2016-05-02 19:10:57 UTC
Description of problem:

Console vv file generated by WebAdmin UI differs from one generated by REST API.

The difference is that [ovirt] section, required for virt-viewer vs. Engine communication, is missing in REST API generated vv file.


Steps to Reproduce:
1. inspect vv file generated by WebAdmin UI
2. inspect vv file generated by REST API [*]

[*] curl -k -u admin@internal:PASSWORD -H "Content-Type: application/xml" -H "Accept: application/x-virt-viewer" -X GET https://ENGINE:8443/ovirt-engine/api/vms/VM_ID/graphicsconsoles/CONSOLE_ID > ~/tmp/console-rest.vv


Actual results:

The [ovirt] section is missing in vv file generated by REST API.


Expected results:

The [ovirt] section should be present in both vv files.


Additional info:

See the attached vv files for reference.

Comment 1 Vojtech Szocs 2016-05-02 19:11:50 UTC
Created attachment 1153027 [details]
Console vv file generated by WebAdmin UI

Comment 2 Vojtech Szocs 2016-05-02 19:12:11 UTC
Created attachment 1153028 [details]
Console vv file generated by REST API

Comment 3 Tomas Jelinek 2016-09-13 13:30:33 UTC

*** This bug has been marked as a duplicate of bug 1310553 ***


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