Bug 1325638

Summary: [REST API] Vm/Template entities in API do not include video type attribute
Product: [oVirt] ovirt-engine Reporter: sefi litmanovich <slitmano>
Component: RestAPIAssignee: Sharon Gratch <sgratch>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.6.5.1CC: bugs, michal.skrivanek, shavivi, tjelinek
Target Milestone: ovirt-4.1.0-betaFlags: michal.skrivanek: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-25 09:03:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sefi litmanovich 2016-04-10 08:23:16 UTC
Description of problem:

Under console options of a VM/Template there's a video type parameter (QXL/CIRRUS). This parameter doesn't exit in the API entity of Vms/Templates.
This is somewhat related to this bug -> https://bugzilla.redhat.com/show_bug.cgi?id=1323475 but in any case the question is why is this parameter changeable in the web admin but not API?
There's a comment by tjelinek in bz#1241279 explaining that video type values are not exposed directly in API and are determined by display type. This raises the question why this parameter is exposed under web admin.

I think we should either remove it from web admin or add it to API.

Version-Release number of selected component (if applicable):
rhevm 3.6.5.1-0.1.el6.

How reproducible:
always

Comment 1 sefi litmanovich 2016-04-13 15:05:37 UTC
I should add that the same problem exists with at least one more attribute:
'placement_policy' which also exist for VM entity, exist on web admin's edit template/Instance type but does not exist in template/instance type entities in the API.

Comment 2 sefi litmanovich 2016-04-14 14:28:50 UTC
Also 'virtio_scsi' attributes do not exist on template in API.

Comment 3 Tomas Jelinek 2016-12-14 14:53:50 UTC
this is related to the work being done on https://bugzilla.redhat.com/1381184

Comment 4 Shahar Havivi 2017-01-25 09:03:53 UTC
Sefi will open a new bug for 'placement policy' (RFE) and one for virtio-scsi.
as for the video type attribute will be fix in bz #1406394

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