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

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?

 

 

 

 

 

 

 

 


Locator does not refer to an object:

$
0
0

 

Hi,

 

 

trying to convert a "SUSEstudio" generated vmdk/vmx to our VI.

 

 

I have:

SLE_11.1JeOSPHR.x86_64-0.0.3.vmdk

SLE_11.1JeOSPHR.x86_64-0.0.3.vmx

christian@chrisw:/srv/ISO/JeOS/SLE_11.1JeOSPHR-0.0.3> ovftool SLE_11.1JeOSPHR.x86_64-0.0.3.vmx

Opening VMX source: SLE_11.1JeOSPHR.x86_64-0.0.3.vmx

OVF version:   1.0

Name:          SLE_11.1JeOSPHR.x86_64-0.0.3

 

Download Size:     Unknown

 

Deployment Sizes:

  Flat disks:      4.04 GB

  Sparse disks:   Unknown

Networks:

  Name:        bridged

  Description: The bridged network

 

Virtual Hardware:

  Family:       vmx-04

  Disk Types:   SCSI-lsilogic

 

Completed successfully

 

 

#####

 

 

When I try to convert it to vi (to correct datastore) I'm getting the mentioned error:

so what is the correct syntax ??

 

 

christian@chrisw:~/srv/ISO/JeOS/SLE_11.1JeOSPHR-0.0.3> ovftool -ds=CX300-OTC-02 -dm=thick SLE_11.1JeOSPHR.x86_64-0.0.3.vmx vi://i000156@vc.icw.int/DC%20OTC

Opening VMX source: SLE_11.1JeOSPHR.x86_64-0.0.3.vmx

Please enter login information for target vi://vc.icw.int/

Username: i000156

Password: ********

Error: Locator does not refer to an object: vi://i000156@vc.icw.int/DC%20OTC

 

 

DataCenter="DC OTC"

DataSource="CX300-OTC-2"

 

 

THX

Chris

 

 

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)
-->

Not able to change ovf properties set in the ovf file

$
0
0

Hi  Experts,

I am using --prop:<propertyname>=propertyvalue.

I don't get any error, but when the vm is powered on  I don't  see the value set by me.

 

DO I need  vmtools support for  this to work?

 

Thanks.

 

J

Error: Failed to open disk: Test.vmdk

$
0
0

Hello all,

 

I am having a problem with the ovftool.

 

Here's what i did.

 

1)I created a VM running CentOS.

 

2)These are the 3 files that i got.

 

Test.vmx

 

Test.vmdk (Descriptor File)

 

# Disk DescriptorFile

version=1

CID=5046e880

parentCID=ffffffff

createType="vmfsPreallocated"


# Extent description

RW 83886080 VMFS "Test-flat.vmdk" 0


# The Disk Data Base

#DDB


ddb.virtualHWVersion = "4"

ddb.geometry.cylinders = "83220"

ddb.geometry.heads = "16"

ddb.geometry.sectors = "63"

ddb.adapterType = "lsilogic"

 

Test-flat.vmdk

 

3) This is the command that i ran

 

ovftool "Test.vmx" "Test_New.ova"

 

4)This is the error that i got.
2012-09-05T12:24:57.817+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Done initializing libs
2012-09-05T12:24:57.817+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Determining source
2012-09-05T12:24:57.818+05:30 [7F22134FE740 verbose 'Default'] [ovfTool.cpp] Determining target
Opening VMX source: Test.vmx
2012-09-05T12:24:57.821+05:30 [7F22134FE740 verbose 'Default'] Failed to open disk: ./Test-1-0.vmdk
2012-09-05T12:24:57.821+05:30 [7F22134FE740 verbose 'Default'] Exception: Failed to open disk: ./Test-1-0.vmdk. Reason: The file specified is not a virtual disk
Error: Failed to open disk: Test-1-0.vmdk

Please help!

 

Thank you

Properties lost when deployed a VM and exported it to OVF

$
0
0

Hi,

 

I have built a VM, using VMware Studio in OVA format. I defined some custom OVF environment properties in it.

After I built the VM, I opened the .OVF file to see the property values are appeared correctly. They look like the below

 

