[one-users] VMs state remain in BOOT , with KVM hypervisor

GIANG NGUYENVAN mvnli_giang at yahoo.com
Wed May 19 21:04:45 PDT 2010


Hello, I am still a newbie to OpenNebula. I got some trouble when I deploy a Vm to the Host, which is an Ubuntu that I have installed KVM Hypervisor before.

It's no problem at all when I create the host, create the VM through VM template. I use the ttylinux.one and ttylinux.img (well, it is indeed the ttylinux example from ONE homepage). But when I deploy this Vm to KVM host, it's status remain BOOT overtime. First, I though that is due to the time ONE need ro copy image from Front-end to host, or something like that. But I have waited up to 5 hours and nothing happened, BOOT still remain BOOT. 

My System like that:
Front-end: Ubuntu - with OpenNebula, IP add is 172.29.70.141
KVM host: Ubuntu - with KVM hypervisor, IP add is 172.29.70.133
I connect two computer through a Layer 2 switch

Here is the Small-network.net file: 
NAME = "Small network"
TYPE = "FIXED
BRIDGE  = eth0
LEASES = [172.16.0.5]
LEASES = [172.16.0.6]
LEASES = [172.16.0.7]

Here is the ttylinux.one file
NAME = ttylinux
CPU = 0.1
MEMORY = 64
DISK = [
    source = "/srv/cloud/ttylinux/ttylinux.img",
    target = "hda",
    readonly = "no"]
NIC = [NETWORK = "Small network"]
FEATURES=[acpi="no"]

And here is the log file:

Tue May 18 10:54:53 2010 [DiM][I]: New VM state is ACTIVE.
Tue May 18 10:54:54 2010 [LCM][I]: New VM state is PROLOG.
Tue May 18 10:54:54 2010 [VM][I]: Virtual Machine has no context
Tue May 18 10:54:54 2010 [TM][I]: tm_clone.sh: nguyenlinh:/srv/cloud/ttylinux/ttylinux.img 172.29.70.92:/srv/cloud/one/var/30/images/disk.0
Tue May 18 10:54:54 2010 [TM][I]: tm_clone.sh: DST: /srv/cloud/one//var/30/images/disk.0
Tue May 18 10:54:54 2010 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one//var/30/images
Tue May 18 10:54:54 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one//var/30/images".
Tue May 18 10:54:54 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one//var/30/images".
Tue May 18 10:54:54 2010 [TM][I]: tm_clone.sh: Cloning /srv/cloud/ttylinux/ttylinux.img
Tue May 18 10:54:54 2010 [TM][I]: tm_clone.sh: Executed "cp /srv/cloud/ttylinux/ttylinux.img /srv/cloud/one//var/30/images/disk.0".
Tue May 18 10:54:54 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one//var/30/images/disk.0".
Tue May 18 10:54:54 2010 [LCM][I]: New VM state is BOOT
Tue May 18 10:54:54 2010 [VMM][I]: Generating deployment file: /srv/cloud/one/var/30/deployment.0

By the way, because the VM still in BOOT state, I cannot do anything like telnet to VMs :(
Please help me, I don't know how to troubleshout this problem. Anyone who has faced and solved this kind of problem please help me.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100519/1b57d4c8/attachment-0002.htm>


More information about the Users mailing list