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

when running OVF Tool exe, i get this: Error: No source or target specified

$
0
0

when running OVF Tool exe, i get this: Error: No source or target specified.

seen a few links stating it doesn't like running from folder it was installed in. any help as to where it could run from?

thanks


ovftool 4.2.0 has a broken --allowAllExtraConfig

$
0
0

4.2.0 is bundled into the current build of Fusion10:

ovftool --version

VMware ovftool 4.2.0 (build-6230482)

 

This version has a busted --allowAllExtraConfig flag, so some VMs will not export to OVA, instead you get a slew of errors like this one:

- Line -1: Unsupported value 'disk.EnableUUID' for attribute 'key' on element 'ExtraConfig'.

Convertion of .OVF to .VMX

$
0
0

From virtualmachine i have exported .ovf file from the following website http://www.techrepublic.com/blog/windows-and-office/how-do-i-convert-virtualbox-files-to-work-with-vmware-workstation/#.

and i recieved the following error in cmd prompt.

can anyone please help me to understand error line 84 and prove me solution .

........................................................................................

Error:

- Line 84: Could not parse the document: 'mismatched tag'

Warning:

- No manifest file found.

Completed with errors.

---------------------------------------------------------------------------------------

 

Steps followed:

Step 1: Export your virtual machine

The first step is to export your virtual machine from VirtualBox.

Step 2: Editing your .ovf file

The file you need to edit will be the .ovf file that serves as the descriptor for your virtual machine. You MUST open this in a text editor. Do NOT open it in a word processor as this will add extra characters to the file, which will render it unreadable by either VirtualBox or VMWare. The first section you need to edit is the format section. Look for a line of code (near the top) that contains this phrase:

ovf:format=

What follows that section needs to be changed to:

"http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized"

The next edit (in the same file) is the Virtual SystemType, and it must be one of the following:

<vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType> (for a esx 4.0)

<vssd:VirtualSystemType>vmx-04</vssd:VirtualSystemType> (for esx 3.5.x and 4.0 hosts)

Believe it or not, the next item to edit is the rsad for the sound card. The section will look similar to:

<Item>

<rasd:Caption>sound</rasd:Caption>

<rasd:Description>Sound Card</rasd:Description>

<rasd:InstanceId>6</rasd:InstanceId>

<rasd:ResourceType>35</rasd:ResourceType>

<rasd:ResourceSubType>ensoniq1371</rasd:ResourceSubType>

<rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>

<rasd:AddressOnParent>3</rasd:AddressOnParent>

</Item>

To the above section, add the following after the first <Item> tag:

<Item ovf:required="false">

Step 3: Using the OVF tool

This step requires you to download and install the VMWare OVF Tool (you will have to log in first). The OVF tool is command-line only, and it will convert your newly prepped .ovf file into a .vmx that VMWare can use. To do this, follow these steps:

  • Click Start | Run.
  • Type cmd.
  • In the command window, change to the directory you installed the OVF Tool into and then issue the command:ovftool appliance.ovf new_appliance.vmx(Where appliance.ovf is the name of the appliance you exported from VirtualBox and new_appliance.vmx is the name you want to give the new virtual appliance. Depending on the size of your virtual appliance, this could take a while.)

VM to OVF w/ OVFTOOLS Error

$
0
0

Hi,

 

Using ESXi 6.0.0, ovftool 4.2

 

I am trying to export a VM in a standalone ESXi to OVF using the following sintaxys:

 

C:\Program Files\VMware\VMware OVF Tool>ovftool "vi://root:pass@esxiip/ha-datacenter?ds=\[SSD Datastore\] nubodb_gima/nubodb.vmx" c:\nubodb-ovf\

But it is showing: Error: Locator does not refer to an object: vi://root@esxiip/ha-datacenter?ds=\[SSD%20Datastore\]%20nubodb_gima/nubodb.vmx

VM is located in:  [SSD Datastore] nubodb_gima/nubodb.vmx

 

I looked at the documentation and also the examples provided by ovftool but it is not working. I'll apreciate any help.

 

Gracias,

OVF tool fails to convert compressed OVF file to vmx

$
0
0

I have a compressed OVF file generated by OVF tool using "compress" option. However, I cannot convert the generated ovf file back to vmx. When I run OVF tool to perform conversion, it says "Disk Transfer Failed" and "Error: Failed to open source disk: disk1.vmdk.gz" .Any ideas how I should proceed with this?

How to upload and deply OVF templates from datastore

$
0
0

