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

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?

 

 


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

OVF Tool memory range error

$
0
0

 

I'm using the ovf tool to convert a virtual appliance to virtual machine format and getting a memory size limitation error based on the OVF source.  The source ovf file specifies 4GB of memory for guest OS:

 

 

Error:

- Virtual machine has 4,096 megabytes of memory, which is outside the range of 4 to 3,600 megabytes supported on the host.  This may be a general limitation of the host software, or specific to the guest OS selected for the virtual machine.

 

 

The work around is to edit the source ovf file and decrease the RAM size to  3 GB and conversion works fine.  But I'm curious why this limitation is occuring.  Is 3,600 MB the maximum virtual memory size supported byVMware workstation or server?

 

 

 

 

 

 

 

 

getting following error while login

$
0
0

C:\Program Files\VMware\VMware OVF Tool>ovftool  --machineOutput --acceptAllEula
s --verifyOnly E:\vmdk2008\Windows2008\Windows2008P2V.vmx   vcloud://suresh:suresh1@10.137.90.73:443?vapp=my_test1_tempst1_temp
ERROR
+ <Errors>
+ <Error>
+ <Type>ovftool.system.error</Type>
+ <LocalizedMsg>
+ Incorrect login: vcloud://10.137.90.73/
+ </LocalizedMsg>
+ </Error>
+ </Errors>

RESULT
+ ERROR

 

 

But my login credentials are correct(VCD user details). Do I need to do any thing specifically

OVFtool cannot authenticate to vcloud

$
0
0

I am atempting to connect to a vcloud instance to download an OVF and no matter what I cannot authenticate. Even if I manually input the userid and password it continues to prompt for them. I have creayed a userid and password specifically for this task local to the vcloud and the password and username don't conatin ANY special characters.

 

Any ideas?

Attempting to deploy .OVA from fileserver to ESXi host and/or vSphere cluster

$
0
0

I am attempting to determine an easy method to deploy .OVA templates for quick provisioning/deployment of VM's.

 

I have built VM baselines using a development vSphere cluster and exported the VM to .OVA using vSphere client. Those .OVA files reside on a Linux fileserver with ovftool installed on the system and network access to future ESXi and/or vSphere clusters.

 

Is it possible to 'deploy' the .OVA template from the Linux fileserver directly to a remote ESXi host's datastore and/or vSphere cluster datastore? I cant get it to work.

 

My OVA file:

 

 

[root@centos_lab1 u0]# ls -lha

total 5.9G

drwxr-xr-x.  3 root root 4.0K Jun 28 08:48 .

dr-xr-xr-x. 24 root root 4.0K Jun 25 11:30 ..

-rw-r--r--   1 root root 5.9G Jun 24 10:01 test.ova

 

 

Attempting to deploy to ESXi host:

 

 

[root@centos_lab1 u0]# ovftool test.ova vi://root:test123@172.16.16.81

Opening OVA source: test.ova

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

Error: No target datastore specified. Possible completions:

  iSCSI-Large

  ESX1_local_datastore

  iSCSI-Equallogic

  fusionio

  Super_ISO

Completed with errors

 

 

[root@centos_lab1 u0]# ovftool test.ova vi://root:test123@172.16.16.81/iSCSI-Equallogic/

Opening OVA source: test.ova

Error: Locator does not refer to an object: vi://root@172.16.16.81:443ha-datacenter/host/esx1.lab.q9.com/Resources/iSCSI-Equallogic/

Completed with errors

 

 

 

 

 

 

Any idea what I am doing wrong here? Is what I am trying to do even possible with ovftool?

ovftool.exe crashes when deploying OVA from Windows 7

$
0
0

I'm experiencing a coredump when attempting to deploy an OVA into vCenter 5.0.0.  I have downloaded the OVA to the Windows 7 PC locally and have run the ovftool from that path as follows:

 

ovftool --X:logToConsole=true --X:logLevel="verbose" --name=ovf-test --datastore=datastore-local-113 --network=VLAN-603 MVF-ver-2_OVF10.ova "vi://Administrator:**********@10.45.99.10/MitelDesignCenter/host/VLabCluster-03 (Intel G6, stand-alone)/10.45.12.113"

 

 

The verbose output looks like this:

 

