Quantcast
Channel: VMware Communities : Popular Discussions - Open Virtualization Format Tool
Viewing all 34499 articles
Browse latest View live

Error deploying ovf file created with OVFTOOL 1.0 VMware converter 4.0.1. Please help

$
0
0

I converted a Virtual Machine installed on a ESX 3.5 server to a virtual

appliance (*.ovf ) file using the OVFTOOL1.0.Now I am trying to

 

convert this virtual appliance to deploy as a virtual machine on a

different ESX server using same converter 4.0.1 and it is not working.

 

 

 

I get following error

 

 

 

 

 

 

 

 

 

Error: Failed to clone disk C:\Documents and

Settings\*\Desktop\*\viso.vmdk on the virtual machine 'viso'.

 

 

If I try

importing the same virtual appliance viso.ovf file with VMware Infrastructure client 2.5 I get

the following error "An

 

 

error occured while parsing the OVF descriptor: Unable to parse xml element 'Envelop'"

 

 

 

Please suggest what might be wrong. I am stuck and need help. I will need to make the VM from OVF file with Any UI Deployer

 

 

 

 

 

Thanks,

 

 

Lachi

 

 


ovftool. Cannot execute binary file

$
0
0

I've downloaded the recent version of ovftool (VMware-OvfTool-1.0.0-117388.i386.tar.gz) to use it on VMWare ESX 3.5 server

 

It shows the following error in CLI:

 

 

[root@vmserver ovftool]# ./ovftool
./ovftool: line 29: ./ovftool.bin: cannot execute binary file
[root@vmserver ovftool]# uname -a
Linux vmserver.local 2.4.21-57.ELvmnix #1 Wed Oct 15 19:00:05 PDT 2008 i686 i686 i386 GNU/Linux

 

 

 

Unfortunately we can not use version for windows.

 

 

 

Has someone any solution?

Unsupported element 'Property'

$
0
0

 

I am trying to import OVF with custom propery set and getting folling error with vmware ovf tool. Any idea on how to resolve this issue?

 

 

Error:

- Line 107: Unsupported element 'Property'

 

 

 

 

 

 

 

 

Virtual serial port in OVF descriptor to import in VMWare ESX 4.0

$
0
0

Hi to all in the community,

 

I have some problems configuring a Juniper virtual appliance with a "virtual serial port" in an OVF format. I intend to configure the basic network settings of this appliance through a "virtual serial port" and expect scripts. This is to run on an ESX 4.0.

 

1/ I tried to convert different configurations of virtual machine (Linux ones) with serial port and virtual serial port (in VMX format from Workstation 6.0) to OVF format in order to check the way the serial port and virtual serial ports are described. For this I used OVFTool 2.0.1 and VMWare vCenter Converter Standalone 4.0.1. I can not get any information regarding the serial ports or the virtual serial ports whatever the original configuration (VMX) and whichever tool is use. Could anybody provide some help or light regarding this?

 

2/ Is there a specific way to describe serial ports and virtual serial ports in the OVF descriptor? I didn't find anything relevant in the DMTF document DSP0243_1.1.0.pdf!

 

3/ In general, how can I get my appliance loading properly on my ESX server with a virtual serial port without touching vSphere and before powering it on automatically?

 

Thanks in advance to those who can help.

 

Chris

ovftool sanfs://..../linux.iso was not found

$
0
0

Hi,

 

I'm trying to convert VM into ovf. But ovftool fails with the message:

 

./ovftool --powerOffSource vi://administrator:xxxxx@host/?ip=192.168.1.22 myovf.ovf
Opening VI source: vi://administrator@host/
Powering off VM: 0593498732-VM_Name
Error: File sanfs://vmfs_uuid:3c3693e8-f77a642a-1910-5c6bdcb26d3a/packages/4.1.0/vmtools/linux.iso was not found

 

Could you please help me with the issue above?

 

Thanks,

OVF OSX client ESXi5 host using for backup

$
0
0

Hi, I'm trying to understand how I would backup my ESXi5 VM using OVF command tool because when I login using VSphere it seems to keep breaking even when it's such a small VM (under 30GB) since I only have a Windows VM which I think is causing problems in terms of resources.

 

So I installed OVF 2.0 and I'm looking at this example:

 

ovftool vi://username:password@vCenter1/Datacenter1/vm/SourceVM OVF.ovf

 

so ovftool vi username password is all straight forward.

 

