[one-users] OpenNebula VMWare LCM_State BOOT

Yih Leong, Sun. yihleong at gmail.com
Thu Apr 22 04:47:43 PDT 2010


Nope. I'm not getting File<..> not found error.
And there is no other <one-*> folder in the datastore.

This is how i create and deploy the vm.
1. onevm create vmware.template
2. onevm deploy <vid> <hid>

The oned.log shows that the vm cloning is successful.
And i can see that it is renaming the vmx file to one-<ID>.vmx.
Both the vmm_vmware.log and im_vmware.log only shows INIT SUCCESS and
nothing else.

The <ID>.log shows the following:
Thu Apr 22 12:29:37 2010 [DiM][I]: New VM state is ACTIVE.
Thu Apr 22 12:29:37 2010 [LCM][I]: New VM state is PROLOG.
Thu Apr 22 12:29:37 2010 [VM][I]: Virtual Machine has no context
Thu Apr 22 12:31:47 2010 [TM][I]: tm_clone.sh:
yl-desktop:/vmware/store/ubuntu_template
yl.desktop:/var/lib/one/17/images/disk.0
Thu Apr 22 12:31:47 2010 [TM][I]: tm_clone.sh: Cloning
yl-desktop:/vmware/store/ubuntu_template
Thu Apr 22 12:31:47 2010 [LCM][I]: New VM state is BOOT
Thu Apr 22 12:31:47 2010 [VMM][I]: Generating deployment file:
/var/lib/one/17/deployment.0

The process stop here and nothing else happen, and the VM info shows
LCM_STATE as BOOT.
It seems like the vm doesn't get kick start at all.

ID             : 17
NAME           : VMwareVM
STATE          : ACTIVE
LCM_STATE      : BOOT
START TIME     : 04/22 12:29:30
END TIME       : -
DEPLOY ID:     :

VIRTUAL MACHINE TEMPLATE
CPU=1
DISK=[
  CLONE=yes,
  SAVE=no,
  SOURCE=/vmware/store/ubuntu_template ]
MEMORY=1024
NAME=VMwareVM
NIC=[
  BRIDGE=vbr0,
  IP=192.168.0.1,
  MAC=00:03:c0:a8:00:01,
  NETWORK=VMWareNet,
  VNID=0 ]
VMID=17


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Hi,

Are you getting a File<unspecifiedfilename>not found error in your VI
client?

In that case, try removing in the shared datastore all the  <one-*> folders.

Regards,

-Tino

On Wed, Apr 21, 2010 at 10:45 AM, Yih Leong, Sun. <yihleong at gmail.com>wrote:

> Nope. I can't see the vm from the vmware host (http://localhost:8222/ui).
> It is not registered at all.
>
> I'm using VMWare Server 2.0.
>
> However, I can see the vmware template is already copied. And I can run
> register and start this one-13 from the vmware console.
> But not from the OpenNebula.
>
>
> On Wed, Apr 21, 2010 at 10:28 AM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>
>> Hi Sun,
>>
>> If you connect to the VMware host, can you see the machine running? Or
>> is it registered at least (you should see a one-13 machine)?
>>
>> 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 Mon, Apr 19, 2010 at 2:27 PM, Sun <ssysun at gmail.com> wrote:
>> > Unable to deploy/start vmware using OpenNebula.
>> > The LCM state stopped at BOOT state.
>> >
>> > Mon Apr 19 12:46:42 2010 [DiM][I]: New VM state is ACTIVE.
>> > Mon Apr 19 12:46:42 2010 [LCM][I]: New VM state is PROLOG.
>> > Mon Apr 19 12:46:42 2010 [VM][I]: Virtual Machine has no context
>> > Mon Apr 19 12:49:12 2010 [TM][I]: tm_clone.sh: Cloning
>> > my-desktop:/vmware/store/
>> > ubuntu
>> > Mon Apr 19 12:49:12 2010 [LCM][I]: New VM state is BOOT
>> > Mon Apr 19 12:49:12 2010 [VMM][I]: Generating deployment file:
>> > /var/lib/one/13/deployment.0
>> >
>> > It stop here and VM never go into active state.
>> >
>> > VIRTUAL MACHINE 13 INFORMATION
>> > ID             : 13
>> > NAME           : VMwareVM
>> > STATE          : ACTIVE
>> > LCM_STATE      : BOOT
>> > START TIME     : 04/19 12:46:36
>> > END TIME       : -
>> > DEPLOY ID:     :
>> >
>> > VIRTUAL MACHINE TEMPLATE
>> > CPU=1
>> > DISK=[
>> >   CLONE=yes,
>> >   SAVE=no,
>> >   SOURCE=/vmware/store/ubuntu ]
>> > MEMORY=1024
>> > NAME=VMwareVM
>> > NIC=[
>> >   BRIDGE=vbr0,
>> >   IP=192.168.0.2,
>> >   MAC=00:03:c0:a8:00:02,
>> >   NETWORK=VMWareNet,
>> >   VNID=0 ]
>> > VMID=13
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100422/c51d85bc/attachment-0003.htm>


More information about the Users mailing list