<ProductSection ovf:required="false">
      <Info>VM ISV branding information</Info>
      <Product>xxxxxxxxx</Product>
      <Vendor> xxxxxxxxx , Inc.</Vendor>
      <Version>x.x.x.x</Version>
      <FullVersion>x.x.x.x alpha</FullVersion>

</ProductSection>

 

I deployed this OVF to a ESXi 4.0 server. Later exported the same VM to OVF format using OVFTool, using the command line

 

ovftool.exe vi://root:xxxxxxxxxxx@IP/vmname  "d:\Virtual Machines\imported-OVF\newVM.ovf"

 

After the export, I opened the newVM.OVF file and found that the properties (like product, vendor, version etc.) are not retained.

 

What could be the issue. Please suggest.

 

--Hemanth

how to assign a ip address and mask from cli for the vm which is created in remote server

$
0
0



Hi all,


I have installed ovf tool in my ubuntu server and and used the ovftool command line interface to create vm on the remote server. Now i need to assign an IP address to that VM from the cli. Can someone please let me know how can i do that.?  As we know, we have --nic option in which we can pass IP address i believe. But can someone let me know how to use that command. It will be great help if you could provide me some examples along with this.


Thanks,


Naga./

Error Deploying OVF to Host

$
0
0


Hi everyone,


When I tried to launch the deploy command without indicating the host domain (scivsd05), the following error was launched: 


ovftool "X:logToConsole" "datastore=myds" "network=mynet" "machineOutput" --name="test13" test.ova "vi://user:pass@vcenter.domain.lan/&lt;mydc&gt;/host/&lt;mycluster&gt;/scivsd05"

...



