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

Got Problem with converting Ova to VMx

$
0
0

Hi , there !

i got problem when i deploy a .ova file , when the process of deploying is around 98 99 % an error comes say u can't go any farther !!!

 

this is a complete log of what it says !!!

 

 

******************************************************************

 


C:\Documents and Settings\SOLMATE\Desktop>"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --X:logToConsole "K:\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram).ova" k:\'

 

"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe"' is not recognized as an internal or external command,operable program or batch file.

 

C:\Documents and Settings\SOLMATE\Desktop>"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --X:logToConsole "K:\Win 2008 X64 -Sharepoint 2 - IP_65.122  200
G -8G(Ram).ova" k:\
2011-09-28T11:38:38.318+03:30 [05000 verbose 'Default'] Subscribing to signal: 2 (SIGINT)
2011-09-28T11:38:38.318+03:30 [05000 verbose 'Default'] Subscribing to signal: 4 (SIGILL)
2011-09-28T11:38:38.318+03:30 [05000 verbose 'Default'] Subscribing to signal: 22 (SIGABRT)
2011-09-28T11:38:38.318+03:30 [05000 verbose 'Default'] Subscribing to signal: 8 (SIGFPE)
2011-09-28T11:38:38.318+03:30 [05000 verbose 'Default'] Subscribing to signal: 15 (SIGTERM)
2011-09-28T11:38:38.318+03:30 [05000 verbose 'Default'] [ovfTool.cpp] Using home directory C:\Documents and Settings\SOLMATE\Application Data\VMware\ovftool.cfg
2011-09-28T11:38:38.318+03:30 [05000 verbose 'Default'] [ovfTool.cpp] OvfTool Environment:
--> /X:httpTimeout = "600"
--> /X:imageReadSize = "262144"
--> /X:logToConsole = "true"
--> /X:maxNumberOfTermSignals = "5"
--> /X:maxRedirects = "256"
--> /X:maximalDeltaConfSize = "8"
--> /X:maximalDeltaTreeSize = "6"
--> /X:progressSmoothing = "60"
--> /X:useMacNaming = "false"
--> /X:vCloudKeepTemplate = "true"
--> /X:vCloudTimeout = "3600"
--> /X:vimSessionTimeout = "600"
--> /authdPortSource = "902"
--> /authdPortTarget = "902"
--> /fencedMode = "bridged"
--> /prgPath = "C:\Program Files\VMware\VMware OVF Tool"
--> /source = "K:\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram).ova"
--> /target = "k:\"
-->
2011-09-28T11:38:38.396+03:30 [05000 verbose 'Default'] [ovfTool.cpp] Done initializing libs
2011-09-28T11:38:38.396+03:30 [05000 verbose 'Default'] [ovfTool.cpp] Determining source
2011-09-28T11:38:38.396+03:30 [05000 verbose 'Default'] [ovfTool.cpp] Determining target
Opening OVA source: K:\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram).ova

 

