----- Original Message -----
From: "Michael Pasternak" <mpastern(a)redhat.com>
To: "Itamar Heim" <iheim(a)redhat.com>, "Omer Frenkel"
<ofrenkel(a)redhat.com>
Cc: "Hideo Goto" <morpheus.eis(a)gmail.com>, users(a)ovirt.org
Sent: Sunday, January 6, 2013 9:41:11 AM
Subject: Re: [Users] Destktop VM to Server VM ?
On 01/03/2013 09:59 PM, Itamar Heim wrote:
> On 01/03/2013 05:32 PM, Hideo Goto wrote:
>> First of all, a Happy new year to every subscriber of the list.
>>
>> My first concern of the year about ovirt:
>>
>> Is it possible to change the type of an existing VM from desktop
>> to
>> server by any possible means?
>> In my case, the VM was imported from KVM to Ovirt 3.0 environment
>> using virt-v2v. I have just found out that the VM was recognized
>> as
>> desktop while expected as server .
>>
>> Thanks in advance for any advise.
>
> I'm pretty sure the REST API/SDK/CLI would allow this as updating
> this field of the VM.
> michael?
it's used to work afair, but now i see this:
[oVirt shell (connected)]# show vm iscsi_desktop | grep type
type : desktop
[oVirt shell (connected)]#
[oVirt shell (connected)]# update vm iscsi_desktop --type server
error:
status: 400
reason: Bad Request
detail: Failed updating the properties of the VM. This may be caused
either by:
1. The values selected are not appropriate for the VM; or
2. Its values cannot be updated while the VM is in UP state (Please
shut down the VM in order to modify properties such as CPU or
cluster).
Omer?
yes looks like this field is not editable after creation,
not sure why,
maybe because server vms usually use cloned images,
and desktops usually use thin provisioned ones,
and after creation there is no way to change that..
--
Michael Pasternak
RedHat, ENG-Virtualization R&D