Bug 986668 - [engine] Display type is not inherited correctly from templates
Summary: [engine] Display type is not inherited correctly from templates
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Frantisek Kobzik
QA Contact: Tareq Alayan
URL:
Whiteboard: virt
Depends On:
Blocks: 996125
TreeView+ depends on / blocked
 
Reported: 2013-07-21 12:26 UTC by Ido Begun
Modified: 2015-09-22 13:09 UTC (History)
11 users (show)

Fixed In Version: is10
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 996125 (view as bug list)
Environment:
Last Closed:
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (1.87 MB, text/x-log)
2013-07-21 12:26 UTC, Ido Begun
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 17336 0 None None None Never

Description Ido Begun 2013-07-21 12:26:00 UTC
Created attachment 776440 [details]
engine.log

Description of problem:
In API, default display type is applied to a new VM when created from a template with a different display type.

Version-Release number of selected component (if applicable):
rhevm-3.2.1-0.39.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create VM with display type (vnc in 3.2) different from default (spice in 3.2):
<vm>
<name>vnc-orig</name>
<cluster><name>XXX</name></cluster>
<display><type>vnc</type></display>
<template><name>Blank</name></template>
</vm>

2. Create template from VM:
<template>
<name>vnc-temp</name>
<vm id="XXX"/>
</template>

(at this point template should have the same display type as the original VM)

3. Create VM from template:
<vm>
<name>vnc-api-clone</name>
<cluster><name>XXX</name></cluster>
<template><name>vnc-temp</name></template>
</vm>

Actual results:
Second VM's display type is the same as default (spice in 3.2)

Expected results:
Second VM's display type should be the same the original VM's.

Additional info:
Reproducible in 3.3 as well (with vnc being default).
I wasn't able to reproduce this using webadmin.

Comment 1 Frantisek Kobzik 2013-07-31 09:12:13 UTC
merged u/s: f5e6e457ad00ab0a6aeabe7e4386b26e8bfbc195

Comment 4 David Botzer 2013-08-27 14:00:09 UTC
I wasnt able to reproduce this via webadmin
3.3/is11 (also at 3.2/sf20.1)
Display Is correct at all sides

Please advise,

Comment 5 Frantisek Kobzik 2013-08-29 06:59:13 UTC
Hi David,
I believe this bug shouldn't be reproducable in is11/sf20 since the patch has been merged in these builds.

Comment 6 Itamar Heim 2014-01-21 22:21:33 UTC
Closing - RHEV 3.3 Released

Comment 7 Itamar Heim 2014-01-21 22:26:54 UTC
Closing - RHEV 3.3 Released


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