vCenter1 ? that would be the IP address of the server? 192.168.1.100?

 

Than Datacenter1 is the Storage device and where it's located?

 

How do I stroll around with OVF to find out those parameters using the OVF tool? Or am I best to figure it out using the vSphere app?

 

Thanks in advance,

Aaron.

ovftool 2.0.1 installation

$
0
0

Ovftool need to download 2.0.1 but vmware's website when I go to the download page tells me that is not, someone can provide me the tool, thanks

Large OVF imports into vCloud Director 1.0.1 fail, smaller imports succeed

$
0
0

I'm getting wildly different results while importing large OVF file into vCloud Director 1.0.1 via the ovftool than when performing the upload of the same OVF via the native JAva tool within vCloud Director itself. AS long as the file transfer compeltes through the vCD Java tool, the file is importing into vCenter correctly, and then being correctly registered within vCD.

 

The OVF I'm working with is 68.2 GB in size.

 

Below is a sanatized version of my command line and the output from the tool:

 

 

ovftool --net:"dvportgroup-48=company-Services_Internal" E:\OlioWebtest\oliowebtest.ovf "vcloud://user:password@testvcd1.company.com:443/?org=company_Services&vapp=OlioWebTest&vdc=company_Services_ALLO_vDC01&catalog=test"
Opening OVF source: E:\OlioWebtest\oliowebtest.ovf
The manifest validates
Warning: File is not referred in the manifest: oliowebtest.ovf
Opening vCloud target: vcloud://user@testvcd1.company.com:443/
Waiting for task on server .done
Deploying to vCloud: vcloud://user@testvcd1.company.com:443/
Disk Transfer Completed

Error: Invalid response from server
Completed with errors

 

Looking in the vCD GUI logs for the organization, I see the descriptor being processed, and the process for finalizing the upload completing, but the vApp is never added to the catalog. If I look in vCenter, I can find the VM on a valdi datastore for the org vDC and the correct resource pool in the proper state for a catalog vApp. The error "Error: Invalid response from server" is displayed immediately upon completion of the data transfer.

 

 

 

If I move the VM to the root of the datacenter, I can import the VM as a vApp and copy it to the caalog with no issue.

 

I tested with a much smaller OVF (1.3 GB), and received exactly the behavior I expected.

 

ovftool --net:"none=company-Services_Internal" E:\suse\descriptor.ovf "vcloud://user:password@testvcd1.company.com:443/?org=company_Services&vapp=SUSE32&vdc=company_Services_ALLO_vDC01&catalog=test"
Opening OVF source: E:\suse\descriptor.ovf
Warning: No manifest file
Opening vCloud target: vcloud://user@testvcd1.company.com:443/
Waiting for task on server .done
Deploying to vCloud: vcloud://user@testvcd1.company.com:443/
Disk Transfer Completed

Waiting for task on server ...................done
Waiting for task on server .......................................done
Waiting for task on server ..done
Completed successfully

 

Looking at the succesful transfer, I see an additonal action logged in the GUI logs for the organization. After the finalization record, there is a "Create virtual application" event logged on the smaller transfer that is never logged on the larger transfer.

 

The only item I can think of from a vCloud Director standpoint is that that vCD logon sesion timeout has expired on the large transfer long before the additional tasks are issued to vCD resulting in the invalid response. Is this the case, or is something else going on?

 

When looking at the vcloud-container-info.log file on the cells doing the processing for the succesful imports, I see a whole string of commands being executed in the current logged on user context.


ovftool frequently encounters Unexpected end of stream

$
0
0

Hello

I've looked around in the forums, but couldn't find a resolution to this problem. I'm using ovftool (the latest version - 2.1.0) to deploy an ova consisting of 3 VMs to an ESXi 4.1 server, via a vcenter. I see frequent stalls in the data transfer from the vcenter to the server (did a packet capture), and ovftool frequently (but not always) gives up at some random point through the transfer, complaining that it encountered an unexpected end of stream.

 

Here's the commandline I'm using:

 

ovftool --name=foo --X:logToConsole=True --X:logLevel="verbose" --diskMode=thin --net:"VM Network"="VM Network" --vmFolder=bar --skipManifestCheck myova.ova vi://user:pass@localhost/my_dc/host/my_host/Resources/my_pool

 

Here's a log snippet if it might help:

 

