[one-users] file template of onevm
Marco Mirabile
dominioyp at gmail.com
Wed Apr 13 09:32:32 PDT 2011
I tried to launch a virtual machine but fail.
I can not find the error
> oneadmin at mobile:~$ onevm create android.template
oneadmin at mobile:~$ onevm list
ID USER NAME STAT CPU MEM HOSTNAME TIME
6 oneadmin android_ pend 0 0K 00 00:00:05
oneadmin at mobile:~$ onehost list
ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM
> STAT
2 localhost default 0 200 148 200 1.8G 1.4G
> on
oneadmin at mobile:~$ onevm deploy 6 2
Error: [VirtualMachineDeploy] Error trying to MANAGE VM [6]. Returned error
> code [-1].. Reason: VM in wrong state.
oneadmin at mobile:~$
Message: 2
Date: Wed, 13 Apr 2011 12:43:15 +0200
From: H?ctor Sanju?n <hsanjuan at opennebula.org>
To: users at lists.opennebula.org
Subject: Re: [one-users] file template of onevm
Message-ID: <4DA57E43.3090100 at opennebula.org>
Content-Type: text/plain; charset=ISO-8859-1
I suppose there is an image with name "KVM" registered in ONE?. It
should show up with "oneimage list".
Hector
El 13/04/11 12:32, Marco Mirabile escribi?:
> hello
> I have a question about the template file onevm
>
> can you tell me if it is correct?
> in time to create a VMs I have this error
>
>
> oneadmin at mobile:~$ cat kvmHVM
> REQUIREMENTS = "HYPERVISOR=\"kvm\""
> NAME = KVM
> CPU = 1
> MEMORY = 512
> DISK = [ image = "KVM" ]
> OS = [ boot = "hd" ]
> GRAPHICS=[type = "vnc",
> listen ="127.0.0.1",
> port ="5910",
> keymap= "es"]
> oneadmin at mobile:~$ onevm create kvmHVM
> Error: [VirtualMachineAllocate] Error trying to CREATE VM Could not
> get disk image for VM.
> oneadmin at mobile:~$
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110413/8d675787/attachment-0003.htm>
More information about the Users
mailing list