Bug 1241279 - engine API: Missing properties for Instance_types (instancetypes)
Summary: engine API: Missing properties for Instance_types (instancetypes)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.1
: 3.6.0
Assignee: Tomas Jelinek
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-08 22:05 UTC by David Jaša
Modified: 2016-04-20 01:10 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-20 01:10:12 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 46003 0 master MERGED core: balloon always reset when editing VM from REST Never
oVirt gerrit 46004 0 master MERGED restapi: added memory_policy to tempalte and instance type Never
oVirt gerrit 46168 0 master MERGED restapi: instance types need to have only the subset of template fields Never
oVirt gerrit 46689 0 ovirt-engine-3.6 MERGED core: balloon always reset when editing VM from REST Never
oVirt gerrit 46721 0 ovirt-engine-3.6 MERGED restapi: added memory_policy to tempalte and instance type Never
oVirt gerrit 46722 0 ovirt-engine-3.6 MERGED restapi: instance types need to have only the subset of template fields Never

Description David Jaša 2015-07-08 22:05:30 UTC
Description of problem:
engine API: Missing properties for Instance_types (instancetypes)

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-3.6.0-0.0.master.20150627185748.git6f063c1.el7.centos.noarch
ovirt-engine-restapi-3.6.0-0.0.master.20150627185748.git6f063c1.el7.centos.noarch

How reproducible:
always

Steps to Reproduce:
1. in webadmin, go to Configure - Instance Types and browse all the options
2. in API, do GET http://engine.example.com/ovirt-engine/api/instancetypes with "All-content: true" header
3.

Actual results:
- API lacks many properties
- webadmin lacks some properties

Expected results:
the options exposed by both interfaces should be the same

Additional info:
in API, I'm currently missing elements e.g. for these properties:
* Console - Video Type
* Resource Allocation - Physical Memory Guaranteed
* Resource Allocation - Memory Balloon Device Enabled

in UI, I'm missing:
* display/file_transfer_enabled
* display/copy_paste_enabled

Comment 1 Tomas Jelinek 2015-09-15 12:45:48 UTC
- aligned REST API with UI (mostly removed not instance type fields from REST)
- the Video Type is not exposed to REST directly - it is determined by the engine according to the selected display type

Comment 3 Nisim Simsolo 2016-02-21 13:31:26 UTC
Verified: 
rhevm-3.6.3.2-0.1.el6
libvirt-client-1.2.17-13.el7_2.2.x86_64
vdsm-4.17.21-0.el7ev.noarch
qemu-kvm-rhev-2.3.0-31.el7_2.4.x86_64
sanlock-3.2.4-1.el7.x86_64

Verification scenario:
Compare instance type properties between REST API and webadmin.


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