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

Jonathan Kelley jkelley at vm-labs.com
Thu Sep 16 07:21:55 PDT 2010


Hi Tino,

I got it working. Not sure what is different from my current environment
from before but I was able to boot this vm using the same template and
mostly the same configuration.

Thanks for all your help. I am sure I will have more questions as I dive
deeper.

BTW, does the graphics parameter work for VMware? The documentation only
claims Xen and KVM.

Thanks,
Jon


On Thu, Sep 16, 2010 at 9:57 AM, Jonathan Kelley <jkelley at vm-labs.com>wrote:

> Hi Tino,
>
> I think I am one step closer but I am still hitting an issue. Below is the
> vm.log file for one-26 and I see the cp-r working as well as the mv command
> working but something fails after that in placing the deployment.0 file in
> the right directory.
>
> root at vmlvsa251:/export/vg0-lv0# cat /srv/cloud/one/var/26/vm.log
> Thu Sep 16 08:46:31 2010 [DiM][I]: New VM state is ACTIVE.
> Thu Sep 16 08:46:31 2010 [LCM][I]: New VM state is PROLOG.
> Thu Sep 16 08:46:31 2010 [VM][I]: Virtual Machine has no context
> Thu Sep 16 08:50:58 2010 [TM][I]: tm_clone.sh:
> vmlvsa251:/export/vg0-lv0/WinXP_32bit_Dev 12core.boston.vm-labs.com:
> /export/vg0-lv0/26/images/disk.0
> Thu Sep 16 08:50:58 2010 [TM][I]: tm_clone.sh: Cloning
> vmlvsa251:/export/vg0-lv0/WinXP_32bit_Dev
> Thu Sep 16 08:50:58 2010 [LCM][I]: New VM state is BOOT
> Thu Sep 16 08:50:58 2010 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/26/deployment.0
> Thu Sep 16 08:50:58 2010 [VMM][E]: Error deploying virtual machine: Failed
> deploying VM in host 12core.boston.vm-labs.com.
> Thu Sep 16 08:50:59 2010 [DiM][I]: New VM state is FAILED
> Thu Sep 16 08:50:59 2010 [TM][W]: Ignored: LOG - 26 tm_delete.sh: Deleting
>
> Thu Sep 16 08:50:59 2010 [TM][W]: Ignored: LOG - 26 tm_delete.sh: Executed
> "rm -rf /export/vg0-lv0/one-12core.boston.vm-labs.com:
> /export/vg0-lv0/26/images".
>
> Thu Sep 16 08:50:59 2010 [TM][W]: Ignored: TRANSFER SUCCESS 26 -
>
>
> And the vmm_vmware.log is looking for this 26 directory to be in
> /export/vg0-lv0. Am I missing some configuration parameter since it is found
> in $ONE_LOCATION/var/ instead ?
>
> [16.09.2010 08:50:58] Failed deploying VM 26 into
> 12core.boston.vm-labs.com.Reason:/export/vg0-lv0/26/deployment.0 (No such
> file or directory)
>
> Thanks,
> Jon
>
>
>
> On Thu, Sep 16, 2010 at 8:39 AM, Jonathan Kelley <jkelley at vm-labs.com>wrote:
>
>> Hi Tino,
>>
>> There is a .vmx file resident in the WinXP_32bit_Dev folder but I didn't
>> specify a full path for the disk attribute. If I specify the full path then
>> the same problem occurs.
>>
>> Is it possible that the cp -r fails?
>>
>> Thanks,
>> Jon
>>
>>
>> On Wed, Sep 15, 2010 at 7:35 AM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
>>
>>> Hi Jonathan,
>>>
>>> This is the piece of code that is failing
>>>
>>> ---
>>>    VM_ID=`echo $DST | $SED -e 's/.*\/\([0-9]\+\)\/images\/.*/\1/'`
>>>    cp -r $SRC_PATH $DATASTORE_PATH/one-$VM_ID &>/dev/null
>>>    mv $DATASTORE_PATH/one-$VM_ID/*.vmx
>>> $DATASTORE_PATH/one-$VM_ID/one-$VM_ID.vmx
>>> ---
>>>
>>> More precisely, the "mv" is failing to find any ".vmx" file in
>>> "/export/vg0-lv0/one-25/*.vmx", which is a copy of "WinXP_32bit_Dev"
>>> (BTW, I don't know why this "WinXP_32bit_Dev" doesn't have a full
>>> path, what does this VM template disk source attribute contain?).
>>> Could you check there is a .vmx file in that "WinXP_32bit_Dev" folder?
>>>
>>> Regards,
>>>
>>> -Tino
>>>
>>> --
>>> Constantino Vázquez Blanco | dsa-research.org/tinova
>>> Virtualization Technology Engineer / Researcher
>>> OpenNebula Toolkit | opennebula.org
>>>
>>>
>>>
>>> On Tue, Sep 14, 2010 at 10:51 PM, Jonathan Kelley <jkelley at vm-labs.com>
>>> wrote:
>>> >
>>> > I have been fiddling with various options and templates and have gotten
>>> > another interesting error case (see log output below). It seems as
>>> though
>>> > directories are failing to be created or something. Is it possible that
>>> I
>>> > have a permissions issue or something? Everything is running as root
>>> and the
>>> > permissions are root on the local NFS directory but my NFS mount is
>>> wide
>>> > open.
>>> > I would be curious to hear from other OpenNebula users how they have
>>> their
>>> > ESX environment configured as this seems as though it should be more
>>> > straightforward.
>>> > -Jon
>>> > root at vmlvsa251:/export/vg0-lv0# cat /srv/cloud/one/var/25/vm.log
>>> > Tue Sep 14 16:39:38 2010 [DiM][I]: New VM state is ACTIVE.
>>> > Tue Sep 14 16:39:39 2010 [LCM][I]: New VM state is PROLOG.
>>> > Tue Sep 14 16:39:39 2010 [VM][I]: Virtual Machine has no context
>>> > Tue Sep 14 16:39:39 2010 [TM][I]: Command execution fail:
>>> > /srv/cloud/one/lib/tm_commands/vmware/tm_clone.sh
>>> vmlvsa251:WinXP_32bit_Dev
>>> > 12core.boston.vm-labs.com:/export/vg0-lv0/25/images/disk.0
>>> > Tue Sep 14 16:39:39 2010 [TM][I]: STDERR follows.
>>> > Tue Sep 14 16:39:39 2010 [TM][I]: mv: cannot stat
>>> > `/export/vg0-lv0/one-25/*.vmx': No such file or directory
>>> > Tue Sep 14 16:39:39 2010 [TM][I]: ExitCode: 1
>>> > Tue Sep 14 16:39:39 2010 [TM][I]: tm_clone.sh:
>>> vmlvsa251:WinXP_32bit_Dev
>>> > 12core.boston.vm-labs.com:/export/vg0-lv0/25/images/disk.0
>>> > Tue Sep 14 16:39:39 2010 [TM][I]: tm_clone.sh: Cloning
>>> > vmlvsa251:WinXP_32bit_Dev
>>> > Tue Sep 14 16:39:39 2010 [TM][E]: Error excuting image transfer script:
>>> > Error message not available
>>> > Tue Sep 14 16:39:39 2010 [DiM][I]: New VM state is FAILED
>>> > Tue Sep 14 16:39:39 2010 [TM][W]: Ignored: LOG - 25 tm_delete.sh:
>>> Deleting
>>> > Tue Sep 14 16:39:39 2010 [TM][W]: Ignored: LOG - 25 tm_delete.sh:
>>> Executed
>>> > "rm -rf
>>> > /export/vg0-lv0/one-12core.boston.vm-labs.com:
>>> /export/vg0-lv0/25/images".
>>> > Tue Sep 14 16:39:39 2010 [TM][W]: Ignored: TRANSFER SUCCESS 25 -
>>> > -Jon
>>> >
>>> > On Tue, Sep 14, 2010 at 1:03 PM, Jonathan Kelley <jkelley at vm-labs.com>
>>> > wrote:
>>> >>
>>> >> Hi Tino,
>>> >> I found this in my ESX log given the instructions you specified below:
>>> >> [2010-09-14 16:56:55.564 22281B90 info 'TaskManager'] Task Created :
>>> >> haTask-ha-folder-vm-vim.Folder.registerVm-67171
>>> >> [2010-09-14 16:56:55.564 22CEFB90 info 'ha-folder-vm'] Register
>>> called:
>>> >> [datastore1]one-16/one-16.vmx
>>> >> [2010-09-14 16:56:55.570 22CEFB90 info 'VMFileChecker'] Config rules
>>> file
>>> >> '/etc/vmware/configrules' loaded and parsed successfully.
>>> >> [2010-09-14 16:56:55.571 22CEFB90 warning 'Vmsvc'] RegisterVm file
>>> check
>>> >> error: IO error
>>> >> [2010-09-14 16:56:55.574 22CEFB90 info 'App'] AdapterServer caught
>>> >> exception: 08c82f88
>>> >> [2010-09-14 16:56:55.574 22CEFB90 info 'TaskManager'] Task Completed :
>>> >> haTask-ha-folder-vm-vim.Folder.registerVm-67171 Status error
>>> >>
>>> >> This is from the vmm_vmware.log:
>>> >> [14.09.2010 12:57:34] Failed deploying VM 16 into
>>> >> 12core.boston.vm-labs.com.Reason:null
>>> >> This is from the $ONE_LOCATION/var/16/vm.log:
>>> >> Tue Sep 14 12:57:31 2010 [DiM][I]: New VM state is ACTIVE.
>>> >> Tue Sep 14 12:57:31 2010 [LCM][I]: New VM state is PROLOG.
>>> >> Tue Sep 14 12:57:31 2010 [VM][I]: Virtual Machine has no context
>>> >> Tue Sep 14 12:57:31 2010 [LCM][I]: New VM state is BOOT
>>> >> Tue Sep 14 12:57:31 2010 [VMM][I]: Generating deployment file:
>>> >> /srv/cloud/one/var/16/deployment.0
>>> >> Tue Sep 14 12:57:34 2010 [VMM][E]: Error deploying virtual machine:
>>> Failed
>>> >> deploying VM in host 12core.boston.vm-labs.com.
>>> >> Tue Sep 14 12:57:35 2010 [DiM][I]: New VM state is FAILED
>>> >> Tue Sep 14 12:57:35 2010 [TM][W]: Ignored: LOG - 16 tm_delete.sh:
>>> Deleting
>>> >> Tue Sep 14 12:57:35 2010 [TM][W]: Ignored: LOG - 16 tm_delete.sh:
>>> Executed
>>> >> "rm -rf
>>> >> /export/vg0-lv0/one-12core.boston.vm-labs.com:
>>> /srv/cloud/one/var//16/images".
>>> >> Tue Sep 14 12:57:35 2010 [TM][W]: Ignored: TRANSFER SUCCESS 16 -
>>> >>
>>> >> Does this help debug the situation?
>>> >> Thanks,
>>> >> Jon
>>> >>
>>> >> On Mon, Sep 13, 2010 at 6:58 AM, Tino Vazquez <tinova at fdi.ucm.es>
>>> wrote:
>>> >>>
>>> >>> Hi Jonathan,
>>> >>>
>>> >>> To define an OpenNebula VMware template you need to set as the source
>>> >>> for the DISK the folder where all the VMware related VM files are
>>> >>> placed.
>>> >>>
>>> >>> About the error you are experiencing, the configuration should be
>>> >>> (assuming you are using the tm_vmware driver, i discourage the use of
>>> >>> the tm_vmware_ssh prototype transfer driver):
>>> >>>
>>> >>> * No VM_DIR set in oned.conf
>>> >>> * DATASTORE_PATH in the TM configuration should point to a local path
>>> >>> in the OpenNebula front-end that is used as the NFS export which the
>>> >>> ESXs mount as their DATASTORE.
>>> >>>
>>> >>> If this is correctly set, we will need to take a look at the log of
>>> >>> the vmm driver to see exactly what is failing.
>>> >>>
>>> >>> Best regards,
>>> >>>
>>> >>> -Tino
>>> >>>
>>> >>> --
>>> >>> Constantino Vázquez Blanco | dsa-research.org/tinova
>>> >>> Virtualization Technology Engineer / Researcher
>>> >>> OpenNebula Toolkit | opennebula.org
>>> >>>
>>> >>>
>>> >>>
>>> >>> On Thu, Sep 9, 2010 at 7:04 PM, Jonathan Kelley <jkelley at vm-labs.com
>>> >
>>> >>> wrote:
>>> >>> > Hi Tino,
>>> >>> > It was set but unsetting it didn't change the issue except now that
>>> >>> > path
>>> >>> > after the host has changed to be invalid it seems.
>>> >>> > Thu Sep  9 13:01:32 2010 [DiM][D]: Deploying VM 15
>>> >>> > Thu Sep  9 13:01:32 2010 [TM][D]: Message received: TRANSFER
>>> SUCCESS 15
>>> >>> > -
>>> >>> > Thu Sep  9 13:01:40 2010 [VMM][D]: Message received: DEPLOY FAILURE
>>> 15
>>> >>> > Failed deploying VM in host esxhost
>>> >>> > Thu Sep  9 13:01:41 2010 [ReM][D]: VirtualMachinePoolInfo method
>>> >>> > invoked
>>> >>> > Thu Sep  9 13:01:41 2010 [TM][D]: Message received: LOG - 15
>>> >>> > tm_delete.sh:
>>> >>> > Deleting
>>> >>> > Thu Sep  9 13:01:41 2010 [TM][D]: Message received: LOG - 15
>>> >>> > tm_delete.sh:
>>> >>> > Executed "rm -rf
>>> >>> > /export/vg0-lv0/esxhost:/srv/cloud/one/var//15/images".
>>> >>> > Thu Sep  9 13:01:41 2010 [TM][D]: Message received: TRANSFER
>>> SUCCESS 15
>>> >>> > -
>>> >>> > Thanks,
>>> >>> > Jon
>>> >>> >
>>> >>> > On Thu, Sep 9, 2010 at 12:59 PM, Tino Vazquez <tinova at fdi.ucm.es>
>>> >>> > wrote:
>>> >>> >>
>>> >>> >> Hi Jonathan,
>>> >>> >>
>>> >>> >> One further question, did you set the VM_DIR in oned.conf? If so,
>>> try
>>> >>> >> to unset it.
>>> >>> >>
>>> >>> >> Regards,
>>> >>> >>
>>> >>> >> -Tino
>>> >>> >>
>>> >>> >> --
>>> >>> >> Constantino Vázquez Blanco | dsa-research.org/tinova
>>> >>> >> Virtualization Technology Engineer / Researcher
>>> >>> >> OpenNebula Toolkit | opennebula.org
>>> >>> >>
>>> >>> >>
>>> >>> >>
>>> >>> >> On Tue, Sep 7, 2010 at 4:30 PM, Jonathan Kelley <
>>> jkelley at vm-labs.com>
>>> >>> >> wrote:
>>> >>> >> > Hi Tino,
>>> >>> >> > Yes my file looks like the following:
>>> >>> >> > root at vmlvsa251:/srv/cloud/one# cat etc/tm_vmware/tm_vmwarerc
>>> >>> >> > #
>>> >>> >> >
>>> >>> >> >
>>> --------------------------------------------------------------------------
>>> >>> >> > #
>>> >>> >> > # Copyright 2002-2010, OpenNebula Project Leads (OpenNebula.org)
>>> >>> >> > #
>>> >>> >> > #
>>> >>> >> >  #
>>> >>> >> > # Licensed under the Apache License, Version 2.0 (the
>>> "License");
>>> >>> >> > you
>>> >>> >> > may
>>> >>> >> >  #
>>> >>> >> > # not use this file except in compliance with the License. You
>>> may
>>> >>> >> > obtain
>>> >>> >> >  #
>>> >>> >> > # a copy of the License at
>>> >>> >> > #
>>> >>> >> > #
>>> >>> >> >  #
>>> >>> >> > # http://www.apache.org/licenses/LICENSE-2.0
>>> >>> >> > #
>>> >>> >> > #
>>> >>> >> >  #
>>> >>> >> > # Unless required by applicable law or agreed to in writing,
>>> >>> >> > software
>>> >>> >> >  #
>>> >>> >> > # distributed under the License is distributed on an "AS IS"
>>> BASIS,
>>> >>> >> >  #
>>> >>> >> > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
>>> or
>>> >>> >> > implied.
>>> >>> >> > #
>>> >>> >> > # See the License for the specific language governing
>>> permissions
>>> >>> >> > and
>>> >>> >> >  #
>>> >>> >> > # limitations under the License.
>>> >>> >> > #
>>> >>> >> >
>>> >>> >> >
>>> >>> >> >
>>> #---------------------------------------------------------------------------
>>> >>> >> > #
>>> >>> >> > # Uncomment the following line to active MAD debug
>>> >>> >> > ONE_MAD_DEBUG=1
>>> >>> >> > # Local path of the datastore
>>> >>> >> > DATASTORE_PATH=/export/vg0-lv0
>>> >>> >> >
>>> >>> >> > Let me know if there is something else needed.
>>> >>> >> > Thanks,
>>> >>> >> > Jon
>>> >>> >> >
>>> >>> >> > On Fri, Sep 3, 2010 at 1:07 PM, Tino Vazquez <tinova at fdi.ucm.es
>>> >
>>> >>> >> > wrote:
>>> >>> >> >>
>>> >>> >> >> Hi Jonathan,
>>> >>> >> >>
>>> >>> >> >> Have you set the OpenNebula local path that is mounted as
>>> >>> >> >> datastore1
>>> >>> >> >> in the ESX in
>>> >>> >> >>
>>> >>> >> >> * $ONE_LOCATION/etc/tm_vmware/tm_vmwarerc --> variable
>>> >>> >> >> DATASTORE_PATH
>>> >>> >> >>
>>> >>> >> >> ?
>>> >>> >> >>
>>> >>> >> >> Regards,
>>> >>> >> >>
>>> >>> >> >> -Tino
>>> >>> >> >> --
>>> >>> >> >> Constantino Vázquez Blanco | dsa-research.org/tinova
>>> >>> >> >> Virtualization Technology Engineer / Researcher
>>> >>> >> >> OpenNebula Toolkit | opennebula.org
>>> >>> >> >>
>>> >>> >> >>
>>> >>> >> >>
>>> >>> >> >> On Thu, Sep 2, 2010 at 6:05 PM, Jonathan Kelley
>>> >>> >> >> <jkelley at vm-labs.com>
>>> >>> >> >> wrote:
>>> >>> >> >> >
>>> >>> >> >> > 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
>>> >>> >> >> >>> >
>>> >>> >> >> >>> >
>>> >>> >> >> >>
>>> >>> >> >> >
>>> >>> >> >> >
>>> >>> >> >> >
>>> >>> >> >> > _______________________________________________
>>> >>> >> >> > 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/20100916/6e7bb8c7/attachment-0003.htm>


More information about the Users mailing list