2011-09-28T11:38:38.490+03:30 [05000 verbose 'Default'] OVF Descriptor: <?xml version="1.0" encoding="UTF-8"?>
--> <!--Generated by VMware VirtualCenter Server, User: Administrator, UTC time: 2011-07-30T02:20:18.871093Z-->
--> <Envelope vmw:buildId="build-345043" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ovf="http:
//schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-->   <References>
-->     <File ovf:href="Win_2008_X64_-Sharepoint_2_-_IP_65.122__200G_-8G(Ram)-disk1.vmdk" ovf:id="file1" ovf:size="30856148480" />
-->     <File ovf:href="Win_2008_X64_-Sharepoint_2_-_IP_65.122__200G_-8G(Ram)-file1.iso" ovf:id="file2" ovf:size="3735289856" />
-->   </References>
-->   <DiskSection>
-->     <Info>Virtual disk information</Info>
-->     <Disk ovf:capacity="200" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces
/specifications/vmdk.html#streamOptimized" ovf:populatedSize="45460160512" />
-->   </DiskSection>
-->   <NetworkSection>
-->     <Info>The list of logical networks</Info>
-->     <Network ovf:name="LAN">
-->       <Description>The LAN network</Description>
-->     </Network>
-->   </NetworkSection>
-->   <VirtualSystem ovf:id="Win 2008 X64 -Sharepoint 2 - IP:65.122  200G -8G(Ram)">
-->     <Info>A virtual machine</Info>
-->     <Name>Win 2008 X64 -Sharepoint 2 - IP:65.122  200G -8G(Ram)</Name>
-->     <OperatingSystemSection ovf:id="1" vmw:osType="windows7Server64Guest">
-->       <Info>The kind of installed guest operating system</Info>
-->       <Description>Microsoft Windows Server 2008 R2 (64-bit)</Description>
-->     </OperatingSystemSection>
-->     <VirtualHardwareSection>
-->       <Info>Virtual hardware requirements</Info>
-->       <System>
-->         <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
-->         <vssd:InstanceID>0</vssd:InstanceID>
-->         <vssd:VirtualSystemIdentifier>Win 2008 X64 -Sharepoint 2 - IP:65.122  200G -8G(Ram)</vssd:VirtualSystemIdentifier>
-->         <vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
-->       </System>
-->       <Item>
-->         <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
-->         <rasd:Description>Number of Virtual CPUs</rasd:Description>
-->         <rasd:ElementName>4 virtual CPU(s)</rasd:ElementName>
-->         <rasd:InstanceID>1</rasd:InstanceID>
-->         <rasd:ResourceType>3</rasd:ResourceType>
-->         <rasd:VirtualQuantity>4</rasd:VirtualQuantity>
-->       </Item>
-->       <Item>
-->         <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
-->         <rasd:Description>Memory Size</rasd:Description>
-->         <rasd:ElementName>8192MB of memory</rasd:ElementName>
-->         <rasd:InstanceID>2</rasd:InstanceID>
-->         <rasd:ResourceType>4</rasd:ResourceType>
-->         <rasd:VirtualQuantity>8192</rasd:VirtualQuantity>
-->       </Item>
-->       <Item ovf:required="false">
-->         <rasd:Address>0</rasd:Address>
-->         <rasd:Description>USB Controller</rasd:Description>
-->         <rasd:ElementName>USB controller</rasd:ElementName>
-->         <rasd:InstanceID>3</rasd:InstanceID>
-->         <rasd:ResourceType>23</rasd:ResourceType>
-->       </Item>
-->       <Item>
-->         <rasd:Address>0</rasd:Address>
-->         <rasd:Description>SCSI Controller</rasd:Description>
-->         <rasd:ElementName>SCSI controller 0</rasd:ElementName>
-->         <rasd:InstanceID>4</rasd:InstanceID>
-->         <rasd:ResourceSubType>lsilogicsas</rasd:ResourceSubType>
-->         <rasd:ResourceType>6</rasd:ResourceType>
-->       </Item>
-->       <Item>
-->         <rasd:Address>1</rasd:Address>
-->         <rasd:Description>IDE Controller</rasd:Description>
-->         <rasd:ElementName>IDE 1</rasd:ElementName>
-->         <rasd:InstanceID>5</rasd:InstanceID>
-->         <rasd:ResourceType>5</rasd:ResourceType>
-->       </Item>
-->       <Item>
-->         <rasd:Address>0</rasd:Address>
-->         <rasd:Description>IDE Controller</rasd:Description>
-->         <rasd:ElementName>IDE 0</rasd:ElementName>
-->         <rasd:InstanceID>6</rasd:InstanceID>
-->         <rasd:ResourceType>5</rasd:ResourceType>
-->       </Item>
-->       <Item>
-->         <rasd:AddressOnParent>0</rasd:AddressOnParent>
-->         <rasd:ElementName>Hard disk 1</rasd:ElementName>
-->         <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
-->         <rasd:InstanceID>7</rasd:InstanceID>
-->         <rasd:Parent>4</rasd:Parent>
-->         <rasd:ResourceType>17</rasd:ResourceType>
-->       </Item>
-->       <Item>
-->         <rasd:AddressOnParent>0</rasd:AddressOnParent>
-->         <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
-->         <rasd:ElementName>CD/DVD Drive 1</rasd:ElementName>
-->         <rasd:HostResource>ovf:/file/file2</rasd:HostResource>
-->         <rasd:InstanceID>8</rasd:InstanceID>
-->         <rasd:Parent>5</rasd:Parent>
-->         <rasd:ResourceType>15</rasd:ResourceType>
-->       </Item>
-->       <Item>
-->         <rasd:AddressOnParent>7</rasd:AddressOnParent>
-->         <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
-->         <rasd:Connection>LAN</rasd:Connection>
-->         <rasd:Description>E1000 ethernet adapter on "LAN"</rasd:Description>

 

