[one-users] VM fails to start in OpenNebula 2.0

KING LABS kinglabs.in at gmail.com
Mon Nov 1 05:39:47 PDT 2010


Hi,

I am trying to install and configure OpenNebula 2.0. I installed using
express script which went fine.

while trying to create vm i am getting the following error ... please
correct me if I am doing it wrong

---------------------------------------------------------------------------------



root at frontend:/var/log/one# tail -f 5.log
Mon Nov  1 07:47:14 2010 [DiM][I]: New VM state is ACTIVE.
Mon Nov  1 07:47:14 2010 [LCM][I]: New VM state is PROLOG.
Mon Nov  1 07:47:14 2010 [VM][I]: Virtual Machine has no context
Mon Nov  1 07:47:42 2010 [TM][I]: tm_clone.sh:
frontend.rnd.local:/var/lib/one//images/4b78a2b9c028c8caf31ab169da2f62cf917ea56f
192.168.138.232:/var/lib/one//5/images/disk.0
Mon Nov  1 07:47:42 2010 [TM][I]: tm_clone.sh: DST:
/var/lib/one//5/images/disk.0
Mon Nov  1 07:47:42 2010 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//5/images
Mon Nov  1 07:47:42 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p
/var/lib/one//5/images".
Mon Nov  1 07:47:42 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w
/var/lib/one//5/images".
Mon Nov  1 07:47:42 2010 [TM][I]: tm_clone.sh: Cloning
/var/lib/one//images/4b78a2b9c028c8caf31ab169da2f62cf917ea56f
Mon Nov  1 07:47:42 2010 [TM][I]: tm_clone.sh: Executed "cp -r
/var/lib/one//images/4b78a2b9c028c8caf31ab169da2f62cf917ea56f
/var/lib/one//5/images/disk.0".
Mon Nov  1 07:47:42 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w
/var/lib/one//5/images/disk.0".
Mon Nov  1 07:47:45 2010 [TM][I]: tm_mkswap.sh: Creating directory
/var/lib/one//5/images
Mon Nov  1 07:47:45 2010 [TM][I]: tm_mkswap.sh: Executed "mkdir -p
/var/lib/one//5/images".
Mon Nov  1 07:47:45 2010 [TM][I]: tm_mkswap.sh: Executed "chmod a+w
/var/lib/one//5/images".
Mon Nov  1 07:47:45 2010 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in
/var/lib/one//5/images/disk.1
Mon Nov  1 07:47:45 2010 [TM][I]: tm_mkswap.sh: Executed "/bin/dd
if=/dev/zero of=/var/lib/one//5/images/disk.1 bs=1 count=1 seek=1024M".
Mon Nov  1 07:47:45 2010 [TM][I]: tm_mkswap.sh: Initializing swap space
Mon Nov  1 07:47:45 2010 [TM][I]: tm_mkswap.sh: Executed "/sbin/mkswap
/var/lib/one//5/images/disk.1".
Mon Nov  1 07:47:45 2010 [TM][I]: tm_mkswap.sh: Executed "chmod a+w
/var/lib/one//5/images/disk.1".
Mon Nov  1 07:47:45 2010 [LCM][I]: New VM state is BOOT
Mon Nov  1 07:47:45 2010 [VMM][I]: Generating deployment file:
/var/lib/one/5/deployment.0
Mon Nov  1 07:48:16 2010 [VMM][I]: Command execution fail:
/tmp/one/vmm/kvm/deploy /var/lib/one//5/images/deployment.0
Mon Nov  1 07:48:16 2010 [VMM][I]: STDERR follows.
Mon Nov  1 07:48:16 2010 [VMM][I]: Warning: Permanently added
'192.168.138.232' (RSA) to the list of known hosts.
Mon Nov  1 07:48:16 2010 [VMM][I]: error: Failed to create domain from
/var/lib/one//5/images/deployment.0
Mon Nov  1 07:48:16 2010 [VMM][I]: error: monitor socket did not show up.:
Connection refused
Mon Nov  1 07:48:16 2010 [VMM][I]: ExitCode: 255
Mon Nov  1 07:48:16 2010 [VMM][E]: Error deploying virtual machine
Mon Nov  1 07:48:17 2010 [DiM][I]: New VM state is FAILED
Mon Nov  1 07:48:17 2010 [TM][W]: Ignored: LOG - 5 tm_delete.sh: Deleting
/var/lib/one//5/images

Mon Nov  1 07:48:17 2010 [TM][W]: Ignored: LOG - 5 tm_delete.sh: Executed
"rm -rf /var/lib/one//5/images".

Mon Nov  1 07:48:17 2010 [TM][W]: Ignored: TRANSFER SUCCESS 5 -


-----------------------------------------------------------------------------------
VM Template ---

CPU    = 1
MEMORY = 512

DISK = [ image     = "Ubuntu_APP" ]

DISK = [ type   = swap,
         size   = 1024  ]

NIC    = [ NETWORK = "Public" ]

FEATURES=[ acpi="no" ]

GRAPHICS = [
  type    = "vnc",
  listen  = "127.0.0.0",
  port    = "5902"  ]

----------------------------------------------------------------------------

Net Template -

NAME    = "Public"
TYPE    = FIXED

BRIDGE = virbr0

LEASES  = [IP=192.168.138.150]
LEASES  = [IP=192.168.138.151]
LEASES  = [IP=192.168.138.152]
LEASES  = [IP=192.168.138.153]
----------------------------------------------------------------------

oneadmin at frontend:~$ onehost list
  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM
STAT
   0 192.168.138.231   default    0    200    200    200    3.2G    3.1G
on
   1 192.168.138.232   default    0    400    400    400    3.2G    3.1G
on
oneadmin at frontend:~$


oneadmin at frontend:~$ oneimage list
  ID     USER                 NAME TYPE              REGTIME PUB PER STAT
 #VMS
   5 oneadmin           Ubuntu_App   OS   Nov 01, 2010 10:33 Yes  No  rdy
  0
   7 oneadmin           Ubuntu_ISO   CD   Nov 01, 2010 10:35 Yes  No used
  1
   8 oneadmin            XPSP2_App   OS   Nov 01, 2010 10:39 Yes  No  rdy
  0
   9 oneadmin            XPSP2_ISO   CD   Nov 01, 2010 10:40 Yes  No  rdy
  0
oneadmin at frontend:~$

-------------------------------------------------------------------------------------------------------------------------

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101101/15b471be/attachment-0001.htm>


More information about the Users mailing list