Hi All,

 

Good Day to you.

 

OVF template deployment is taking lot of time to deploy new VM. Is there any way to upload OVF template on datastore and deploy vm from there.

 

Please need your support and suggestion.

 

 

 

 

Regards,

Baswaraj

ovftool fails with curl error: couldn't connect to server

$
0
0

HI,

 

I'm trying to create an OVF using ovftool 3.0.1. When I issue the ovftool command from the command line I get:

Error: cURL error: Couldn't connect to server
Completed with errors

 

I used the following command:

 

/usr/bin/ovftool vi://username:password@XX.XX.XX.XX/datacenter/vm/folder/vmname /destination

 

I can issue the command as above without the vmname to see if I can access Vsphere and to make sure I have a valid source locator.  The command is successful and returns a list of VMs I can use. When I add the VM name to the source locator path, I get the above error. The VM is pysically about 14GB in size (that is the space alloacted).

 

I can use the same command to another Vpshere server and I'm successful in creating the OVF. Which leads me to think that it might be a configuration issue with this Vsphere server?

 

What sorts of issues can lead to the above error?

 

Thanks,

 

Fernando

ovftool - Managing Resource Pools

$
0
0

Hello,

 

I am using vSphere ESX (4 or 5).

I am writing automatic scripts using esxcfg and ovftool (on windows) commands.

 

I have some questions:

 

1. How can i create Resource Pool's? (if it cannot be done using ovftool, is there another way? maybe using esxcfg?)

 

2. What is the exact syntax of ovftool to deploy under that Resource Pool?

I am looking for something like this:

ovftool --noImageFiles -ds=dsName --net:"Network1"="Network2" --name=MyVM "C:/MyVM.ovf" "vi://user:password@192.168.1.1/Resource/myResource"

or anything else that can help.

 

 

Thanks!

erelh


Failed to deploy

$
0
0

Hi All,

 

Please help me as I am trying to deploy my OVF in an esxi and I get the following error

 

"Failed to deploy OVF package: File ds:///vmfs/volumes/546b400f-680d4bc0-11f7-001517d3b60c/_deviceImage-0.iso was not found"

 

I don't know if I am correct if i deduce that the export might have an iso image mounted on it and now it can't locate it?

 

I exported the OVF from esxi 5.5 and the destination esxi is also 5.5.

 

I have also attached the screenshot of the error mentioned above.

 

Please help

 

Appreciate all the help I could get and thank you in advance

 

Regards,

OVF property --nic to configure IP Address for multiple interfaces

$
0
0

hi,

 

I am looking for an option to configure the IP Address while deploying the OVF template. In documentation it talks about

What Is New in OVF Tool 3.5.0

The following new ovftool options: --allowExtraConfig, --computerName, --coresPerSocket, --defaultStorageProfile, --diskSize, --maxVirtualHardwareVersion, --memorySize, --nic, --numberOfCpus, and --storageProfile.

 

But i do not see an exaple of how to configure the IP address for multiple interfaces. Only detail i see is:

--nic = Specifies NIC configuration in a VM using the syntax --nic:,=,,,. Possible values for ipAddressingMode are: DHCP, POOL, MANUAL, and NONE. ipAddress is optional and should only be used when ipAddressingMode is set to MANUAL. Only applies to vCloud targets of version 5.5 or newer.

Unsupported value '16' for element 'VirtualQuantity'

$
0
0

Hello,

I am unable to get a 16 cores vCPU created using ovftool.  I am manually creating the OVF file and have specified the following:

<rasd:VirtualQuantity>16</rasd:VirtualQuantity>

However, when I deploy using ovftool I get the following error.

 

Error:
 - Line 121: 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.
Completed with errorsError:
 - Line 121: 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.
Completed with errors-

-----------

Error:

- Line 121: 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.

Completed with errors

----------

 

It works only with value of 8 and less for VirtualQuantity.

 

Note that I am able to create 16 CPU VMs from vSphere client using ISO files.  It's just using the OVA files that creating 16 CPU VMs is not working.

The host is licensed.

 

Any ideas what could be going wrong / what I can do to overcome this error?

thanks,

Santosh

Unsupported hardware

$
0
0

I recieve the following error "- Unsupported hardware version: 3". Please assist. Converting a vmx to a ovf. Recieve error when vmx file is opened.

Error Installing OVFTool on Ubuntu 14 WorkStation Guest

$
0
0


