[Users] Destktop VM to Server VM ?

Itamar Heim iheim at redhat.com
Sun Jan 6 08:58:18 UTC 2013


On 01/06/2013 10:37 AM, Omer Frenkel wrote:
>
>
> ----- Original Message -----
>> From: "Michael Pasternak" <mpastern at redhat.com>
>> To: "Itamar Heim" <iheim at redhat.com>, "Omer Frenkel" <ofrenkel at redhat.com>
>> Cc: "Hideo Goto" <morpheus.eis at gmail.com>, users at 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..

thin/clone for server/desktop is just a default. it is in no way derived 
from VM type.
(audio device today is).

iirc, there were some discussion on making server/desktop just a set of 
defaults, rather than a type affecting anything post VM creation.



More information about the Users mailing list