[one-users] Fwd: Register VM for ESX 4.1

Jonathan Kelley jkelley at vm-labs.com
Thu Sep 2 09:05:15 PDT 2010


Hi Tino,

I think I am getting a little farther in that I was trying to use the onevm
create <image> instead of registering (which worked but not sure it helps).

However it fails to create the vm and I find this message in the
vmm_vmware.log:

[02.09.2010 11:57:44] Failed deploying VM 1 into
12core.xxxxx.com.Reason:/export/vg0-lv0/1/deployment.0 (No such file or
directory)

with these messages in the oned.log:

Thu Sep  2 11:57:43 2010 [DiM][D]: Deploying VM 1
Thu Sep  2 11:57:43 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
Thu Sep  2 11:57:43 2010 [TM][D]: Message received: TRANSFER SUCCESS 1 -

Thu Sep  2 11:57:44 2010 [VMM][D]: Message received: DEPLOY FAILURE 1 Failed
deploying VM in host 12core.boston.vm-labs.com.

Thu Sep  2 11:57:44 2010 [TM][D]: Message received: LOG - 1 tm_delete.sh:
Deleting

Thu Sep  2 11:57:44 2010 [TM][D]: Message received: LOG - 1 tm_delete.sh:
Executed "rm -rf /export/vg0-lv0/one-12core.xxxxx.com:
/export/vg0-lv0/1/images".

Thu Sep  2 11:57:44 2010 [TM][D]: Message received: TRANSFER SUCCESS 1 -

Any tips with these messages?

I have a single NFS mount on the ESX host as datastore1 and is a local path
to the OpenNebula front-end.

-Jon



On Thu, Sep 2, 2010 at 11:39 AM, Jonathan Kelley <jkelley at vm-labs.com>wrote:

> Hi Tino,
>
> Thanks for the quick reply.
>
>  How do you specify a VM PATH though as my VM has 5-6 associated files?
>
> Here is the example given:
>
> NAME          = "Ubuntu Web Development"
> PATH          = /home/one_user/images/ubuntu_desktop.img
> PUBLIC        = YES
> DESCRIPTION   = "Ubuntu 10.04 desktop for Web Development students.
> Contains the pdf lessons and exercises as well as all the necessary
> programming tools and testing frameworks."
>
>
> For my Windows XP I have two disk files so how do I specify two files in
> the PATH field? Or do I specify the vmx file?
>
> Thanks again,
> -Jon
>
>
> On Thu, Sep 2, 2010 at 11:29 AM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>
>> Hi Jonathan,
>>
>> The way to use the image catalog is to upload individual images, each
>> of them requiring an image template [1].
>>
>> One registered, a VM can use an image by just referencing the image's
>> name (same as the VirtualNetwork from your template, using just the
>> name "VMWareNET").
>>
>> Regards,
>>
>> -Tino
>>
>> [1] http://opennebula.org/documentation:rel2.0:img_template
>> --
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> Virtualization Technology Engineer / Researcher
>> OpenNebula Toolkit | opennebula.org
>>
>>
>>
>> On Thu, Sep 2, 2010 at 4:57 PM, Jonathan Kelley <jkelley at vm-labs.com>
>> wrote:
>> > Hello,
>> > I am trying to register my VM to use with OpenNebula and ESX 4.1.
>> > I copied the VM folder to the shared nfs storage and then have tried to
>> > create a template for this vm but I am not sure I have it right:
>> > root at xxxx:/srv/cloud/one# cat /export/vg0-lv0/WinXP.template
>> > NAME=VMwareVM
>> > MEMORY=256
>> > CPU=1
>> > NIC=[NETWORK="VMWareNet"]
>> > DISK=[ source="/export/vg0-lv0/WinXP_32bit_Dev",
>> >        clone="yes",
>> >        save="no"]
>> > However when I run the register command I get image not present
>> messages:
>> > root at xxxx:/export/vg0-lv0# /srv/cloud/one/bin/oneimage register
>> > ./WinXP.template
>> > Error: Image not present, aborting.
>> >
>> > It is not quite clear to me what the template should look like and how
>> to
>> > register an existing VMware VM.
>> > Thanks,
>> > Jon
>> >
>> > _______________________________________________
>> > 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/20100902/26efaba5/attachment-0003.htm>


More information about the Users mailing list