2014-12-02T16:11:24.881+01:00 verbose Curl_perform error code 6 (Couldn't resolve host name)

2014-12-02T16:11:24.882+01:00 verbose CURL error buffer: Could not resolve host: scivsd05 (Domain name not found)

2014-12-02T16:11:24.882+01:00 verbose Connection error during upload

2014-12-02T16:11:24.882+01:00 verbose Connection error, sleep then retry (10 remaining)

...




If I indicate the host domain, then an "Locator does not refer to an object" error is launched:


ovftool "X:logToConsole" "datastore=myds" "network=mynet" "machineOutput" --name="test13" test.ova "vi://user:pass@vcenter.domain.lan/&lt;mydc&gt;/host/&lt;mycluster&gt;/scivsd05.domain.lan"

...



ERROR



+ <Errors>



+ <Error>



+ <Type>ovftool.locator.object</Type>



+ <LocalizedMsg>



+ Locator does not refer to an object: vi://userr@vcenter.domain.lan:443/<mydc>/host/<mycluster>/scivsd05.domain.lan



+ </LocalizedMsg>



+ <Arg>



+ vi://userr@vcenter.domain.lan:443/<mydc>/host/<mycluster>//scivsd05.domain.lan



+ </Arg>



+ </Error>



+ </Errors>



...




The name resolution for the ESXi host "scivsd05.domain.lan" is correct from both machines, the vCenter machine and the machine where OVFTool is installed.


Any idea? Thanks in advance!


 

When I tried to launch the deploy command without indicating the host domain (scivsd05), the following error was launched: 



 



ovftool "X:logToConsole" "datastore=myds" "network=mynet" "machineOutput" --name="test13" test.ova "vi://user:pass@vcenter.domain.lan/&lt;mydc&gt;/host/&lt;mycluster&gt;/scivsd05"

 



...



2014-12-02T16:11:24.881+01:00 verbose Curl_perform error code 6 (Couldn't resolve host name)

2014-12-02T16:11:24.882+01:00 verbose CURL error buffer: Could not resolve host: scivsd05 (Domain name not found)

2014-12-02T16:11:24.882+01:00 verbose Connection error during upload

2014-12-02T16:11:24.882+01:00 verbose Connection error, sleep then retry (10 remaining)

...



 



If I indicate the host domain, then an "Locator does not refer to an object" error is launched:



 



ovftool "X:logToConsole" "datastore=myds" "network=mynet" "machineOutput" --name="test13" test.ova "vi://user:pass@vcenter.domain.lan/&lt;mydc&gt;/host/&lt;mycluster&gt;/scivsd05.domain.lan"

 



...



ERROR



+ <Errors>



+ <Error>



+ <Type>ovftool.locator.object</Type>



+ <LocalizedMsg>



+ Locator does not refer to an object: vi://userr@vcenter.domain.lan:443/<mydc>/host/<mycluster>/scivsd05.domain.lan



+ </LocalizedMsg>



+ <Arg>



+ vi://userr@vcenter.domain.lan:443/<mydc>/host/<mycluster>//scivsd05.domain.lan



+ </Arg>



+ </Error>



+ </Errors>



...



 



The name resolution for the ESXi host "scivsd05.domain.lan" is correct from both machines, the vCenter machine and the machine where OVFTool is installed.



 



Any idea? Thanks in advance!



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

ovftool "locator does not refer to an object"

$
0
0

I am trying to create an OVF from a vm in vsphere - I'm running ovftool on a linux machine, and using the following syntax (I got this from the ovftool users guide):

ovftool username@myvcenter.aaa.com/"datacenter name"/vm/vmname /local/path/tostoreit/vnname.ovf

It prompts for a password, I enter the password, and it comes back with:

Opening VI source: vi://username@myvcenter.aaa.com/datacenter name/vmname
Error: Locator does not refer to an object:vi://username@myvcenter.aaa.com/datacenter name/vmname

 

Incidentally, I get the exact same error when I try using the mac version of ovftool, and the windows version.

Please help - I know this should work. I have no idea what I'm doing wrong, but I have to get this working pretty fast.

Thank you!!

Attempting to Sign an OVF Package

$
0
0

Right now I'm trying to sign an OVF Package and I receive these sets of errors when I do:

 

C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --privateKey= "C:\Documents
and Settings\jhamilto\My Documents\Downloads\bin\myself.pem" C:\tmp\test2.ovf
Opening OVF source: C:\Documents and Settings\jhamilto\My Documents\Downloads\bi
n\myself.pem
Warning: No manifest file
Error:
- Line 1: Could not parse the document: 'syntax error'.
Completed with errors

 

C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --privateKey= "C:\Documents
and Settings\jhamilto\My Documents\Downloads\bin\myself.pem" \C:\tmp\test2.ovf \
C:\tmp\SignedTest.ovf
Error: Unexpected option: \C:\tmp\SignedTest.ovf
Completed with errors

 

C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --privateKey="C:\Documents a
nd Settings\jhamilto\My Documents\Downloads\bin\myself.pem" \C:\tmp\test2.ovf \C
:\tmp\SignedTest.ovf
Error: Failed to open file:
Completed with errors

 

Do I have a syntax error or is there something else that I am missing?

Getting Password string in ovf property

$
0
0

Hello,

I been working on the setting properties in the ovf template and this is working fine so far.

Basically, I add property in the product section under property tag and read its value during deployment time using

/usr/sbin/vmtoolsd --cmd 'info-get guestinfo.ovfEnv'

 

<ProductSection ovf:class="com.palm.product" ovf:instance="1">

     <Info>info section</Info>
     <Product>LimeLite</Product>
     <Vendor>Palm</Vendor>

     <Property ovf:key="UserName" ovf:type="string" ovf:userConfigurable="true" ovf:value="Admin" ovf:qualifiers="MinLen(0),MaxLen(65535)">
          <Label>UserName</Label>
          <Description>Creates an user account with the Name provided</Description>
     </Property>

</ProductSection>

 

Now, I need get password for the user account which we create during deployment. I looked into property data types and I couldn't figure out

the password type that masks the password entered in the dailog during deployment time.

 

Is password functionality avaialbe in the ovf template already ? If yes, please point me to the location from where I can make use of this.

 

The property type which are avaialbe in the settings is:

String, StringChoice, Integer, Real, Boolean, External IP Address, vApp IP Address.

 

I coudn't find password type in here.

Not able to ipaddress/gateway/netmask field configuration for deployed ovf in VM using ovftool

$
0
0

Hi,

 

I want to config IP-address/gateway/netmask to the deployed ovf virtual machine and i getting the following info when i run ovftool.exe

Can anyone help me out in configure ipaddress fields.

Or is there any other way to do it.

 

 

C:\Program Files\VMware\VMware OVF Tool>ovftool.exe --powerOn --diskMode=thin --
ipProtocol=IPv4 --acceptAllEulas --name=pravin --network="VM Network" --prop:IpA
ddress="10.110.208.16" --prop:SubnetMask="255.255.252.0" --prop:Dns="10.110.188.
5" --prop:DefaultGateway="10.110.208.1" --datastore="datastore1" "C:\Sharing\v35
9\ovf_filename.ovf" " vi://root:password@10.110.209.214"
Opening OVF source: //:@WIN-1VPBHEDRE5M:80\Sharing\v359\ovf_filename.ovf
Opening VI target: vi://root@10.110.209.214:443/
Deploying to VI: vi://root@10.110.209.214:443/
Transfer Completed
Powering on VM: pravin
Warning:
- No manifest file found.
- OVF property with key: 'DefaultGateway' does not exists.
- OVF property with key: 'Dns' does not exists.
- OVF property with key: 'IpAddress' does not exists.
- OVF property with key: 'SubnetMask' does not exists.
- No manifest entry found for: 'system.vmdk'.
Completed successfully

OVFtool bug when specifying datastore

$
0
0

It appears that ovftool 3.0.1 has an issue while specifying the target datastore when importing an OVF when the VI is a vCenter 5.0 server with ESX 5.0 Update 1 hosts that have a large number of Datastores.  The cluster where this problem occurs has 148 Datastores.

 

Some datastores work, most don't.  This is a new problem since ovftool 2.0.1 worked fine when this cluster was at ESX 4.0 Update 3.

 

An example statement that will cause the problem (with all names replaced with "test" names):

 

"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --acceptAllEulas --name="TestVM" --datastore="TestDatastore" --network=TestNetwork --vmFolder="TestFolder" http://192.168.0.1/public/ovfs/testvm.ovf vi://"username:password"@vcenter.test.com/"Data Center"/host/"HA and DRS"/Resources/"Test Resource Pool"

 

Which results in this error (with the datastore names replaced with TestDatastoreX), even though the Datastore clearly exists.  It worked fine prior to vSphere 5.0 and vCenter 5.0.  Any ideas?

 

Note that all "possible completions" specified below work fine!  Those that I have tried that are "not" in the possible completions do "not" work.

 

Error: Invalid target datastore specified (TestDatastore): Possible completions:
  TestDatastore1
  TestDatastore2
  TestDatastore3
  TestDatastore4
  TestDatastore5
  TestDatastore6
  TestDatastore7
  TestDatastore8
  TestDatastore9
  TestDatastore10
  TestDatastore11
  TestDatastore12
  TestDatastore13
  TestDatastore14
  TestDatastore15
  TestDatastore16
  TestDatastore17
  TestDatastore18
  TestDatastore19
  TestDatastore20
  TestDatastore21
  TestDatastore22
  TestDatastore23
  TestDatastore24
  TestDatastore25
  TestDatastore26
  TestDatastore27
  TestDatastore28
  TestDatastore29
  TestDatastore30
  TestDatastore31
  TestDatastore32
  TestDatastore33
  TestDatastore34
  TestDatastore35
Completed with errors

OVF Tool HELP!!!!!!

$
0
0

 

i installed the OVF tool yesterday, i followed every step in the "OVF Tool User Guide" and when i open the comman prompt and typed "ovftool" its work  but when i retype again i get an error saying "no source of target "specified".  Also, i dont really understand how to use it, what exactly does typing "ovftool &lt;source locator&gt; &lt;destination locator&gt;" do?  what exactly do u type in the brackets?  And can some please post an easy guide on how to make an OVF file.  THANK YOU

 

 


Deploy an OVF template

$
0
0

 

I am using the OVFTOOL as follows:

 

 

 

 

 

ovftool myvm.ovf vi://DataCenter/192.168.XX.XX?ds=store

 

 

Result:

 

 

Opening OVF Source : myvm.ovf

 

 

Error: Succes

 

 

 

 

 

What does this mean?? =(

 

 

ovftool import VM slow

$
0
0

Hi,

 

Am I the only one that gets about 10Mbps (Megabits/second), or about 1MB/sec (megabyte/sec) throughput when using the ovftool to import a VM on a 1Gbps LAN?  I would assume there is some type of throttle on the service console network interface, even though I haven't found any evidence from the forums that indicates this is true.  It's just a little strange that we're getting "exactly" 10Mbps.  This happens on multiple vCenter servers and ESX clusters so I'm assuming it's a throttle.  From the one machine I run the ovftool from, I can import to 2 different clusters and get 20Mbps (10Mbps on each).

 

This is on vCenter 4.0 Update 2 and ESX 4.0 Update 2 (not ESXi) as well as 4.1 versions of these.

 

Any ideas?

 

Thanks!

 

Eric

run ovftool error , anyone helps?

$
0
0

i am using ovftool (verisn 2.01), and i have got some error  as below, anyone ever met these? SOS

 

(1)

command:"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --X:logToConsole "e:\shared\Windowns2003EServerSp2\Win2003.vmx" "e:\shared\1\Win2003_0.vof"
error information:

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 2 (SIGINT)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 4 (SIGILL)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 22 (SIGABRT)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 8 (SIGFPE)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] Subscribing to signal: 15 (SIGTERM)

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] [ovfTool.cpp] Using home directory C:\Documents and Settings\tom\Application Data\VMware\ovftool.cfg

 

[2011-03-08 14:51:19.640 03480 verbose 'ovftool'] [ovfTool.cpp] OvfTool Environment:

/X:fencedMode = "bridged"

/X:imageReadSize = "262144"

/X:logToConsole = "true"

/X:maxNumberOfTermSignals = "5"

/X:maxRedirects = "256"

/X:maximalDeltaConfSize = "8"

/X:maximalDeltaTreeSize = "6"

/X:progressSmoothing = "60"

/X:vimSessionTimeout = "600"

/authdPortSource = "902"

/authdPortTarget = "902"

/prgPath = "C:\Program Files\VMware\VMware OVF Tool"

/source = "e:\shared\Windowns2003EServerSp2\Win2003.vmx"

/target = "e:\shared\1\Win2003_0.vof"

 

 

[2011-03-08 14:51:19.656 03480 verbose 'ovftool'] [ovfTool.cpp] Done initializing libs

 

[2011-03-08 14:51:19.656 03480 verbose 'ovftool'] [ovfTool.cpp] Determining source

 

[2011-03-08 14:51:19.671 03480 verbose 'ovftool'] [ovfTool.cpp] Determining target

 

Opening VMX source: e:\shared\Windowns2003EServerSp2\Win2003.vmx

[2011-03-08 14:51:19.750 03480 error 'ovftool'] CoreDump: ExternalCoreMaster was not setup

 

[2011-03-08 14:51:19.750 03480 error 'ovftool'] CoreDump: ExternalCoreMaster was not setup

 

[2011-03-08 14:51:19.765 03480 info 'ovftool'] CoreDump: Writing minidump

 

[2011-03-08 14:51:19.843 03480 panic 'ovftool']

 

Panic: Win32 exception: Access Violation (0xc0000005)

   Read (0) at address 00000000

   rip: 7855b9f0 rsp: 0012fb14 rbp: 0012fb20

   rax: 00000000 rbx: 0012fc78 rcx: 00000000

   rdx: 00000004 rdi: 029a3d38 rsi: 0012fc78

 

Backtrace:

backtrace[00] rip 01b9936d (no symbol)

backtrace[01] rip 01b06fa4 (no symbol)

backtrace[02] rip 01b07517 (no symbol)

backtrace[03] rip 01bb2d49 (no symbol)

backtrace[04] rip 01bb2e6d (no symbol)

backtrace[05] rip 01ba72f4 (no symbol)

backtrace[06] rip 7857dca0 (no symbol)

backtrace[07] rip 7857d4eb (no symbol)

backtrace[08] rip 7857d8b6 (no symbol)

backtrace[09] rip 7857d9d3 (no symbol)

backtrace[10] rip 7857db8a (no symbol)

backtrace[11] rip 7c9232a8 (no symbol)

backtrace[12] rip 7c92327a (no symbol)

backtrace[13] rip 7c92e48a (no symbol)

backtrace[14] rip 78487155 (no symbol)

backtrace[15] rip 0044661f (no symbol)

backtrace[16] rip 0044aedf (no symbol)

backtrace[17] rip 0040cfba (no symbol)

backtrace[18] rip 0058799b (no symbol)

backtrace[19] rip 7c817077 (no symbol)

 

 

Section for VMware Workstation, pid=3292, version=e.x.p, build=build-260188, option=Release

 

[2011-03-08 14:51:19.843 03480 panic 'ovftool'] Win32 exception: Access Violation (0xc0000005)

 

   Read (0) at address 00000000

 

   rip: 7855b9f0 rsp: 0012fb14 rbp: 0012fb20

 

   rax: 00000000 rbx: 0012fc78 rcx: 00000000

 

   rdx: 00000004 rdi: 029a3d38 rsi: 0012fc78

 

(2)

command:"C:\Program Files\VMware\VMware OVF Tool\ovftool.exe" --X:logToConsole "e:\shared\Windows2003EESp2\Clone of Windows Server 2003 Enterprise Edition.vmx" "e:\shared\1\Clone of Windows Server 2003 Enterprise Edition_0.vof"
error information:

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 2 (SIGINT)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 4 (SIGILL)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 22 (SIGABRT)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 8 (SIGFPE)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] Subscribing to signal: 15 (SIGTERM)

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] [ovfTool.cpp] Using home directory C:\Documents and Settings\tom\Application Data\VMware\ovftool.cfg

 

