Hi Tino,<div><br></div><div>Yes my file looks like the following:</div><div><br></div><div><div>root@vmlvsa251:/srv/cloud/one# cat etc/tm_vmware/tm_vmwarerc </div><div># -------------------------------------------------------------------------- #</div>
<div># Copyright 2002-2010, OpenNebula Project Leads (OpenNebula.org) #</div><div># #</div><div># Licensed under the Apache License, Version 2.0 (the "License"); you may #</div>
<div># not use this file except in compliance with the License. You may obtain #</div><div># a copy of the License at #</div><div># #</div>
<div># <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a> #</div><div># #</div>
<div># Unless required by applicable law or agreed to in writing, software #</div><div># distributed under the License is distributed on an "AS IS" BASIS, #</div><div># WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #</div>
<div># See the License for the specific language governing permissions and #</div><div># limitations under the License. #</div><div>#--------------------------------------------------------------------------- #</div>
<div><br></div><div># Uncomment the following line to active MAD debug </div><div>ONE_MAD_DEBUG=1</div><div><br></div><div># Local path of the datastore</div><div>DATASTORE_PATH=/export/vg0-lv0</div></div><div><br></div>
<div><br></div><div>Let me know if there is something else needed.</div><div><br></div><div>Thanks,</div><div>Jon</div><div><br></div><div><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 1:07 PM, Tino Vazquez <span dir="ltr"><<a href="mailto:tinova@fdi.ucm.es">tinova@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Jonathan,<br>
<br>
Have you set the OpenNebula local path that is mounted as datastore1<br>
in the ESX in<br>
<br>
* $ONE_LOCATION/etc/tm_vmware/tm_vmwarerc --> variable DATASTORE_PATH<br>
<br>
?<br>
<br>
Regards,<br>
<font color="#888888"><br>
-Tino<br>
</font><div class="im">--<br>
Constantino Vázquez Blanco | <a href="http://dsa-research.org/tinova" target="_blank">dsa-research.org/tinova</a><br>
Virtualization Technology Engineer / Researcher<br>
OpenNebula Toolkit | <a href="http://opennebula.org" target="_blank">opennebula.org</a><br>
<br>
<br>
<br>
</div><div><div></div><div class="h5">On Thu, Sep 2, 2010 at 6:05 PM, Jonathan Kelley <<a href="mailto:jkelley@vm-labs.com">jkelley@vm-labs.com</a>> wrote:<br>
><br>
> Hi Tino,<br>
> I think I am getting a little farther in that I was trying to use the onevm<br>
> create <image> instead of registering (which worked but not sure it helps).<br>
> However it fails to create the vm and I find this message in the<br>
> vmm_vmware.log:<br>
> [02.09.2010 11:57:44] Failed deploying VM 1 into<br>
> 12core.xxxxx.com.Reason:/export/vg0-lv0/1/deployment.0 (No such file or<br>
> directory)<br>
> with these messages in the oned.log:<br>
> Thu Sep 2 11:57:43 2010 [DiM][D]: Deploying VM 1<br>
> Thu Sep 2 11:57:43 2010 [ReM][D]: VirtualMachinePoolInfo method invoked<br>
> Thu Sep 2 11:57:43 2010 [TM][D]: Message received: TRANSFER SUCCESS 1 -<br>
> Thu Sep 2 11:57:44 2010 [VMM][D]: Message received: DEPLOY FAILURE 1 Failed<br>
> deploying VM in host <a href="http://12core.boston.vm-labs.com" target="_blank">12core.boston.vm-labs.com</a>.<br>
> Thu Sep 2 11:57:44 2010 [TM][D]: Message received: LOG - 1 tm_delete.sh:<br>
> Deleting<br>
> Thu Sep 2 11:57:44 2010 [TM][D]: Message received: LOG - 1 tm_delete.sh:<br>
> Executed "rm -rf<br>
> /export/vg0-lv0/one-12core.xxxxx.com:/export/vg0-lv0/1/images".<br>
> Thu Sep 2 11:57:44 2010 [TM][D]: Message received: TRANSFER SUCCESS 1 -<br>
> Any tips with these messages?<br>
> I have a single NFS mount on the ESX host as datastore1 and is a local path<br>
> to the OpenNebula front-end.<br>
> -Jon<br>
><br>
><br>
> On Thu, Sep 2, 2010 at 11:39 AM, Jonathan Kelley <<a href="mailto:jkelley@vm-labs.com">jkelley@vm-labs.com</a>><br>
> wrote:<br>
>><br>
>> Hi Tino,<br>
>> Thanks for the quick reply.<br>
>> How do you specify a VM PATH though as my VM has 5-6 associated files?<br>
>> Here is the example given:<br>
>><br>
>> NAME = "Ubuntu Web Development"<br>
>> PATH = /home/one_user/images/ubuntu_desktop.img<br>
>> PUBLIC = YES<br>
>> DESCRIPTION = "Ubuntu 10.04 desktop for Web Development students.<br>
>> Contains the pdf lessons and exercises as well as all the necessary<br>
>> programming tools and testing frameworks."<br>
>><br>
>> For my Windows XP I have two disk files so how do I specify two files in<br>
>> the PATH field? Or do I specify the vmx file?<br>
>> Thanks again,<br>
>> -Jon<br>
>><br>
>> On Thu, Sep 2, 2010 at 11:29 AM, Tino Vazquez <<a href="mailto:tinova@fdi.ucm.es">tinova@fdi.ucm.es</a>> wrote:<br>
>>><br>
>>> Hi Jonathan,<br>
>>><br>
>>> The way to use the image catalog is to upload individual images, each<br>
>>> of them requiring an image template [1].<br>
>>><br>
>>> One registered, a VM can use an image by just referencing the image's<br>
>>> name (same as the VirtualNetwork from your template, using just the<br>
>>> name "VMWareNET").<br>
>>><br>
>>> Regards,<br>
>>><br>
>>> -Tino<br>
>>><br>
>>> [1] <a href="http://opennebula.org/documentation:rel2.0:img_template" target="_blank">http://opennebula.org/documentation:rel2.0:img_template</a><br>
>>> --<br>
>>> Constantino Vázquez Blanco | <a href="http://dsa-research.org/tinova" target="_blank">dsa-research.org/tinova</a><br>
>>> Virtualization Technology Engineer / Researcher<br>
>>> OpenNebula Toolkit | <a href="http://opennebula.org" target="_blank">opennebula.org</a><br>
>>><br>
>>><br>
>>><br>
>>> On Thu, Sep 2, 2010 at 4:57 PM, Jonathan Kelley <<a href="mailto:jkelley@vm-labs.com">jkelley@vm-labs.com</a>><br>
>>> wrote:<br>
>>> > Hello,<br>
>>> > I am trying to register my VM to use with OpenNebula and ESX 4.1.<br>
>>> > I copied the VM folder to the shared nfs storage and then have tried to<br>
>>> > create a template for this vm but I am not sure I have it right:<br>
>>> > root@xxxx:/srv/cloud/one# cat /export/vg0-lv0/WinXP.template<br>
>>> > NAME=VMwareVM<br>
>>> > MEMORY=256<br>
>>> > CPU=1<br>
>>> > NIC=[NETWORK="VMWareNet"]<br>
>>> > DISK=[ source="/export/vg0-lv0/WinXP_32bit_Dev",<br>
>>> > clone="yes",<br>
>>> > save="no"]<br>
>>> > However when I run the register command I get image not present<br>
>>> > messages:<br>
>>> > root@xxxx:/export/vg0-lv0# /srv/cloud/one/bin/oneimage register<br>
>>> > ./WinXP.template<br>
>>> > Error: Image not present, aborting.<br>
>>> ><br>
>>> > It is not quite clear to me what the template should look like and how<br>
>>> > to<br>
>>> > register an existing VMware VM.<br>
>>> > Thanks,<br>
>>> > Jon<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > Users mailing list<br>
>>> > <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>>> > <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>>> ><br>
>>> ><br>
>><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>