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

Tino Vazquez tinova at fdi.ucm.es
Thu May 20 06:24:38 PDT 2010


Hi Giang,

If you do a "virsh list" in the KVM Host as oneadmin, can you see
within the output a VM named "one-<id>", where id is the ID that
OpenNebula gives the VM that is still in boot?

Regards,

-Tino
--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Thu, May 20, 2010 at 6:04 AM, GIANG NGUYENVAN <mvnli_giang at yahoo.com> wrote:
> 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.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



More information about the Users mailing list