I am trying to install ovftool 4.1.0 on a Ubuntu guest I have on my Windows host.  I downloadedd the ovftool bundle changed permission to +x, started the bundle, and accepted the license.  It says it is ready to install and I press enter.  Then I get the below and ovftool is never installed.


 


Rolling back VMware installer component 2.1.0


Removing files..


Uninstalling VMware installer component 2.1.0


Deconfiguring...


 


Any ideas? The bundle I have is the 'VMware-ovftool-4.1.0-2459827-lin.x86_64.bundle' on Ubuntu 14


 

--X:vCloudEnableGuestCustomization not enabling

$
0
0

Good day,

I importing .vsx with ovftool and using option --X:vCloudEnableGuestCustomization=true (it's false by default) to vCloud Director 9. The process completes with no errors. But at the end the checkbox "Enable guest customization" is still unchecked in template.

Could someone guess why?

Thank you.

Does ovftool support a socks proxy?

$
0
0

Hello,

 

I am trying to use ovftool to export a VM to a Vcenter endpoint. I added --proxy socks://127.0.0.1:1080 and --X:viUseProxy but it does not seem to work:

 

ovftool --X:logLevel=verbose  --acceptAllEulas --name=ovftool-test --datastore=DEV_DT_Storage_Cluster --noSSLVerify=true --diskMode=thick --X:viUseProxy --proxy=socks://127.0.0.1:1080/ c

entos7-base-tmp/centos7-base.vmx vi://<vcenter-address>/TEST_DC/host/TEST_CLUSTER

 

Opening VMX source: centos7-base-tmp/centos7-base.vmx

Error: Internal error: Failed to connect to server

Completed with errors

 

Port 1080 in my Mac is listening, ssh tunnel is active and working. I can curl my vcenter over socks proxy.


ovftool and signing

$
0
0
Currently I have an automated process in place where I create a signed ova file using the ovftool.  My private keys for signing are all moving to an HSM.  Anyone know if there a way for me to accomplish this task still using the ovftool, or am I going to have to come up with an alternate process?

OVA Signing

$
0
0

I heard from the forum that for any *.ova file which we give to sign (using ovftool), we might get one signed *.ova per vSphere/vCenter version.

 

for example, if the signing has to be done on 6.0 and 6.5 then 2 signed OVA files per version will be made available. And, we cant use the same signed image across 6.0/6.5 & 6.7 ?

 

May i know why this restriction or technical guidance on this one ?

Create VM template on a VC using OVF image from Desktop

$
0
0

Hi,

I am trying to create a VM on vCenter->DC->Cluster->Host using ovftool. I have OVF image saved at my desktop. When i am trying to give below command, is not giving results.

ovftool --X:logFile=ovf.log --acceptAllEulas desktop_location\test.ovf vi://VC_name:443/DC/host/Host_name -n="test2" -ds="Datastore" --net:"Network_name"

getting below error:

Error: Unexpected option: vi://VC_name:443/DC/host/Host_name

Completed with errors

Can anyone help me in correcting above command to get expected results.

Issues with OVFTool - Copying VMX to VCenter

$
0
0

I am using packer to generate a VMX to upload to vcenter. I have OVFtool in debug mode, but i cant figure out what the issue really is. I know that the URL for the webrequest is not correct, its been sanitized to post.

 

Output:

 

 

2018-11-30T16:05:22.778-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Mapped deviceId '/packer-build-centos7v2/VirtualLsiLogicController0:0' to URL 'https://nscdbc01d10pe.domain.local/nfc/52f32d23-1ede-a217-c8b5-668a53d47766/disk-0.vmdk'

2018-11-30T16:05:22.778-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Parsing URL...

2018-11-30T16:05:22.778-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Constructing URL...

2018-11-30T16:05:22.779-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Initializing OVF rewriter...

2018-11-30T16:05:22.779-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Initializing OVF rewriter...

2018-11-30T16:05:22.779-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Using capacity as progress measure

2018-11-30T16:05:22.779-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] ResourceLoop<1>: uploadFiles:upload mapping:[./disk.vmdk, /packer-build-centos7v2/VirtualLsiLogicController0:0, 0], progress:0

2018-11-30T16:05:22.781-08:00 verbose OVFTool[70000D1BE000] [Originator@6876 sub=Default] Upload disk do convert

2018-11-30T16:05:22.781-08:00 verbose OVFTool[70000D1BE000] [Originator@6876 sub=Default] HttpWriterFactory web request : https://nscdbc01d10pe.domain.local/nfc/52f32d23-1ede-a217-c8b5-668a53d47766/disk-0.vmdk

