[one-users] Query regarding error log message

Sandeep@kqinfotech.com sandeep at kqinfotech.com
Mon Apr 5 03:23:40 PDT 2010


Hi,
   I am using openbebula as a Virtual Infrastructure Manager on Ubuntu 9.10
( kernel : 2.6.32-16-generic arch:x86_64 )
Currently i am using kvm hyperwiser. I have one front-end and two worker
nodes in cloud ( private ).
When i submit the vm using ( at front end )
                      " onevm create myfirstVM.template "

After few time shows the status  as

  ID     NAME STAT      CPU     MEM        HOSTNAME        TIME
  11    vm-examp prol     0          0        192.168.1.193          03
19:20:21
  18    vm-examp fail      0          0         192.168.1.193          00
00:31:29

the error log is as follow ( /var/log/one/18.log ) :

Mon Apr  5 14:22:41 2010 [DiM][I]: New VM state is ACTIVE.
Mon Apr  5 14:22:41 2010 [LCM][I]: New VM state is PROLOG.
Mon Apr  5 14:22:41 2010 [TM][I]: tm_clone.sh: sandeep-laptop:/tmp/disk.img
192.168.1.193:/var/lib/one//18/images/disk.0
Mon Apr  5 14:22:41 2010 [TM][I]: tm_clone.sh: DST:
/var/lib/one//18/images/disk.0
Mon Apr  5 14:22:41 2010 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//18/images
Mon Apr  5 14:22:41 2010 [TM][I]: tm_clone.sh: Executed "ssh 192.168.1.193
mkdir -p /var/lib/one//18/images".
Mon Apr  5 14:22:41 2010 [TM][I]: tm_clone.sh: Cloning
sandeep-laptop:/tmp/disk.img
Mon Apr  5 14:53:24 2010 [TM][I]: tm_clone.sh: Executed "scp
sandeep-laptop:/tmp/disk.img 192.168.1.193:/var/lib/one//18/images/disk.0".
Mon Apr  5 14:53:24 2010 [TM][I]: tm_clone.sh: Executed "ssh 192.168.1.193
chmod a+w /var/lib/one//18/images/disk.0".
Mon Apr  5 14:53:25 2010 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in
/var/lib/one//18/images/disk.1
Mon Apr  5 14:53:25 2010 [TM][I]: tm_mkswap.sh: Executed "ssh 192.168.1.193
mkdir -p /var/lib/one//18/images".
Mon Apr  5 14:53:25 2010 [TM][I]: tm_mkswap.sh: Executed "ssh 192.168.1.193
dd if=/dev/zero of=/var/lib/one//18/images/disk.1 bs=1 count=1 seek=1024M".
Mon Apr  5 14:53:25 2010 [TM][I]: tm_mkswap.sh: Initializing swap space
Mon Apr  5 14:53:26 2010 [TM][I]: tm_mkswap.sh: Executed "ssh 192.168.1.193
/sbin/mkswap /var/lib/one//18/images/disk.1".
Mon Apr  5 14:53:26 2010 [TM][I]: tm_mkswap.sh: Executed "ssh 192.168.1.193
chmod a+w /var/lib/one//18/images/disk.1".
Mon Apr  5 14:53:26 2010 [LCM][I]: New VM state is BOOT
Mon Apr  5 14:53:26 2010 [VMM][I]: Generating deployment file:
/var/lib/one/18/deployment.0
Mon Apr  5 14:53:26 2010 [VMM][I]: Command: scp /var/lib/one/18/deployment.0
192.168.1.193:/var/lib/one//18/images/deployment.0
Mon Apr  5 14:53:26 2010 [VMM][I]: Copy success
Mon Apr  5 14:53:57 2010 [VMM][I]: Connecting to uri: qemu:///system
Mon Apr  5 14:53:57 2010 [VMM][I]: error: Failed to create domain from
/var/lib/one//18/images/deployment.0
Mon Apr  5 14:53:57 2010 [VMM][I]: error: monitor socket did not show up.:
Connection refused
Mon Apr  5 14:53:57 2010 [VMM][I]: ExitCode: 1
Mon Apr  5 14:53:57 2010 [VMM][E]: Error deploying virtual machine: Failed
to create domain from /var/lib/one//18/images/deployment.0
Mon Apr  5 14:53:57 2010 [LCM][I]: Fail to boot VM.
Mon Apr  5 14:53:57 2010 [DiM][I]: New VM state is FAILED

I am not getting the exact reason of the error message. KVM hyperwiser is
running at both worker node. So, What should  I do to avoid this error
message.
I am using the following template files :

myfirstVM.template

NAME   = vm-example
CPU    = 0.5
MEMORY = 1024
OS     = [
   kernel   = "/boot/vmlinuz-2.6.32-16-generic",
   initrd   = "/boot/initrd.img-2.6.32-16-generic",
   root     = "sda1" ]
DISK   = [
   source   = "/tmp/disk.img",
   target   = "sda",
   readonly = "no" ]
   DISK   = [
   type     = "swap",
   size     = 1024,
   target   = "sdb"]
NIC    = [ NETWORK = "Private LAN" ]

vmnet.template

NAME   = "Private LAN"
TYPE   = FIXED
BRIDGE = virbr0
LEASES = [IP=192.166.122.1]

Can someone suggest the any modification so as to overcome the error
message.



-- 
Thanks & Regards,
Sandeep Kapse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100405/2be7defd/attachment-0002.htm>


More information about the Users mailing list