[2011-03-08 14:51:21.281 01468 verbose 'ovftool'] [ovfTool.cpp] OvfTool Environment:
/X:fencedMode = "bridged"
/X:imageReadSize = "262144"
/X:logToConsole = "true"
/X:maxNumberOfTermSignals = "5"
/X:maxRedirects = "256"
/X:maximalDeltaConfSize = "8"
/X:maximalDeltaTreeSize = "6"
/X:progressSmoothing = "60"
/X:vimSessionTimeout = "600"
/authdPortSource = "902"
/authdPortTarget = "902"
/prgPath = "C:\Program Files\VMware\VMware OVF Tool"
/source = "e:\shared\Windows2003EESp2\Clone of Windows Server 2003 Enterprise Edition.vmx"
/target = "e:\shared\1\Clone of Windows Server 2003 Enterprise Edition_0.vof"

 


[2011-03-08 14:51:21.296 01468 verbose 'ovftool'] [ovfTool.cpp] Done initializing libs

 

[2011-03-08 14:51:21.296 01468 verbose 'ovftool'] [ovfTool.cpp] Determining source

 

[2011-03-08 14:51:21.296 01468 verbose 'ovftool'] [ovfTool.cpp] Determining target

 

Opening VMX source: e:\shared\Windows2003EESp2\Clone of Windows Server 2003 Enterprise Edition.vmx
[2011-03-08 14:51:21.359 01468 verbose 'ovftool'] OVF Descriptor: <?xml version="1.0" encoding="UTF-8"?>
<!--Generated by VMware ovftool 2.0.1 (build-260188), UTC time: 2011-03-08T06:51:21.359375Z-->
<Envelope vmw:buildId="build-260188" 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="e%3a%5cshared%5cWindows2003EESp2%5cWindows%20Server%202003%20Enterprise%20Edition-cl1-000005.vmdk" ovf:id="file1"/>
  </References>
  <DiskSection>
    <Info>Virtual disk information</Info>
    <Disk ovf:capacity="8" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized"/>
  </DiskSection>
  <NetworkSection>
    <Info>The list of logical networks</Info>
    <Network ovf:name="bridged">
      <Description>The bridged network</Description>
    </Network>
  </NetworkSection>
  <VirtualSystem ovf:id="vm">
    <Info>A virtual machine</Info>
    <Name>Win 2003SP2 Vulnerrability</Name>
    <OperatingSystemSection ovf:id="69" vmw:osType="winNetEnterpriseGuest">
      <Info>The kind of installed guest operating system</Info>
    </OperatingSystemSection>
    <VirtualHardwareSection>
      <Info>Virtual hardware requirements</Info>
      <System>
        <vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
        <vssd:InstanceID>0</vssd:InstanceID>
        <vssd:VirtualSystemIdentifier>Win 2003SP2 Vulnerrability</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>1 virtual CPU(s)</rasd:ElementName>
        <rasd:InstanceID>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>
        <rasd:ElementName>384MB of memory</rasd:ElementName>
        <rasd:InstanceID>2</rasd:InstanceID>
        <rasd:ResourceType>4</rasd:ResourceType>
        <rasd:VirtualQuantity>384</rasd:VirtualQuantity>
      </Item>
      <Item ovf:required="false">
        <rasd:Address>0</rasd:Address>
        <rasd:Description>USB Controller</rasd:Description>
        <rasd:ElementName>usb</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>scsiController0</rasd:ElementName>
        <rasd:InstanceID>4</rasd:InstanceID>
        <rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
        <rasd:ResourceType>6</rasd:ResourceType>
      </Item>
      <Item>
        <rasd:Address>1</rasd:Address>
        <rasd:Description>IDE Controller</rasd:Description>
        <rasd:ElementName>ideController1</rasd:ElementName>
        <rasd:InstanceID>5</rasd:InstanceID>
        <rasd:ResourceType>5</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>floppy0</rasd:ElementName>
        <rasd:InstanceID>6</rasd:InstanceID>
        <rasd:ResourceType>14</rasd:ResourceType>
      </Item>
      <Item ovf:required="false">
        <rasd:AddressOnParent>0</rasd:AddressOnParent>
        <rasd:AutomaticAllocation>false</rasd:AutomaticAllocation>
        <rasd:ElementName>cdrom1</rasd:ElementName>
        <rasd:InstanceID>7</rasd:InstanceID>
        <rasd:Parent>5</rasd:Parent>
        <rasd:ResourceType>15</rasd:ResourceType>
      </Item>
      <Item>
        <rasd:AddressOnParent>0</rasd:AddressOnParent>
        <rasd:ElementName>disk1</rasd:ElementName>
        <rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
        <rasd:InstanceID>8</rasd:InstanceID>
        <rasd:Parent>4</rasd:Parent>
        <rasd:ResourceType>17</rasd:ResourceType>
      </Item>
      <Item>
        <rasd:AddressOnParent>2</rasd:AddressOnParent>
        <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>
        <rasd:Connection>bridged</rasd:Connection>
        <rasd:Description>E1000 ethernet adapter on &quot;bridged&quot;</rasd:Description>
        <rasd:ElementName>ethernet0</rasd:ElementName>
        <rasd:InstanceID>9</rasd:InstanceID>
        <rasd:ResourceSubType>E1000</rasd:ResourceSubType>
        <rasd:ResourceType>10</rasd:ResourceType>
      </Item>
    </VirtualHardwareSection>
    <AnnotationSection ovf:required="false">
      <Info>A human-readable annotation</Info>
      <Annotation>445端口漏洞服务,未做任何服务安装和修改。

 

