Bug 1309221 - UI- Add VM from template list - wrong "Optimized For" value
Summary: UI- Add VM from template list - wrong "Optimized For" value
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ovirt-3.6.5
: 3.6.5
Assignee: jniederm
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-17 09:16 UTC by Fred Rolland
Modified: 2016-04-21 14:38 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Consequence: Previously when VM was created from Templates tab using "New VM" option and the template had disks and "optimized for" was set to "Desktop" in template and "optimized for" field was not touched in New VM dialog then the disks of newly created VM used "Clone" provisioning (even though "Thin" provisioning is appropriate for "Desktop" VMs). Fix: Result: Disks of newly created VMs always have provisioning based on "Optimized for" (Desktop/Server) field.
Clone Of:
Environment:
Last Closed: 2016-04-21 14:38:10 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
tjelinek: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
Log snippet (24.44 KB, text/plain)
2016-02-17 09:16 UTC, Fred Rolland
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 54775 0 master MERGED core: Provisioning of VMs created from Templates tab fix 2016-03-16 09:12:22 UTC
oVirt gerrit 54817 0 ovirt-engine-3.6 MERGED core: Provisioning of VMs created from Templates tab fix 2016-03-16 16:20:37 UTC

Description Fred Rolland 2016-02-17 09:16:53 UTC
Created attachment 1127893 [details]
Log snippet

Description of problem:
When adding a new VM from the "Templates" tab, the UI shows "Optimized For" as "Desktop" but it is created as "Server".

If you select "server" and then "Desktop" again, it will be created as "Desktop".

Version-Release number of selected component (if applicable):
4.0.0

How reproducible:
100%

Steps to Reproduce:
1. Go to "Templates" tab, select a template
2. Click "New VM"
3. Add a name for the VM and click OK

Actual results:
The VM is created as "Server" (Clone/Independent)

Expected results:
The VM is created as "Desktop" (Thin/Dependent)

Additional info:

Comment 1 Michal Skrivanek 2016-02-22 12:54:53 UTC
dupe of bug 1298231 (or the other way around)?

Comment 2 Tomas Jelinek 2016-02-22 14:44:26 UTC
nope, this is a different issue - the 1298231 is a about the "new disks dialog" inside the VM dialog.

This bug is about the template disks provisioning. It happens only in the "new VM" created from the templates tab - it seems the template is not properly inited in this particular flow.

Comment 3 meital avital 2016-04-12 08:59:02 UTC
Verified rhevm-3.6.5.1-0.1.el6

Verify steps:
1. Go to "Templates" tab, select a template
2. Click "New VM"
3. Add a name for the VM and click OK
4. The VM created as "Desktop"


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