Bug 1068679 - [BUG] Create new VM from imported template, template info for VM shows template blank
Summary: [BUG] Create new VM from imported template, template info for VM shows templa...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.3
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.4.0
Assignee: bugs@ovirt.org
QA Contact: bugs@ovirt.org
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-21 16:26 UTC by Sven Kieske
Modified: 2014-06-16 11:21 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-03 14:40:44 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Sven Kieske 2014-02-21 16:26:54 UTC
Description of problem:

if you create a vm based on a template which was imported from an export
domain the template which is shown under "General" tab when you select this
new vm reads "Blank" when it should be e.g. "ubuntu-server-12.04"
Version-Release number of selected component (if applicable):
ovirt engine 3.3.3-2.el6

How reproducible:
always

Steps to Reproduce:
1. import template from export domain
2. create new vm based from this template
3. check the template, which is shown in info tab for the vm or check it via REST-API

Actual results:
wrong template "blank" is shown

Expected results:
the correct template name gets reported

Additional info:
you also can not see that these vms got deployed by using this template when
you click on this template in the template overview and then select the
subtab "virtual machines"
This might be an regression and this might even still be in 3.4. (didn't test it yet)

Comment 1 Itamar Heim 2014-02-23 08:28:23 UTC
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.

Comment 2 Omer Frenkel 2014-02-23 11:25:18 UTC
I am guessing that you created the vm using the 'Clone' option under 'Resource Allocation' tab in the 'Add VM' dialog (this setting is marked by default if you select 'Optimized for Server' in the upper pane of this dialog.
can you please confirm this? try to create VM and change the resource allocation from Clone to Thin, or choose 'Desktop' under 'Optimized for'

When vm is Cloned from template, it is not linked anymore to the template disks,
this is why we show 'Blank' and you don't see the vm under the template.

In 3.4 we enhanced to show the original template even when Cloning,
please see bug 1042784 for more info on that.

Comment 3 Sven Kieske 2014-02-24 08:26:27 UTC
You are right, we provisioned the vm using "clone".

So you might be right. Thanks for pointing to the bug which fixes this in 3.4.
BTW: Is there already any planning regarding 3.4.1 ?

Comment 4 Sven Kieske 2014-02-24 08:27:50 UTC
Additional question which comes to my mind:

Does bz 1042784 also take care of the REST-API?

Because you also get the blank template via REST when you query this vm.

Comment 5 Sandro Bonazzola 2014-03-04 09:28:52 UTC
This is an automated message.
Re-targeting all non-blocker bugs still open on 3.4.0 to 3.4.1.

Comment 6 Michal Skrivanek 2014-04-03 14:40:44 UTC
yes, it fixes the issue in the backend which is common for UI and REST. It should work in 3.4:)


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