Windows2003 企业版 sp2</Annotation>
    </AnnotationSection>
  </VirtualSystem>
</Envelope>

 

Opening OVF target: e:\shared\1\Clone of Windows Server 2003 Enterprise Edition_0.vof
Error:

 

- Line 106: Could not parse the document: 'not well-formed (invalid token)'.

OVA to VMX using OVFTool in Mac OSx Terminal Problem

$
0
0

Hello,

 

I am new to OVFTool  and am having difficulty using it in Terminal on my MacBook Pro to convert an OVA (created by exporting my WinXp virtual machine from within VirtualBox), to a VMX file for use in VMWare Fusion on my MacBook Pro.

 

I have installed the OVFTool on my boot drive (partition) which is named "LFP OS", in the folder:  /Library/VMWare/OVFTool/.

 

I have the OVA file on my data drive (partition) which is named "LFP Data" in the folder: /Virtual Machines/WinXP.ova.

 

I want to create a virtual machine file (VMX) in the same location as the soure that I can then import into VMWare Fusion.  I have gone through the OVFTool User Guide, forums, Google etc. and cannot get it to work properly.  It may be as simple as my Terminal syntax being off.  Anyway, please help.

 

Here is what I used in Terminal:

 

LFP-MacBook-Pro:virtual machines nils$
LFP-MacBook-Pro:virtual machines nils$ pwd
/volumes/lfp data/virtual machines
LFP-MacBook-Pro:virtual machines nils$ ./Volumes/LFP\ OS/Library/VMWare/OVFTool/ovftool /Volumes/LFP\ Data/Virtual\ Machines/WinXP.ova /Volumes/LFP\ Data/Virtual\ Machines/WinXP.vmx
-bash: ./Volumes/LFP OS/Library/VMWare/OVFTool/ovftool: No such file or directory
LFP-MacBook-Pro:virtual machines nils$

 

Thanks for your time!

 

Regards,

SBNL

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,

Viewing all 34499 articles
Browse latest View live


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