[one-users] VMs stuck in pending state

Zaina AFOULKI zaina.afoulki at ensi-bourges.fr
Tue Nov 16 10:03:52 PST 2010


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




More information about the Users mailing list