Bug 1347155 - Can not get graphic console by id from VM under REST API V3
Summary: Can not get graphic console by id from VM under REST API V3
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.0.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.0.1
: 4.0.1.1
Assignee: Juan Hernández
QA Contact: Artyom
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-16 07:23 UTC by Artyom
Modified: 2016-07-19 06:23 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 06:23:24 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: blocker+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)
engine log (548.74 KB, text/plain)
2016-06-16 07:23 UTC, Artyom
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 59368 0 master MERGED restapi: Fix the V3 graphics console 2016-06-20 07:59:23 UTC
oVirt gerrit 59457 0 ovirt-engine-4.0 MERGED restapi: Fix the V3 graphics console 2016-06-20 09:51:02 UTC

Description Artyom 2016-06-16 07:23:30 UTC
Created attachment 1168577 [details]
engine log

Description of problem:
Can not get graphic console by id from VM(VM is UP)
GET request:
api/vms/vm_id/graphicsconsoles/grapchic_console_id

return 404

Version-Release number of selected component (if applicable):
ovirt-engine-restapi-4.0.0.4-0.1.el7ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Start VM
2. Try to get VM graphic console by id via REST
GET request:
api/vms/vm_id/graphicsconsoles/grapchic_console_id
3.

Actual results:
404 Not Found

Expected results:
Depend on Accept header, for application/xml it must return
<graphics_consolehref="/ovirt-engine/api/vms/5c77c4c9-34af-4ed1-b02b-ea8a4bd58727/graphicsconsoles/7370696365"id="7370696365">
<actions>
<linkhref="/ovirt-engine/api/vms/5c77c4c9-34af-4ed1-b02b-ea8a4bd58727/graphicsconsoles/7370696365/proxyticket"rel="proxyticket"/>
</actions>
<protocol>spice</protocol>
<vmhref="/ovirt-engine/api/vms/5c77c4c9-34af-4ed1-b02b-ea8a4bd58727"id="5c77c4c9-34af-4ed1-b02b-ea8a4bd58727"/>
</graphics_console>
as it happen for V4

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2016-06-16 16:41:45 UTC
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.

Comment 2 Oved Ourfali 2016-06-20 12:45:51 UTC
As no more respin is planned, moving to 4.0.1.
No action item is needed as it will automatically be on the 4.0.1 build.

Comment 3 Artyom 2016-07-17 11:56:05 UTC
Verified on rhevm-4.0.2-0.2.rc1.el7ev.noarch

Comment 4 Sandro Bonazzola 2016-07-19 06:23:24 UTC
Since the problem described in this bug report should be
resolved in oVirt 4.0.1 released on July 19th 2016, it has been closed with a
resolution of CURRENT RELEASE.

For information on the release, and how to update to this release, follow the link below.

If the solution does not work for you, open a new bug report.

http://www.ovirt.org/release/4.0.1/


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