2012-01-13T11:45:23.595-05:00 [04492 verbose 'Default'] Subscribing to signal: 2 (SIGINT)

2012-01-13T11:45:23.596-05:00 [04492 verbose 'Default'] Subscribing to signal: 4 (SIGILL)
2012-01-13T11:45:23.596-05:00 [04492 verbose 'Default'] Subscribing to signal: 22 (SIGABRT)
2012-01-13T11:45:23.598-05:00 [04492 verbose 'Default'] Subscribing to signal: 8 (SIGFPE)
2012-01-13T11:45:23.599-05:00 [04492 verbose 'Default'] Subscribing to signal: 15 (SIGTERM)
2012-01-13T11:45:23.600-05:00 [04492 verbose 'Default'] [ovfTool.cpp] Using home directory C:\Users\hinchleg\AppData\Roa
ming\VMware\ovftool.cfg
2012-01-13T11:45:23.601-05:00 [04492 verbose 'Default'] [ovfTool.cpp] OvfTool Environment:
--> /X:httpTimeout = "600"
--> /X:imageReadSize = "262144"
--> /X:logLevel = "verbose"
--> /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"
--> /datastore = "datastore-local-113"
--> /fencedMode = "bridged"
--> /name = "ovf-test"
--> /network = "VLAN-603"
--> /prgPath = "C:\Program Files\VMware\VMware OVF Tool"
--> /source = "MVF-ver-2_OVF10.ova"
--> /target = "vi://Administrator:**********@10.45.99.10/MitelDesignCenter/host/VLabCluster-03 (Intel G6, stand-alone)
/10.45.12.113"
-->
2012-01-13T11:45:23.609-05:00 [04492 verbose 'Default'] [ovfTool.cpp] Done initializing libs
2012-01-13T11:45:23.609-05:00 [04492 verbose 'Default'] [ovfTool.cpp] Determining source
2012-01-13T11:45:23.630-05:00 [04492 verbose 'Default'] [ovfTool.cpp] Determining target
Opening OVA source: MVF-ver-2_OVF10.ova
2012-01-13T11:45:23.634-05:00 [04492 verbose 'Default'] Manifest file present. Parsing file.
2012-01-13T11:45:23.635-05:00 [04492 verbose 'Default'] Manifest file entry: SHA(MVF-ver-2_OVF10.ovf) = 2926495bbde18cdb
3e738e390258bd2009996156
2012-01-13T11:45:23.637-05:00 [04492 verbose 'Default'] Manifest file entry: SHA(system.vmdk) = e1fe00f518356b3741789fa6
7567e9c8bf3fffe7
The manifest validates
2012-01-13T11:45:23.642-05:00 [04492 verbose 'Default'] Verifying that the files references in manifest are valid
2012-01-13T11:45:23.644-05:00 [04492 verbose 'Default'] OVF Descriptor: <?xml version="1.0" encoding="UTF-8"?>
dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" x
-->   <References>
-->     <File ovf:href="system.vmdk" ovf:size="488976384" ovf:id="system.vmdk_id"/>
-->   </References>
-->   <NetworkSection>
-->     <Info>List of logical networks used in the package</Info>
-->     <Network ovf:name="Network 1">
-->       <Description>Network 1</Description>
-->     </Network>
-->   </NetworkSection>
-->   <vmw:IpAssignmentSection ovf:required="false" vmw:protocols="IPv4" vmw:schemes="ovfenv">
-->     <Info>Supported IP assignment schemes</Info>
-->   </vmw:IpAssignmentSection>
-->   <DiskSection>
-->     <Info>List of the virtual disks and partitions needed</Info>
-->     <Disk ovf:diskId="system" ovf:capacity="5120" ovf:capacityAllocationUnits="byte * 2^20" ovf:format="http://www.v
mware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:fileRef="system.vmdk_id" ovf:populatedSize="135456358
4"/>
-->   </DiskSection>
-->   <VirtualSystem ovf:id="MVF-ver-2">
-->     <Info>A virtual machine</Info>
-->     <ProductSection ovf:required="false">
-->       <Info>VM ISV branding information</Info>
-->       <Product>MVF-ver-2</Product>
-->       <Vendor>Mitel Networks Corporation</Vendor>
-->       <!--
-->             Version is the actual product version in the
-->             form X.X.X.X where X is an unsigned 16-bit integer.
-->
-->             FullVersion is a descriptive version string
-->             including, for example, alpha or beta designations
-->             and other release criteria.
-->         -->
-->       <Version>1.0.13.0</Version>
-->       <FullVersion>MVF 1.0.13.0 (design) on MSL 9.4.12.0</FullVersion>
-->       <ProductUrl/>
-->       <VendorUrl/>
-->       <AppUrl>http://${vami.ip0.MVF-ver-2}/</AppUrl>
-->       <Category>Application</Category>
-->       <Property ovf:key="admin_pass" ovf:type="string" ovf:userConfigurable="true" ovf:value="" ovf:qualifiers="MinL
en(0),MaxLen(32)" ovf:password="true">
-->         <Label>Initial Administrator Password</Label>
-->         <Description>The initial password to use to when accessing this deployed virtual appliance.</Description>
-->       </Property>
-->       <Property ovf:key="domain_name" ovf:type="string" ovf:userConfigurable="true" ovf:value="xyzcorp.com" ovf:qual
ifiers="MinLen(0),MaxLen(256)">
-->         <Label>Domain Name</Label>
-->         <Description>The domain name this virtual appliance should belong to.</Description>
-->       </Property>
-->       <Property ovf:key="ssh_access" ovf:type="string" ovf:userConfigurable="true" ovf:value="none" ovf:qualifiers="
ValueMap{&quot;none&quot;,&quot;local networks&quot;,&quot;public&quot;}">
-->         <Label>Remote SSH Access</Label>
-->         <Description>The level of accessibility for remote shell access to this system.</Description>
-->       </Property>
-->       <Property ovf:key="local_net_ip" ovf:type="string" ovf:userConfigurable="true" ovf:value="0.0.0.0" vmw:qualifi
ers="Ip">
-->         <Label>Local Network Network Address</Label>
-->         <Description>The network address where remote access, including web admin access, is available.</Description
>
-->       </Property>
-->       <Property ovf:key="local_net_netmask" ovf:type="string" ovf:userConfigurable="true" ovf:value="0.0.0.0" vmw:qu
alifiers="Ip">
-->         <Label>Local Network Netmask</Label>
-->         <Description>The netmask to define the subnet range within the local network address.</Description>
-->       </Property>
-->       <Property ovf:key="mitel_arid" ovf:type="string" ovf:userConfigurable="true" ovf:value="" ovf:qualifiers="MinL
en(0),MaxLen(20)">
-->         <Label>Mitel Application Record ID</Label>
-->         <Description>The license key to apply to this virtual appliance.</Description>
-->       </Property>
-->     </ProductSection>
-->     <ProductSection ovf:class="vami" ovf:instance="MVF-ver-2" ovf:required="false">
-->       <Info>VAMI Properties</Info>
-->       <Category>Networking Properties</Category>
-->       <Property ovf:key="ip0" ovf:userConfigurable="true" ovf:type="string" vmw:qualifiers="Ip('Network 1')">
-->         <Label>Network 1 IP Address</Label>
-->         <Description>The IP address for this interface.</Description>
-->       </Property>
-->       <Property ovf:key="netmask0" ovf:userConfigurable="true" ovf:type="string" vmw:qualifiers="Netmask('Network 1'
)">
-->         <Label>Network 1 Netmask</Label>
-->         <Description>The netmask or prefix for this interface.</Description>
-->       </Property>
-->       <Property ovf:key="gateway0" ovf:userConfigurable="true" ovf:type="string" vmw:qualifiers="Gateway('Network 1'
)">
-->         <Label>Network 1 Default Gateway</Label>
-->         <Description>The default gateway address for this VM.</Description>
-->       </Property>
-->       <Property ovf:key="DNS0" ovf:userConfigurable="true" ovf:type="string" vmw:qualifiers="Dns('Network 1')">
-->         <Label>Network 1 DNS</Label>
-->         <Description>The domain name servers for this VM (comma separated).</Description>
-->       </Property>
-->     </ProductSection>
-->     <ProductSection ovf:class="vm" ovf:required="false">
-->       <Info>VM specific properties</Info>
-->       <Property ovf:key="vmname" ovf:type="string" ovf:value="MVF-ver-2"/>
-->     </ProductSection>
-->     <AnnotationSection>
-->       <Info/>
-->       <Annotation/>
-->     </AnnotationSection>
-->     <OperatingSystemSection ovf:id="79" ovf:version="5" vmw:osType="mslGuest">
-->       <Info>Guest Operating System</Info>
-->       <Description>MSL 9.3</Description>
-->     </OperatingSystemSection>
-->     <VirtualHardwareSection ovf:transport="com.vmware.guestInfo" ovf:required="false">
-->       <Info>Virtual Hardware Requirements</Info>
-->       <System>
-->         <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
-->         <vssd:InstanceID>0</vssd:InstanceID>
-->         <vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
-->       </System>
-->       <Item>
-->         <rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
-->         <rasd:Description>Number of virtual CPUs</rasd:Description>
gData">1 virtual CPU</rasd:ElementName>
Data">1</rasd:InstanceID>
-->         <rasd:ResourceType>3</rasd:ResourceType>
-->         <rasd:VirtualQuantity>1</rasd:VirtualQuantity>
-->       </Item>
-->       <Item>
-->         <rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
-->         <rasd:Description>Memory Size</rasd:Description>
gData">1024 MB of memory</rasd:ElementName>
Data">2</rasd:InstanceID>
-->         <rasd:ResourceType>4</rasd:ResourceType>
-->         <rasd:VirtualQuantity>1024</rasd:VirtualQuantity>
-->       </Item>
-->       <Item>
-->         <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
-->         <rasd:Connection>Network 1</rasd:Connection>
gData">Ethernet adapter on vmnet</rasd:ElementName>
Data">3</rasd:InstanceID>
-->         <rasd:ResourceSubType>VMXNET3</rasd:ResourceSubType>
-->         <rasd:ResourceType>10</rasd:ResourceType>
-->       </Item>
-->       <Item>
a">0</rasd:Address>
gData">SCSI Controller 0  - lsilogic</rasd:ElementName>
Data">4</rasd:InstanceID>
-->         <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
-->         <rasd:ResourceType>6</rasd:ResourceType>
-->       </Item>
-->       <Item>
-->         <rasd:AddressOnParent>0</rasd:AddressOnParent>
gData">Harddisk 1</rasd:ElementName>
-->         <rasd:HostResource>ovf:/disk/system</rasd:HostResource>
Data">5</rasd:InstanceID>
-->         <rasd:Parent>4</rasd:Parent>
-->         <rasd:ResourceType>17</rasd:ResourceType>
-->       </Item>
-->     </VirtualHardwareSection>
-->   </VirtualSystem>
--> </ovf:Envelope>
-->
2012-01-13T11:45:23.802-05:00 [04492 verbose 'HttpConnectionPool'] HttpConnectionPoolImpl created. maxPoolConnections =
20; idleTimeout = 900000000; maxOpenConnections = 20; maxConnectionAge = 0
2012-01-13T11:45:24.876-05:00 [05124 verbose 'Default'] CURL: => Send header GET /sdk/vimServiceVersions.xml HTTP/1.1
--> Authorization: Basic QWRtaW5pc3RyYXRvcjpQQVNTd29yZDEyMzQ=
--> User-Agent: VMware-client/4.0.0 (ovfTool; libcurl)
--> Host: 10.45.99.10
--> Accept: */*
-->
-->
2012-01-13T11:45:24.879-05:00 [05124 verbose 'Default'] CURL: <= Recv header HTTP/1.1 200 OK
-->
2012-01-13T11:45:24.879-05:00 [05124 verbose 'Default'] CURL: <= Recv header Date: Fri, 13 Jan 2012 16:45:25 GMT
-->
2012-01-13T11:45:24.884-05:00 [05124 verbose 'Default'] CURL: <= Recv header Cache-Control: no-cache
-->
2012-01-13T11:45:24.887-05:00 [05124 verbose 'Default'] CURL: <= Recv header Connection: Keep-Alive
-->
2012-01-13T11:45:24.889-05:00 [05124 verbose 'Default'] CURL: <= Recv header Content-Type: text/xml; charset=utf-8
-->
2012-01-13T11:45:24.891-05:00 [05124 verbose 'Default'] CURL: <= Recv header Content-Length: 492
-->
2012-01-13T11:45:24.893-05:00 [05124 verbose 'Default'] CURL: <= Recv header
--> <?xml version="1.0" encoding="UTF-8" ?>
--> <!--
-->    Copyright 2008-2011 VMware, Inc.  All rights reserved.
--> -->
--> <namespaces version="1.0">
-->   <namespace>
-->     <name>urn:vim25</name>
-->     <version>5.0</version>
-->     <priorVersions>
-->       <version>4.1</version>
-->       <version>4.0</version>
-->       <version>2.5u2</version>
-->       <version>2.5</version>
-->     </priorVersions>
-->   </namespace>
-->   <namespace>
-->     <name>urn:vim2</name>
-->     <version>2.0</version>
-->   </namespace>
--> </namespaces>
-->
2012-01-13T11:45:24.896-05:00 [04492 verbose 'Default'] [ViConnection] Using vim API version: 5.0
2012-01-13T11:45:24.947-05:00 [04492 verbose 'HttpConnectionPool'] HttpConnectionPoolImpl created. maxPoolConnections =
1; idleTimeout = 900000000; maxOpenConnections = 1; maxConnectionAge = 0
2012-01-13T11:45:24.967-05:00 [04492 verbose 'Default'] Keeping VI session alive
Opening VI target: 2012-01-13T11:45:24.994-05:00 [04492 info 'Default'] CoreDump: Writing minidump
2012-01-13T11:45:25.044-05:00 [04492 panic 'Default']
-->
--> Panic: Win32 exception: Access Violation (0xc0000005)
-->    Read (0) at address 0000000000000018
-->    rip: 00000001401e4dcb rsp: 000000000012f470 rbp: 0000000000000018
-->    rax: 0000000000000000 rbx: 000000000012f5c0 rcx: ffffffffffffffff
-->    rdx: 0000000140000000 rdi: 0000000000000018 rsi: 0000000000000001
-->    r8:  0000000000000003 r9:  0000000000000000 r10: 000000000012f828
-->    r11: 000000000012f640 r12: 00000000036451cb r13: 0000000000000002
-->    r14: 0000000000000075 r15: 0000000000000000
-->
--> Backtrace:
--> backtrace[00] rip 000000000055693a (no symbol)
--> backtrace[01] rip 000000000042d008 (no symbol)
--> backtrace[02] rip 000000000042dc1e (no symbol)
--> backtrace[03] rip 000000000056db28 (no symbol)
--> backtrace[04] rip 000000000056dc97 (no symbol)
--> backtrace[05] rip 0000000000570b56 (no symbol)
--> backtrace[06] rip 0000000068975129 (no symbol)
--> backtrace[07] rip 00000000689742d6 (no symbol)
--> backtrace[08] rip 00000000689749de (no symbol)
--> backtrace[09] rip 0000000068974c1d (no symbol)
--> backtrace[10] rip 000000006897502b (no symbol)
--> backtrace[11] rip 000000014025f1ae (no symbol)
--> backtrace[12] rip 0000000077289d0d (no symbol)
--> backtrace[13] rip 00000000772791af (no symbol)
--> backtrace[14] rip 00000000772b1278 (no symbol)
--> backtrace[15] rip 00000001401e4dcb (no symbol)
--> backtrace[16] rip 00000001401e6c73 (no symbol)
--> backtrace[17] rip 00000001401e1b04 (no symbol)
--> backtrace[18] rip 00000001401cbfd9 (no symbol)
--> backtrace[19] rip 00000001400dbae5 (no symbol)
--> backtrace[20] rip 00000000003d7b65 (no symbol)
--> backtrace[21] rip 00000000003d7c8e (no symbol)
--> backtrace[22] rip 00000001400986f9 (no symbol)
--> backtrace[23] rip 000000014001af4b (no symbol)
--> backtrace[24] rip 000000014001b76a (no symbol)
--> backtrace[25] rip 000000014025f62e (no symbol)
--> backtrace[26] rip 000000007715652d (no symbol)
--> backtrace[27] rip 000000007728c521 (no symbol)
-->

Simple creation of OVA from VMX on ESXi 5.1 vCenter

$
0
0

I give; I have spent too long attempting to find the magic decoder ring to get ovftool to do what I expect to be a very basic use case.

 

My vCenter server is win2k8 R2 node, my host node is RHEL6.3, and my guest in this case is CentOS6.3.

 

The vCenter server FQDN is vsphere2.foo.com.

The ESX host is las13.foo.com.

The guest is qavm1.foo.com

 

The Datacenter name is screwy, but appears to be passable with URI character replacements.  The name is "Foo / Bar Network" so I have been using "Foo %2f Bar Network" and quoting any URL string to deal with the spaces.

 

Examining the Datacenter layout in vCenter client, the path to the vm from which I want to create an OVA is

 

Foo / Bar Network/QA Guy/las13.foo.com/qavm1

 

attempting to use ovftool from either the Win2k8 server or my RHEL6.4 development machine results in the same errors.  I have perturbed the syntax of options and paths in so many ways I don't want to list them all here, but the end result is always an incorrect reference or missing object.

 

Might I grovel for the proper syntax to store a VM guest as an OVA?

 

Yes...I have devoured the manual mutiple times over...RTFM is my first tenet

 

Thank you all!

 

 

 

[root@qavm34 tmp]# ovftool --sourcetype=vmx "vi://administrator@vsphere2.foo.com/Foo %2f Bar Network/host/las13.foo.com"

Error: Unknown option: 'sourcetype'

Completed with errors

[root@qavm34 tmp]# ovftool --sourceType=vmx "vi://administrator@vsphere2.foo.com/Foo %2f Bar Network/host/las13.foo.com"

Error: Failed to open file: vi://administrator@vsphere2.foo.com/Foo %2f Bar Network/host/las13.foo.com

[root@qavm34 tmp]# ovftool --sourceType=vmx "vi://administrator@vsphere2.foo.com/Foo %2f Bar Network/host/las13.foo.com/qavm1"

Error: Failed to open file: vi://administrator@vsphere2.foo.com/Foo %2f Bar Network/host/las13.foo.com/qavm1

 

[root@qavm34 tmp]# ovftool --sourceType=VI "vi://administrator@vsphere2.foo.com/Foo %2f Bar Network/host/las13.foo.com/qavm1"

Please enter login information for source vi://vsphere2.foo.com/

Username: administrator

Password: **********

Error: Locator does not refer to an object: vi://administrator@vsphere2.foo.com:443/Foo / Bar Network/host/las13.foo.com/qavm1

[root@qavm34 tmp]# ovftool --sourceType=VI "vi://administrator@vsphere2.foo.com/Foo %2f Bar Network/host/las13.foo.com"

Please enter login information for source vi://vsphere2.foo.com/

Username: administrator

Password: *********

Error: Locator does not refer to an object: vi://administrator@vsphere2.foo.com:443/Foo / Bar Network/host/las13.foo.com

[root@qavm34 tmp]# ovftool --sourceType=VI "vi://Administrator@vsphere2.foo.com/Foo %2f Bar Network/host/"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Locator does not refer to an object: vi://Administrator@vsphere2.foo.com:443/Foo / Bar Network/host/

[root@qavm34 tmp]# ovftool --sourceType=VI "vi://Administrator@vsphere2.foo.com/Foo %2f Bar Network/host"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Locator does not refer to an object: vi://Administrator@vsphere2.foo.com:443/Foo / Bar Network/host

[root@qavm34 tmp]#

[root@qavm34 tmp]#

[root@qavm34 tmp]#

[root@qavm34 tmp]# ovftool --sourceType=VI "vi://Administrator@vsphere2.foo.com/Foo %2f Bar Network"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Found wrong kind of object (Datacenter). Possible completions are:

  vm/

  host/

[root@qavm34 tmp]# ovftool --sourceType=VI "vi://Administrator@vsphere2.foo.com/Foo %2f Bar Network/vm/qavm1"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Locator does not refer to an object: vi://Administrator@vsphere2.foo.com:443/Foo / Bar Network/vm/qavm1

[root@qavm34 tmp]# ovftool --sourceType=VI "vi://Administrator@vsphere2.foo.com/Foo %2f Bar Network/vm/QA Guy/qavm1"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Locator does not refer to an object: vi://Administrator@vsphere2.foo.com:443/Foo / Bar Network/vm/QA Guy/qavm1

[root@qavm34 tmp]# ovftool --sourceType=VI "vi://Administrator@vsphere2.foo.com?moref=vim.vm.VirtualMachine:qavm1"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Invalid object type specified (not a ManagedEntity subtype)

[root@qavm34 tmp]# ovftool "vi://Administrator@vsphere2.foo.com?moref=vim.vm.VirtualMachine:qavm1"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Invalid object type specified (not a ManagedEntity subtype)

[root@qavm34 tmp]# ovftool "vi://Administrator@vsphere2.foo.com/Foo %2f Bar Network/host/las13.foo.com"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Locator does not refer to an object: vi://Administrator@vsphere2.foo.com:443/Foo / Bar Network/host/las13.foo.com

[root@qavm34 tmp]# ovftool "vi://Administrator@vsphere2.foo.com/Foo %2f Bar Network?ds=[EqualLogic] qavm1/qavm1.vmx"

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: *********

Please enter login information for source vi://vsphere2.foo.com/

Username: Administrator

Password: **********

Error: Locator does not refer to an object: vi://Administrator@vsphere2.foo.com:443/Foo %2f Bar Network?ds=[EqualLogic]%20qavm1/qavm1.vmx

[root@qavm34 tmp]# ovftool --version

VMware ovftool 3.0.1 (build-801290)

[root@qavm34 tmp]#

 

getting following error while calling OVF tool.

$
0
0

C:\Program Files\VMware\VMware OVF Tool>ovftool  E:\vmdk2008\Windows2008\Windows
2008P2V.vmx   vcloud://suresh:suresh1@10.137.90.73:443?org=Org1-Cloud1&vapp=myVA
PPTets&catalog=cat2&vappTemplate=junk&vdc=OrgVDC-org1-Cloud1
Opening VMX source: E:\vmdk2008\Windows2008\Windows2008P2V.vmx
Error: Missing vappTemplate or vapp key in locator
Completed with errors
'vapp' is not recognized as an internal or external command,
operable program or batch file.
'catalog' is not recognized as an internal or external command,
operable program or batch file.
'vappTemplate' is not recognized as an internal or external command,
operable program or batch file.
'vdc' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\VMware\VMware OVF Tool>

ovftool vCloudTemplate does nothing

$
0
0


Hi, 


We currently are building a vmx using packer via either vmware workstation or vmware fusion, depending on whther it's running on ubuntu or a mac. When the vmx is either converted into an OVF, it maintains the network + nat i.e. connectiontype=nat etc. Despite passing in --vCloudTemplate when uploading it to vcloud, the template once uploaded still seems to maintain the network so when we provision. the "nat" is transposed into being an actual network name. 


ovftool --version


VMware ovftool 4.0.0 (build-2060496)


 


Is the version i am using. I am not sure if when generating the ovf via ovftool with --vCloudTemplate whether the ovf generated should transform or whether it's purely just when you pass to vcloud:// protocol  If the former, then i can test locally without uploading it. 


 


Even using --nw:none causes it to want to find a network called "none". 


 


This is becoming very inflexible for managing different images in different ways, if there isn't a consistent way of creating an image suitable for vcloud director. Is there something we should be doing, we don't want to be editing the vmx directly, however, that's basically what it is going to boil down to. 


 


Any help gladly welcome. 

ovftool --version



VMware ovftool 4.0.0 (build-2060496)


difference between ovf version 0.9 and 1.0?

$
0
0

 

What is the difference between OVF 1.0 and 0.9 version? I would be interested in knowing about the major enchancements made in the newer versions and thereby the advantages of the same.

 

 

 

 

 

Thanks in advance

 

 

Problems migrating VM from Server 2 to ESXi

$
0
0

Hello,

 

 

I am trying to migrate a VM from a my VMWare Server 2 to my ESXi 3.5 Server. I probably should say, that I have just the VMware infrastructure client running in a VMware Server 2 VM running XPPro.

 

 

OK, I can create a .ovf-file from the source, but I have problems inserting it into the destination.

 

 

I tried it using the VI-Client, but has problem with the envelope, because it can read only version 0.9 files.

 

 

So I have to import it using the vi:// option of ovftool. And that is where I have my problems.

 

 

I tried the following:

 

 

ovftool &lt;ovf-File&gt; vi://user:pass@esxi-host          -&gt;  Error: Datacenter object not found

 

 

ovftool &lt;ovf-File&gt; vi://user:pass@esxi-host/ha-datacenter                                   -&gt; Error: Locator does not refer to an object: vi://root@esxi-host/ha-datacenter (I found that ha-datacenter when I created a VM.)

 

BTW, the ovftool is running on Linux, I am using the XP just because of the non-existant Linux VI-Client.

 

I also tried connecting to the VI-Client machine, but the connection gets refused, probably because I don't know, what ports are used, if this is the ciorrect way to go.

 

 

Can somebody please tell me, what I am doing wrong. What parameters do I have to pass to ovftool, so it imports the VM to ESXi? Does the VM has to exist in the ESXi-Server before doing the import?

 

 

 

 

 

Thanks in advance

 

 

Dieter

Export ESXi VM using ovftool in Linux

$
0
0

Hello,

 

I am trying to use the ovftool in Linux to export a VM running on ESXi 4.0 to an OVF package with the following syntax:

 

$ovftool "vi://root@192.168.X.XXX?ds=[datastore1]test-vm/test-vm.vmx" /home/ovfs/test1.ovf

 

But I always get the error: Datacenter object not found

 

The path to the vmx file is:

test-vm/test-vm.vmx

 

If I have a standalone ESXi (no vCenter present) what Datacenter name should I use?, I have tried with "Datacenter", "Default" but nothing seems to work.

 

Any help is highly appreciated.

 

Thanks.

 

 

Juan Aristizabal.

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?


Not able to deploy a VM from .ova format using ovf tool

$
0
0

I am trying to deploy a VM into ESXi 4.1  from .ova template using

ovftool.  My ESXi is having two datastores:- datastore1 and datastore-2.

 

This is the syntax I am using:-

 

ovftool.exe --name=test -nw="VM Network" -ds="datastore1" CentOS.ova vi://10.102.143.30

 

It is shows the following messages:-

 

Opening OVA source: CentOS.ova

Please enter login information for target vi://10.102.143.30/

 

After entering the login information nothing happens. It returned me the prompt. It also doesn't print any error message.

 

Below is my ova file information obtained by probing:-

 

 

Opening OVA source: CentOS.ova

 

OVF version:   1.0

Name:          CentOS

 

Download Size:     1.72 GB

 

Deployment Sizes:

+  Flat disks:     30.00 GB+

+  Sparse disks:    4.69 GB+

 

Networks:

+  Name:        VM Network+

+  Description: The VM Network network+

 

Virtual Hardware:

+  Family:       vmx-07+

+  Disk Types:   SCSI-lsilogic+

 

Warning: No manifest file

Completed successfully

Scripting ovftool

$
0
0

I need to write a script to remotely shotdown a guest VM, export it to .ova format an restart it.

Is there any sample I can start from?

Regards

marius

Ovftool fails in converting an ova file into vmx

$
0
0

OVFTool fails with manifest issue of ova format, enclosed the command used and the output

 

ovftool C:\DevVM\Appliance\TestDev.ova C:\DevVM\TestDev\TestDev.vmx

 

Opening OVA source: C:\DevVM\Appliance\TestDev.ova

Opening VMX target: C:\DevVM\TestDev\TestDev.vmx

Writing VMX file: C:\DevVM\TestDev\TstDev.vmx

Disk Transfer Failed

Error: SHA1 digest of file TestDev-disk1.vmdk does not match manifest

 

I am using VMware ovftool 2.0.1 (build-260188). Any help and/or pointers appreciated. Thanks.

Issue with --acceptAllEulas

$
0
0

Hi all,

 

I have a problem in deploying Suse OVF image, built using Susestudio.

while deploying the OVF, there's a default SuSE Eula which comes up.

using --acceptAllEulas doesn't seem to accept it automatically.

This Eula blocks my automation work.

 

Did any of you face this issue ??

Any help/workaround would be appreciated.

 

Thanks in advance.

OVFTool cannot set property successfully

$
0
0

I want to set some properties to ovf files.

 

I use ovftool as bellow:

 

ovftool --prop:ip=10.32.23.123 --prop:dns=255.255.254.0

 

when this command has been executed without error showing, I still cannot see the property of ovf files.

 

Then I used ovftool myovffile.ovf

 

I still can not see the property I want to set.

what should I do?

Viewing all 34499 articles
Browse latest View live


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