Bug 1000964

Summary: [rhevm] Backend - Template - Cannot change "optimized for" to Desktop
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engineAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: medium Docs Contact:
Priority: high    
Version: 3.3.0CC: acathrow, iheim, lpeer, michal.skrivanek, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: is12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
edit-template
none
picture none

Description David Botzer 2013-08-26 08:34:02 UTC
Created attachment 790335 [details]
edit-template

Description of problem:
Changing TEmplate property -> General ->  optimized from server to Desktop
Gives error message.

Version-Release number of selected component (if applicable):
3.3/is11

How reproducible:
always

Steps to Reproduce:
1.I created a blank VM + vNIC&  5GB Disk,
2.I made a template from this vm
I also was able to create VMs from this template,
3.I edit this template, and change 
General ->  optimized from server to Desktop
when I press ok i got error ->

Actual results:
Error message and cannot change "Optimized for"

Expected results:
Should allow to change from server to desktop

Additional info:

Error in GUI -->
--------------------
Error while executing action:

BlankVM-Tmplt:

* Failed updating the properties of the VM template.
================================
Error in engine.log

2013-08-26 11:15:34,564 WARN  [org.ovirt.engine.core.bll.UpdateVmTemplateCommand] (ajp-/127.0.0.1:8702-7) CanDoAction of action UpdateVmTemplate failed. Reasons:VAR__ACTION__UPDATE,VAR__TYPE__VM_TEMPLATE,VMT_CANNOT_UPDATE_ILLEGAL_FIELD
2013-08-26 11:15:36,337 WARN  [org.ovirt.engine.core.dal.job.ExecutionMessageDirector] (ajp-/127.0.0.1:8702-9) The message key UpdateVmTemplate is missing from bundles/ExecutionMessages

Comment 1 David Botzer 2013-08-26 08:35:43 UTC
Created attachment 790336 [details]
picture

Comment 2 Tomas Jelinek 2013-08-26 12:42:14 UTC
merged as: 865656eb4faa6858a3516310e0508276e5e02614

Comment 3 Pavel Novotny 2013-09-03 16:11:03 UTC
Verified in rhevm-3.3.0-0.18.master.el6ev (IS12).

Verified according to the reproducer in comment#0: The VM template parameter "Optimized For" now can be freely changed without experiencing any errors.

Comment 5 Itamar Heim 2014-01-21 22:25:27 UTC
Closing - RHEV 3.3 Released

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

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