Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1347155

Summary: Can not get graphic console by id from VM under REST API V3
Product: [oVirt] ovirt-engine Reporter: Artyom <alukiano>
Component: RestAPIAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: bugs, mperina, oourfali
Target Milestone: ovirt-4.0.1Keywords: Regression, Triaged
Target Release: 4.0.1.1Flags: rule-engine: ovirt-4.0.z+
rule-engine: blocker+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
pstehlik: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 06:23:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine log none

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/