Bug 1006290 - Cannot change OS type of existing template
Summary: Cannot change OS type of existing template
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Martin Betak
QA Contact: Pavel Stehlik
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 11:51 UTC by Jiri Belka
Modified: 2013-10-02 15:03 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-02 15:03:01 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)


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

Description Jiri Belka 2013-09-10 11:51:56 UTC
Description of problem:

Cannot change OS type of existing template.

popup:
======

Error while executing action:

fffff:

    Failed updating the properties of the VM template.

engine.log:
===========

2013-09-10 13:49:19,435 WARN  [org.ovirt.engine.core.dal.job.ExecutionMessageDirector] (ajp-/127.0.0.1:8702-4) The message key UpdateVmTemplate is missing from bundles/ExecutionMessages
2013-09-10 13:49:19,535 WARN  [org.ovirt.engine.core.bll.UpdateVmTemplateCommand] (ajp-/127.0.0.1:8702-4) CanDoAction of action UpdateVmTemplate failed. Reasons:VAR__ACTION__UPDATE,VAR__TYPE__VM_TEMPLATE,VMT_CANNOT_UPDATE_ILLEGAL_FIELD

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

How reproducible:
100%

Steps to Reproduce:
1. try to change os type of an existing template
2.
3.

Actual results:
not possible

Expected results:
why not?

Additional info:

Comment 1 Einav Cohen 2013-09-11 19:36:20 UTC
there is a chance that you cannot change the OSType of a Template by design. 
if so - field in the GUI should be disabled. 
otherwise - CanDoAction should be fixed.

Comment 2 Michal Skrivanek 2013-10-02 13:37:57 UTC
martin, pls check it's not because of timezone...:)

Comment 3 Martin Betak 2013-10-02 14:23:27 UTC
This has been already fixed u/s some time ago (viz tracker).
And no, it wasn't caused by timezone ;-)


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