-->         <rasd:ElementName>Network adapter 1</rasd:ElementName>
-->         <rasd:InstanceID>9</rasd:InstanceID>
-->         <rasd:ResourceSubType>E1000</rasd:ResourceSubType>
-->         <rasd:ResourceType>10</rasd:ResourceType>
-->       </Item>
-->       <Item ovf:required="false">
-->         <rasd:AddressOnParent>0</rasd:AddressOnParent>
-->         <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
-->         <rasd:Description>Floppy Drive</rasd:Description>
-->         <rasd:ElementName>Floppy drive 1</rasd:ElementName>
-->         <rasd:InstanceID>10</rasd:InstanceID>
-->         <rasd:ResourceType>14</rasd:ResourceType>
-->       </Item>
-->     </VirtualHardwareSection>
-->   </VirtualSystem>
--> </Envelope>
Opening VMX target: k:\
2011-09-28T11:38:44.896+03:30 [05000 verbose 'Default'] Creating disk k:\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram)\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram)-disk1.vmdk, 419430400 sectors, lsilogicWriting VMX file: k:\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram)\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram).vmx
2011-09-28T11:38:46.802+03:30 [05000 verbose 'Default'] Using file size as progress measure Disk Transfer Failed Error: Invalid access to memory location.
2011-09-28T11:38:46.865+03:30 [05000 verbose 'Default'] Backtrace:
--> backtrace[00] rip 0175fd23 (no symbol)
--> backtrace[01] rip 0166eb5e (no symbol)
--> backtrace[02] rip 0166f801 (no symbol)
--> backtrace[03] rip 0162f99a (no symbol)
--> backtrace[04] rip 01626bc2 (no symbol)
--> backtrace[05] rip 0175f44b (no symbol)
--> backtrace[06] rip 01673622 (no symbol)
--> backtrace[07] rip 0176f018 (no symbol)
--> backtrace[08] rip 0041a76e (no symbol)
--> backtrace[09] rip 0047fb6a (no symbol)
--> backtrace[10] rip 00480c62 (no symbol)
--> backtrace[11] rip 0041e4d5 (no symbol)
--> backtrace[12] rip 0043de50 (no symbol)
--> backtrace[13] rip 00467136 (no symbol)
--> backtrace[14] rip 004674bd (no symbol)
--> backtrace[15] rip 00418474 (no symbol)
--> backtrace[16] rip 004186f4 (no symbol)
--> backtrace[17] rip 005e82ff (no symbol)
--> backtrace[18] rip 7c817067 (no symbol)
-->
2011-09-28T11:38:46.865+03:30 [05000 verbose 'Default'] Deleting file: k:\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram)\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram)-disk1.vmdk
Deleting directory: k:\Win 2008 X64 -Sharepoint 2 - IP_65.122  200G -8G(Ram)
Completed with errors

 

*************************************************************************************************

 

Ps : i can't deploy my ova file with deploy OVF Template... in Esx and neither with ovatool !!
any idea ?


OFV export trouble

$
0
0

hello, I am stuck.  Any help is much appreciated.

I am simply trying to export an OVF template from a vm (.vmx) in vCenter 4.1.0 using the OVF Tool.

 