2012-09-11T07:13:01.767-07:00 [07668 verbose 'Default'] [ViConnection] Using vim API version: 5.0
2012-09-11T07:13:01.891-07:00 [07384 warning 'Libs'] Encountered other certificate error: 27
2012-09-11T07:13:01.891-07:00 [07384 warning 'Libs'] Encountered other certificate error: 27
2012-09-11T07:13:01.938-07:00 [07668 verbose 'HttpConnectionPool'] HttpConnectionPoolImpl created. maxPoolConnections = 1; idleTimeout = 900000000; maxOpenConnections = 1; maxConnectionAge = 0
2012-09-11T07:13:01.954-07:00 [07668 verbose 'Default'] Keeping VI session alive
Opening VI target: vi://user:pass@localhost:443/my_dc/host/my_host/Resources/my_pool
2012-09-11T07:13:02.016-07:00 [07384 warning 'Libs'] Encountered other certificate error: 27
2012-09-11T07:13:02.016-07:00 [07384 warning 'Libs'] Encountered other certificate error: 27
Deploying to VI: vi://user:pass@localhost:443/my_dc/host/my_host/Resources/my_pool
2012-09-11T07:13:10.471-07:00 [07668 verbose 'Default'] Using file size as progress measure
Disk progress: 02012-09-11T07:13:10.518-07:00 [07668 verbose 'Default'] Opening disk target /nut4/client/VirtualLsiLogicController0:0
2012-09-11T07:13:10.534-07:00 [07384 verbose 'Default'] CURL: => Send header POST /nfc/52d3abc1-5c67-3e19-1db6-88303c597203/disk-0.vmdk HTTP/1.1
--> User-Agent: VMware-client/4.0.0 (ovfTool; libcurl)
--> Host: 1.1.1.2
--> Accept: */*
--> Transfer-Encoding: chunked
--> Content-Type: application/x-vnd.vmware-streamVmdk
-->
-->
2012-09-11T07:13:35.010-07:00 [07384 verbose 'Default'] Curl_perform error code 55 (Failed sending data to the peer)
Disk Transfer Failed                      
Error: Internal error: Unexpected end of stream

 

Interestingly, if I use the vsphere client to deploy the ova, it goes through quicker and I haven't seen it fail (I need to use ovftool to automate deployment).

 

Any help would be greatly appreciated.

 

Thanks

ovftool - Defining the 'Product', 'Version' and 'Vendor'?

$
0
0

Hi,

 

Am trying to export an ova from a VM using ovftool.  Something along the lines of...

 

ovftool --prop:Version=100 --privateKey=./id_rsa.pem --eula@=./eula.txt vi://root:mypass@myserver.mydomain.com/myVM ./myOVA.ova

 

Everything looks good except that I haven't been able to define the 'Product', 'Version' and 'Vendor'  that appears in the initial dialog when customers deploy the template into a running ESX / vCenter instance.

 

Assume this must be a v common question but have not found how this might be done from the ovftool user guide (http://www.vmware.com/support/developer/ovf/ovf301/ovftool-301-userguide.pdf) or the VMware communities.  Closest I've found is http://communities.vmware.com/thread/328504 which indicates that defining a vCenter vApp allow configurable properties to be set.

 

Is there any way to define these parameters via ovftool?  If not, is there a way to hack the .ova manually to define them?

 

Thanks in advance,

Frank.

OVFtool error - Line 38: Unsupported value '16' for element 'VirtualQuantity'.

$
0
0

Hi Guys,

 

I'm getting the below error when using the OVFtool to convert an OVA file to VMX.

 

Error:

- Line 38: Unsupported value '16' for element 'VirtualQuantity'.

- Virtual machine has 16 virtual CPUs, but the host only supports 8. The number of virtual CPUs may be limited by the guest OS selected for the virtual machine or by the licensing for the host.

 

I am trying to solve it using the syntax option --viCpuResource=<shares>:<reservation>:<limit>

 

However I don't know what to denote in the placeholder <shares>

 

I have also read the OVFtool user guide, but it does not give any info on the viCpuResource option.

 

Can anyone give me some guidance here?

ovftool 3.5.0 not running on CentOS 5 (needs GLIBC 3.4?)

$
0
0

Installed ovftool 3.5 on CentOS 5.9.  Install went without any errors, says Installation Successful.

 

Running ovftool yields about 5 errors similar to:

/usr/lib/vmware-ovftool/ovftool.bin: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/vmware-ovftool/libvmomi.so)

 

CentOS 5.9 doesn't support GLIBC 3.4.

 

The ovftool documentation says it supports CentOS 5 and 6.

 

What's the problem here?

ovftool VM->ova/f fails with SHA1 digest of file . . . disk.iso does not match manifest"

$
0
0

I'm trying to create an OVA file from an installed VM.  If I try creating it with ovftool 3.5, it downloads everything completely then gives me the following error:

SHA1 digest of file https://172.31.68.10:443/ha-nfc/52cca89a-6cde-c7a7-0810-25ff2197d3d6/disk-1.iso does not match manifest
and then deletes the file(s) it generated.

 

I am using compress=0 and --noImageFiles so i don't get the install iso.

 

If I manually go into Edit Settings and remove the cdrom, then 3.5 creates the ova correctly.

 

If I use ovftool 2.0, it succeeds even without manually removing the cdrom iso.

 

I've seen posts where users get the same error I do when they are going ova/f to vm and the answer is to delete the manifest.   Since all of the files are deleted after the error message, I don't have the option to delete the locally created manifest.

 

Is there a way to keep the files around even after a manifest error?

 

Does anyone know why ovftool 3.5 would fail in this case and 2.0 would word?  Has there been some deprecation between the two of them?

 

Thanks,
Mike

question regarding adding extra config parameters to ovf

$
0
0


Hi,


I have ovftool version (4.0.0).I am trying to create an ovf  of a VM with extra config parameters. How do i specify the exportFlags command line option to allows the config parameters to translate from the VM to the ovf ? The documentation says I need to specify a extraconfig vSphere source .


This works fine : ovftool --allowAllExtraConfig  --extraConfig:ethernet1.coalescingScheme=disabled --extraConfig:ethernet0.coalescingScheme=disabled


but this doesn't : ovftool --exportFlags=extraconfig 


I don't want to add the key:value in the command line , rather pick up these from the VM  I am using to create the ovf.


Is there something that I am missing out ?


Thanks in advance


 

Ovftool : template ?

$
0
0


Hello


Can we ask ovftool to mark a machine exported as template on the destination ?


It's working for exporting a template on one vcenter to another, but at destination the template became a virtualmachine.


I didn't find how to force to keep as template or convert it :s


 


Thanks


how to export multiple vm to one single OVA file

$
0
0


it is simple to export ONE vm in vsphere client to one OVA file (File ->Export->Export OVF template, and then select ova in dropbox). But is there a way to export multiple VM to ONE OVA files? Can use ovftool to do that?


 


Any comment or hint is highly appreciated!


 


Hobby

OVFT silient install

$
0
0

attempting to install OVFT silently - anyone knows the trick to bypass the EULA ENTER and SPACE key entering ? 

SDK's to Convert vmx into ovf and vice versa

$
0
0

Hi,

 

I want to convert .vmx file into  .ovf programmatically .

Is there any SDK's for doing this ?

Like vmware provides SDK's to  proccessing .vmdk file

 

please help me

Nandkumar

Create .ovf from unregistered vmx

$
0
0

Hello,

 

Im using ghettoVCB to backup my running VMs on same datastore. But when i wanna copy backed up VM, even if its in thin format, to my desktop running Win 7, size of file is same as size of virtual disk (backing up 2GB VM, used is 1,2GB, copied file is 2GB).

 

So i used Converter for exporting VM from VI to .ovf to my desktop. And if something goes wrong, ill import it back. But you cannt export running VM.

 

So i wanna used backed up unregistered copy of VM created by ghettoVCB to convert it to .ovf using OVFTools.

 

Is it somehow possible? When i try convert it with direct path to backup VM vmx, error: Error: " Locator does not refer to an object vi://root@IP/backups/wordpress/ " appears. Thanks for help.

 

Im running ESXi 4.1 update1

VMware tools autoinstall into Debian guest during OVA import?

$
0
0

We would like the vm tools to be  automatically installed as soon as, or soon after, the OVA is imported.   Currently we require the user to do the following after the OVA is  imported and the Guest is powered on.

 

1. Within vsphere right click and choose install vmware tools on the guest, this simply mounts the tools iso

2. The user is then required to log into the guest via the console and install the tools from there (we provide a menu option for them).

 

We are looking to streamline the virtual appliance installation and right now the tools instalation is the most complicated part.

 

Does anyone know if it is possible to have the vmware tools installed automatically during the OVA import process?  By the way, our virtual appliance is Debian Linux (Squeaze and.or Lenny).

 

Cheers,

 

Chris

Viewing all 34499 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>