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?
--
Michael Pasternak
RedHat, ENG-Virtualization R&D