[one-users] VMs stuck in pending state
Daniel.MOLDOVAN at cs.utcluj.ro
Daniel.MOLDOVAN at cs.utcluj.ro
Tue Nov 16 23:56:50 PST 2010
Hi,
1. Where is the OS section of the virtual machine template?
2. What hypervisor are you using? With XEN the virtual machine might not
boot if the xen kernel was not loaded .
I am particularly using KVM so something like this is in my virtual
machine template:
NAME = vm-example
CPU = 0.5
MEMORY = 512
OS = [
boot = hd,
ROOT = hda
]
DISK = [
type = disk,
clone=no,
size = 1024,
format = ext3,
source= "/home/oneadmin/Desktop/vm/disk.0",
target = hda,
readonly = "no"
]
As for the network, i am using the "virbr0" bridge created by the
opennebula express install, not eth0.
Also, use http://opennebula.org/documentation:rel2.0:template for properly
defining a virtual machine template with respect to one hypervisor or the
other.
Hope this si somewhat usefull,
Daniel
> Hi,
>
>
> I'm following this tutorial:
> http://opennebula.org/documentation:rel2.0:vmg
>
>
> The VMs are hanging in the pend state,
> $ onevm list
> ID USER NAME STAT CPU MEM HOSTNAME TIME
> 11 oneadmin ttylinux pend 0 0K 00 00:05:23
>
>
> I read in previous emails in this list that it could be related to
> insufficient memory/CPU in the node, but this is the output of
>
> $ onehost list:
> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT
> 2 cluster02 default 0 200 200 200 2G 1.7G
> on
>
> and I created a VM using the template below:
>
> NAME = ttylinux
> CPU = 0.1
> MEMORY = 64
>
>
> DISK = [
> source = "/home/x/ttylinux/ttylinux.img", target = "hda", files =
> "/bin/bash /home/x/ttylinux/id_rda.pub",
> readonly = "no" ]
>
> NIC = [ NETWORK = "test" ]
>
>
> FEATURES=[ acpi="no" ]
>
>
> So there are apparently enough resources to run the VM right? What could
> I
> doing wrong?
>
> The oned.log says nothing special:
> Tue Nov 16 18:34:38 2010 [ReM][D]: HostPoolInfo method invoked
> Tue Nov 16 18:34:43 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
> Tue Nov 16 18:36:25 2010 [InM][I]: Monitoring host cluster02 (2)
> Tue Nov 16 18:36:29 2010 [InM][D]: Host 2 successfully monitored.
> Tue Nov 16 18:38:56 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
> Tue Nov 16 18:39:02 2010 [ReM][D]: HostPoolInfo method invoked
> Tue Nov 16 18:39:02 2010 [ReM][D]: HostInfo method invoked
> Tue Nov 16 18:44:10 2010 [VMM][I]: --Mark--
> Tue Nov 16 18:44:10 2010 [InM][I]: --Mark--
>
>
> The user oneadmin can ssh without password to cluster02.
> This is what my small_network.net looks like:
> NAME = "test"
> TYPE = FIXED
>
>
> BRIDGE = eth0
> LEASES = [ IP="x.x.x.x"]
>
>
> is it okay to have eth0 as a bridge? and should I add more lease IPs?
>
> I'm crossing my fingers that my explanation provides enough background. I
> would appreciate any help. Thank you.
>
> --
> Zaina
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
More information about the Users
mailing list