2018-11-30T16:05:22.781-08:00 verbose OVFTool[70000D1BE000] [Originator@6876 sub=Default] Constructing URL...

2018-11-30T16:05:22.781-08:00 verbose OVFTool[70000D1BE000] [Originator@6876 sub=Default] Initializing new curl session

2018-11-30T16:05:22.784-08:00 warning OVFTool[70000D0F5000] [Originator@6876 sub=Libs] SSL_VerifyCbHelper: Certificate verification is disabled, so connection will proceed despite the error

2018-11-30T16:05:22.786-08:00 warning OVFTool[70000D0F5000] [Originator@6876 sub=Libs] SSL_VerifyCbHelper: Certificate verification is disabled, so connection will proceed despite the error

2018-11-30T16:05:22.787-08:00 verbose OVFTool[70000D1BE000] [Originator@6876 sub=Default] Opening disk target /packer-build-centos7v2/VirtualLsiLogicController0:0

2018-11-30T16:05:22.818-08:00 verbose OVFTool[70000D1BE000] [Originator@6876 sub=Default] Closing disk source and targets

2018-11-30T16:05:22.818-08:00 error OVFTool[70000D1BE000] [Originator@6876 sub=Default] Error closing disk-target

2018-11-30T16:05:22.818-08:00 error OVFTool[70000D1BE000] [Originator@6876 sub=Default] Error: N5boost16exception_detail10clone_implINS0_19error_info_injectorI30OvfToolConnectionSendExceptionEEEE(Failed to send http data)

--> [context]zKq7AVQGAQAAAAIvmgAUT1ZGVG9vbAAAWdogbGlidm1hY29yZS5keWxpYgAABcQFAG9wAQGaWQpvdmZ0b29sAAHVWgoB+wsMAf54GwFNdhsBbI4WAfnNBAFp0gQBAMwEAbDGBAE/6AQAxtkSACnkEgCAWyECYTYAbGlic3lzdGVtX3B0aHJlYWQuZHlsaWIAAg01AAL5KwA=[/context]

2018-11-30T16:05:22.818-08:00 verbose OVFTool[70000D1BE000] [Originator@6876 sub=Default] Connection error during upload

2018-11-30T16:05:22.818-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Connection error, sleep then retry (10 remaining)

2018-11-30T16:05:27.818-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Exception thrown: N5boost16exception_detail10clone_implINS0_19error_info_injectorI26OvfToolConnectionExceptionEEEE(Failed to send http data)

--> [context]zKq7AVQGAQAAAAIvmgART1ZGVG9vbAAAWdogbGlidm1hY29yZS5keWxpYgAABcQFAG9wAQGaWQpvdmZ0b29sAAHVWgoB+wsMAcVzGwH60wQBAMwEAbDGBAE/6AQAxtkSACnkEgCAWyECYTYAbGlic3lzdGVtX3B0aHJlYWQuZHlsaWIAAg01AAL5KwA=[/context]

2018-11-30T16:05:27.819-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Backtrace:

--> [backtrace begin] product: VMware Fusion, version: e.x.p, build: build-10104578, tag: OVFTool, cpu: x86_64, os: macosx, buildType: release

--> backtrace[00] libvmacore.dylib[0x0020DA59]

--> backtrace[01] libvmacore.dylib[0x0005C405]

--> backtrace[02] libvmacore.dylib[0x0001706F]

--> backtrace[03] ovftool[0x000A599A]

--> backtrace[04] ovftool[0x000A5AD5]

--> backtrace[05] ovftool[0x000C0BFB]

--> backtrace[06] ovftool[0x001B73C5]

--> backtrace[07] ovftool[0x0004D3FA]

--> backtrace[08] ovftool[0x0004CC00]

--> backtrace[09] ovftool[0x0004C6B0]

--> backtrace[10] ovftool[0x0004E83F]

--> backtrace[11] libvmacore.dylib[0x0012D9C6]

--> backtrace[12] libvmacore.dylib[0x0012E429]

--> backtrace[13] libvmacore.dylib[0x00215B80]

--> backtrace[14] libsystem_pthread.dylib[0x00003661]

--> backtrace[15] libsystem_pthread.dylib[0x0000350D]

--> backtrace[16] libsystem_pthread.dylib[0x00002BF9]

--> [backtrace end]

2018-11-30T16:05:27.819-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] [Abort] started.

2018-11-30T16:05:29.829-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] [Abort] HttpNfcLease->Abort() is called.