The vm is located here:

<vcenter>/<datacenter>/vm/Build Server/sles11-sp1-x8664/yoshi

 

I can probe the object like this:

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi

OVF version:   1.0

VirtualApp:    false

Name:          yoshi

 

Download Size:     Unknown

 

Deployment Sizes:

  Flat disks:     80.00 GB

  Sparse disks:   Unknown

Networks:

  Name:        CVO VM Network

  Description: The CVO VM Network network

 

Virtual Hardware:

  Family:       vmx-07

  Disk Types:   SCSI-lsilogic

Now, I am having problems specifying a target locator to export the ovf template.
I am trying to export the ovf template to the following location:
<vcenter>/<datacenter>/vm/templates/ovf-templates/yoshi.ovf

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/templates/
Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi
Error: Found wrong kind of object (Folder). Possible completions are:
  ovf-templates/
  build-servers/
  db-servers/
  RDI Upgrade Test Template
Completed with errors
[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/templates/ovf-templates
Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi
Error: Found wrong kind of object (Folder). Possible completions are:
Completed with errors

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/templates/ovf-templates/yoshi.ovf

Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi

Error: Locator does not refer to an object: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/templates/ovf-templates/yoshi.ovf

Completed with errors

Can someone help identify the correct target locator?

I have also tried the following host path:

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/host/R\&D

Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi

Opening VI target: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/host/R&D

Error: No target datastore specified. Possible completions:

  DespinaLS

  DevVMs

  NFS Install

  VM template backup

  dominator-nfs-install

  nfs-ds1

  puffinSanMedia

  skillet-ds1

  skillet-ds2

Completed with errors

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/host/R\&D/skillet-ds2

Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi

Error: Locator does not refer to an object: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/host/R&D/skillet-ds2

Completed with errors

 

[root@r2d2 bin]# ovftool vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi://<user>:<password>@helios.blue.roguewave.com/Corvallis/host/R\&D?ds=[skillet-ds2]

Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi

Error: Datacenter object not found

Completed with errors

[root@r2d2 bin]# ovftool vi:// <user>:<password>@helios.blue.roguewave.com/Corvallis/vm/Build\ Server/sles11-sp1-x8664/yoshi vi:// <user>:<password>@helios.blue.roguewave.com/Corvallis/host/R\&D?ds=[skillet-ds2]ovfs
Opening VI source: vi://bluoma@helios.blue.roguewave.com:443/Corvallis/vm/Build%20Server/sles11-sp1-x8664/yoshi
Error: Datacenter object not found
Completed with errors
Any thoughts or suggestions are welcome.
Thanks,
Bryan

Does anyone know how to sign ova with timestamp?

$
0
0

I am creating ova file using VMware OVF tool .

And I want to use public Code Signing Certificate like published by Globalsign or Verisign.

But current OVF tool doucment is not introduce how to sign with timestamp.

So, when public cert is expired, just ova file is also expired.

This is problem.

Ex: Using vsphere client call deploying OVF Template, then display signing is expired.

 

Document

https://www.vmware.com/support/developer/ovf/ovf350/ovftool-350-userguide.pdf

 

Deploy an OVF Template

http://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.vmadmin.doc_41/vsp_vm_guide/working_with_ovf_templates/t_import_a_virtual_appliance.html

 

Will signed code still be valid after the Code Signing Certificate expires?

 

The digital signature on code will not expire, when a timestamping service is used. A time stamp shows the validity of the certificate at the time the code was signed. Unless you’re adding additional code to your application, a new signature will not need to be applied even if the certificate used to initially sign the code expires. GlobalSign Code Signing Certificates include a time stamp feature.

https://www.globalsign.com/support/faq/objectfaq.php

Include advanced CPU settings in OVF/OVA

$
0
0

Is it possible to include the advanced CPU settings for a VM when you build an OVF/OVA with ovftool?

 

My VM must have VT-x enabled (nested virtualization) and the default setting seem to be disabled.

 

Though --allowExtraConfig would do the trick but it doesn't help.

 

Any help would be much appreciated!

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,

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

OVF tool fails to convert .vmx to ova

$
0
0

Hello, new to here and couldnt find a solution to my issuue.

Downloaded VMware OVF Tool 4.1.0

I am trying to convert GNS3 WorkBench 12.3a into an OVA to install as a guest on ESXi 5.5

GNS3WB123.vmx is the file that I'm trying to convert to OVA

 

I have tried following the directions from https://www.vmware.com/support/developer/ovf/ovf10/ovftool_10_userguide.pdf

 

I continue to get failed messages. Is there anyone here that can assist with the OVF tool so I can run GNS3 as a guest, instead of installing on a guest Windows or Linux program?

 

Thanks

The OVF descriptor file could not be parsed.

$
0
0

Hi All,

 

    I have just exported an vApp using ovf from my vCenter v4u2. When I try to import into Vmware Workstation 7.1(running on Window 7 Ent 64bit) I get the following error message "The OVF descriptor file could not be parsed."  I have attached the log.

 

 

Cheers!


OVA template deployment - sysprepping and customizing the deployment

$
0
0

Hello,

I am seeking guidance on automation\customization of an OVA deployment.

 

Looking to use an OVA due to it's compression ability which is favorable when needing to transfer a VMWare virtual machine from Host to Host for deployment at different location across a WAN.  In the past, we have created a VM template and provided customization file for deployment but the size of the template was too large for transfer across the WAN....so we would have to ship on seperate media.

 

I am looking to achieve the same end result of deployment of a vm template but through the deployment of the OVA template.

Here is where I am at so far:
1. Create the VM (in this case Windows XP SP3)
2. Export the VM to OVA Template.
3. Deploy OVA Template

 

All of the above works without any problem.  However, during deployment of the OVA, I would like to prompt the end user to input computer name, Fixed IP information or DHCP, domain to join, etc.  Additionally, I would like sysprep to run.

 

I have read the guide and numerous articles on the OVF descriptors, but not quite sure where or how to input these prompts so they appear during the OVA deployment.  Additionally, if I sysprep the vm before exporting to OVA, how can I get sysprep and the input from the end user deployment to work hand in hand.

 

Thanks in advance for any guidance or tutorial reference you can supply to help me understand OVA deployment of a single vm and how to configure custom settings during deployment with sysprep running.

ERROR: Not a supported disk format(Invalid sparse VMDK header)

$
0
0

Hi All,

 

I have just come across ovftool and was giving a try to it. I am fairly new to VMware world.

I have a  .OVF which I exported using vSphere client 4.0. This .OVF comprises of 3 Suse Linux based virtual machines. i.e. I created a vApp on ESX (4.1) host, in this vApp I put my 3 SLES VMs and then exported it as OVF.

It has a total size of around 4.5GB.

 

Now I ran this command to compress this .OVF as well as gave an option to create deltadisks.

C:\> ovftool --compress=9 --makeDeltaDisks --skipManifestCheck  MyVMCluster\MyVMCluster.ovf   E:\

 

output:

{{{

The manifest does not validate
Generating delta disks for 2 disks (capacity 40960 MB)
Reading disks
Disk Transfer Completed

 

Determining optimal configuration for capacity group
Writing configuration to disk
Disk Transfer Completed

 

Completed successfully

}}}

 

Now when I checked my E:\ It had created a folder with the same name and put related files there. I saw a significant reduction in the new vmdk size. ( around 2.3GB now )

 

Now when I manually deploy this new ovf on vSphere client, it goes till certain %age and then flags an error:

{{{

Error uploading file to server ( E:\MyVMCluster\disk3.vmdk.gz ) Not a supported disk format ( Invalid sparse vmdk header )

}}}

and then it stops and everything rolledback.

 

 

Any pointers ?

 

Thanks

Nikunj

Create OVF/OVA via ovftool

$
0
0

Hi,

 

I have a ESXi 5.0 server running which has a Guest VM running CentOS 5.6.

 

The ESXi server is a standalone server, not included in a datacenter, not managed by vCenter.

 

The server has a HDD of 80G which has both the ESXi host & the Guest OS running on top of it.

 

I installed ovftools on my Windows laptop & tried to create a ovf from the VM but am unsuccessful. I constantly get the following error -

c:\>ovftool vi://root:<rootpassword>@<ESXi Host IP>/datastore1/CentOS c:\testVM.ovf

Error: Cannot parse locater: vi://root:<rootpassword>@<ESXi Host IP>/datastore1/CentOS

Completed with errors

 

The local datastore name is "datastore1"

 

Can someone help me out here with forming the correct the ovftool command to create an ovf & possibly an OVA out of the running VM?

 

 

Thanks

 

Bhushan Pathak

Unsupported section "BootOrderSection" (Virtual hardware device boot order)

$
0
0

I have a Linux VM running on fusion, and using ovftool to convert this .vmx into .ovf, then import into a ESXi 5...unfortunately having this error message.

 

I tried the -lax option, but doesn't help...I look into the ovf file, and found it could be this section issue

 

    <vmw:BootOrderSection vmw:instanceId="7" vmw:type="disk">

      <Info>Virtual hardware device boot order</Info>

    </vmw:BootOrderSection>

 

Anyone can share me some light to get around this...thanks

Static IP given during OVA deployment doesnt take effect post deployment

$
0
0

Hi Everyone,

 

I was trying to deploy a VM using the ovftool, I thought I would use the properties which are thrown from a "probe" of the OVA file.

 

ovftool http://server/files/builds/vpas/6.0.0/latest/vPAS-installer.ova

 

Properties:

  ClassId:     vami

  Key:         gateway

  InstanceId   vPAS

  Category:    Networking Properties

  Label:       Default Gateway

  Type:        string

  Description: The default gateway address for this VM. Leave blank if DHCP is

               desired.

 

  ClassId:     vami

  Key:         DNS

  InstanceId   vPAS

  Category:    Networking Properties

  Label:       DNS

  Type:        string

  Description: The domain name servers for this VM (comma separated). Leave

               blank if DHCP is desired.

 

  ClassId:     vami

  Key:         ip0

  InstanceId   vPAS

  Category:    Networking Properties

  Label:       Network 1 IP Address

  Type:        string

  Description: The IP address for this interface. Leave blank if DHCP is

               desired.

 

  ClassId:     vami

  Key:         netmask0

  InstanceId   vPAS

  Category:    Networking Properties

  Label:       Network 1 Netmask

  Type:        string

 

 

After having made sure that such properties exists from the probe, I tried to use them to give the VM a static IP post deployment, automatically.

 

 

ovftool --datastore="31_datastore" --acceptAllEulas --ipAllocationPolicy=fixedPolicy --name="vPAS_31_1" --powerOn --prop:ip0="172.16.121.115" --prop:netmask0="255.255.0.0" --prop:DNS="172.16.1.10" --prop:gateway="172.16.1.1" http://server/vpas/6.0.0/latest/vPAS-installer.ova vi://root:password@172.16.121.31/

Opening OVA source: http://server/files/builds/vpas/6.0.0/latest/vPAS-installer.ova

The manifest validates

Opening VI target: vi://root@172.16.121.31:443/

Deploying to VI: vi://root@172.16.121.31:443/

Transfer Completed                   

Powering on VM: vPAS_31_1

Warning:

- OVF property with key: 'DNS' does not exists.

- OVF property with key: 'gateway' does not exists.

- OVF property with key: 'ip0' does not exists.

- OVF property with key: 'netmask0' does not exists.

Completed successfully

 

Can someone please explain me whether this is a common problem ( from VMware ) or something I am doing wrong?

 

Thanks,

Deployment from OVA format.

$
0
0

Hi,

I am deploying a VM using a OVA format. The  size of OVA format is 60 GB. Currently free space on my datastore is 388 GB.

At the time of selecting Disk Format type if shows me in red that the disk size required is 1 TB therefore you cannot select THICK provisioning.

Therefore, i selected THIN provisiong. It THIN provisioing i am showed that Estimated Disk Usage is 112 GB which is less than the free space available.

But even after selecting THIN proviosing at the time of deployment it throws an error that it cannot create disk as the size of disk is larger than the maximum specified limit. 

My block size is of 1 MB.

ovftool : Specify Hardware version during a conversion ?

$
0
0



Hi everybody,


I'd like to change the hardware version during an export using ovftool. Is there a way to specify it ?
I've seen the "--maxVirtualHardwareVersion" but I'm unable to understand how to use it. I can't find any documentation on the supported syntax anywhere.


Any advice ?


Jean-Baptiste


Is there a way to specify static IP for a deploying OVA in the ovftool command?

$
0
0

Hi,

 

I am trying to deploy OVA using ovftool. I see the option --network and --net available for selecting the network by name, though I was not able to find a way to assign a static IP in the ovftool command itself. Something like --ip0=10.10.10.10. Is there a way we can do this? From UI when we deploy an OVA, we have provision to provide IP, Gateway, Netmask and DNS.

 

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

Failure on disk import

$
0
0

Hello, I'm having some trouble getting both the vSphere Client and ovftool to

import my OVF's.  When using the vSphere Client, I successfully walk through

the wizard to "Deploy OVF Template", I click Finish on the final wizard screen

and progress dialog pops up.  It counts up to 100% complete while showing

"Deploying disk 1 of 1..." and then always fails with the following error

displayed on a popup window:

 

"Failed to deploy OVF package: The remote server returned an error: (500)

Internal Server Error"

 

I then tried using ovftool, to convert my OVF to VMX format.  Similarly, the

"Disk Progress" percentage counts up to 100% and then errors with:

 

Opening OVF source: stout-1-x86_64.ovf

Warning: No manifest file

Opening VMX target: stout-out/

Target: stout-out/stout-1-x86_64/stout-1-x86_64.vmx

Disk Transfer Failed           

Error: Failed to open source disk: stout-1-x86_64.vmdk

 

In both cases, it seems the problem is with my disk file, which is a

stream optimized VMDK.  Just to check, I verified that I was able to import

this exact same disk file built into an OVF 0.9 using Virtual Infrastructure

Client 2.5.0.  So, I'm at a loss as to what the problem may be.  Do you have

to build the stream optimized vmdk any differently?  Any other suggestions on

how I may be able to debug this further?

 

Thanks for any help,

James Slagle

 

Cannot Import OVF into ESXi 3.5

$
0
0

 

Using a seperate process (python-vm-builder), I am building an ESX/ESXi compliant image that I have confirmed can be uploaded, imported and started in Workstation, ESX 3.0, ESXi 3.5 and even Server 2.0+.

 

 

I'm trying to go into the next step now, and convert this ESXi Image into a single OVF archive for even easier deployments.

 

 

Using the latest OVF Tool I have successfully created the new .ovf and zipped it up inside a tar.gz'd.  On my Windows box, I then extract it (using WinRAR), then using 'Import' in VIC try to import it.  When I select the OVF and click next it then throws the below error:

 

 

 

 

 

An error occurred while parsing the OVF descriptor

Unable to parse XML element 'Envelope'

 

 

 

 

 

What am I doing wrong? 

 

 

I have attached both the original VMX and the new OVF.

 

 

Please help!

 

 

 

 

 

Thank you.

 

 

Unable to parse xml element 'Envelope'

$
0
0

 

I used ovftool (1.0 running in a RHEL 5.2 VM) to create an ovf of a powered off RHEL 5.1 VM.  All was successful and I can probe the OVF without issue.  However, when I try to import it as a virtual appliance using Virtual Center 2.5 Update 5 I receive:

 

 

An error occurred while parsing the OVF descriptor:  Unable to parse xml element 'Envelope'

 

I've attached the ovf file.

 

Any ideas?

 

 

Viewing all 34499 articles
Browse latest View live


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