2018-11-30T16:05:29.843-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] [WaitForEntityDestroyDone] Found the entity 'packer-build-centos7v2', wait for 5 seconds...

2018-11-30T16:05:34.902-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] [WaitForEntityDestroyDone] The entity 'packer-build-centos7v2' is gone or even not created yet.

2018-11-30T16:05:34.902-08:00 verbose OVFTool[7FFF8DFDF380] [Originator@6876 sub=Default] Destruction of ViTarget

Converting OVF file using ovftool from VirtualBox produces error "Line 39: Unsupported element 'Caption'" and many more errors

$
0
0

Hi,

 

I would like to convert VirtualBox 3.2.4 virtual machine to VMWare ESX 4.0.

 

In VirtualBox I have exported appliance to 0.9 format and then follow the following tutorial: http://www.ctrip.ufl.edu/howto-convert-virtualbox-to-vmware

 

 

 

 

 

 

When executing command "ovftool my.ovf my.vmx" I got the following error:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Opening OVF source: e:\VMW\my.ovf

Warning: No manifest file

Opening VMX target: e:\VMW\my.vmx

Error:

 

 

 

 

 

  • Line 39: Unsupported element 'Caption'

  • Line 40: Unsupported element 'Description'

  • Line 41: Unsupported element 'InstanceId'

  • Line 42: Unsupported element 'ResourceType'

  • Line 43: Unsupported element 'VirtualQuantity'

  • Line 37: Missing child element 'InstanceID'.

  • Line 37: Missing child element 'ResourceType'.

  • Line 48: Unsupported element 'Caption'

  • Line 49: Unsupported element 'Description'

  • Line 50: Unsupported element 'InstanceId'

  • Line 51: Unsupported element 'ResourceSubType'

  • Line 52: Unsupported element 'ResourceType'

  • Line 45: Missing child element 'InstanceID'.

  • Line 45: Missing child element 'ResourceType'.

  • Line 57: Unsupported element 'Caption'

  • Line 58: Unsupported element 'Description'

  • Line 59: Unsupported element 'InstanceId'

  • Line 60: Unsupported element 'ResourceSubType'

  • Line 61: Unsupported element 'ResourceType'

  • Line 54: Missing child element 'InstanceID'.

  • Line 54: Missing child element 'ResourceType'.

  • Line 65: Unsupported element 'Caption'

  • Line 66: Unsupported element 'Connection'

  • Line 67: Unsupported element 'InstanceId'

  • Line 68: Unsupported element 'ResourceSubType'

  • Line 69: Unsupported element 'ResourceType'

  • Line 63: Missing child element 'InstanceID'.

  • Line 63: Missing child element 'ResourceType'.

  • Line 74: Unsupported element 'Caption'

  • Line 75: Unsupported element 'Description'

  • Line 76: Unsupported element 'InstanceId'

  • Line 77: Unsupported element 'ResourceType'

  • Line 71: Missing child element 'InstanceID'.

  • Line 71: Missing child element 'ResourceType'.

  • Line 81: Unsupported element 'AutomaticAllocation'

  • Line 82: Unsupported element 'Caption'

  • Line 83: Unsupported element 'Description'

  • Line 84: Unsupported element 'InstanceId'

  • Line 85: Unsupported element 'ResourceSubType'

  • Line 86: Unsupported element 'ResourceType'

  • Line 79: Missing child element 'InstanceID'.

  • Line 79: Missing child element 'ResourceType'.

  • Line 90: Unsupported element 'Caption'

  • Line 91: Unsupported element 'Description'

  • Line 92: Unsupported element 'HostResource'

  • Line 93: Unsupported element 'InstanceId'

  • Line 94: Unsupported element 'Parent'

  • Line 95: Unsupported element 'ResourceType'

  • Line 88: Missing child element 'InstanceID'.

  • Line 88: Missing child element 'ResourceType'.

  • Line 99: Unsupported element 'AutomaticAllocation'

  • Line 100: Unsupported element 'Caption'

  • Line 101: Unsupported element 'Description'

  • Line 102: Unsupported element 'InstanceId'

  • Line 103: Unsupported element 'Parent'

  • Line 104: Unsupported element 'ResourceType'

  • Line 97: Missing child element 'InstanceID'.

  • Line 97: Missing child element 'ResourceType'.

 

 

Please see attached ovf file.

 

 

 

What should I do? 

 

 

 

 

 

 

Thanks

Viewing all 34499 articles
Browse latest View live


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