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

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.

 

 


Unsupported hardware

$
0
0

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

Task was canceled by user - ovf package and vShpere

$
0
0

I'm having some trouble getting the vSphere Client to import my OVF's. When using the vSphere Client, I successfully walk through the wizard to "Deploy OVF Template" then get the following error:

 

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

 

 

Sometimes the error is a timeout error but this is very infrequent (I failed to capture the output).

 

 

In the Event log I see this error roughly 2 minutes after the import:

 

 

Deploy OVF template

MyVA

The task was

canceled by

a user.

ESXUSR

virtcent-dev.my.com

10/20/2009 12:13:09 PM

10/20/2009 12:13:09 PM

10/20/2009 12:15:37 PM

 

 

 

I can convert my OVF back to VMX format.

 

 

 

VMware ovftool 1.0.0 (build-166674). The command I'm executing is simply: ovftool "xxxx.vmx" "yyy.ovf"

 

 

 

It looks like a possible timeout issue on the cliet side, but I've reset the timeout (Edit->Client Settings->Client-Server command timeout = 600).  This didn't seem to have any impact on the problem.

 

 

Thanks for any help.

How to specify which datastore to use with OVFtool

$
0
0

 

This is driving me crazy! How do you specify which datastore to use when there are multiple?

 

 

I ran exactly the same command on a box that had one datastore and it worked fine (as expected). It created the VM folder in the root of the DS and then pulled across the VM from the OVF. However with multiple it just says no target datstore specified. I've tried a million combinations of ?-ds= with square brackets, without. Sometimes it says not found in inventory. I guess it's looking for a folder. But surely this can't be that hard?

 

 

C:\Program Files\VMware\VMware OVF Tool>ovftool P:\Downloads\PanoManagerVM-2.8.0

-ovf\panomanager.ovf "vi://root@192.168.1.5

Opening OVF source: P:\Downloads\PanoManagerVM-2.8.0-ovf\panomanager.ovf

Warning: No manifest file

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

Username: root

Password: *********

Opening VI target: vi://root@192.168.1.5/

Error: No target datastore specified

Datastores found on target:

  SAN Storage

  storage1

 

 

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

Anybody got the latest Oracle (Sun) Open Storage simulator imported to ESX4?

$
0
0

I've been trying to import the ovf-based Oracle storage simulator to ESX4. Also tried importing to Workstation when that failed.

 

No luck. Not with integrated converter, not with standalone converter, not with ovftool. Changing/removing lines in .ovf file brings me a bit further but still no cigar.

 

The process stalls at different points, but typically I get an error about unknown OS or unsupported hardware, sometimes a parse error with no additional info.

 

Has anybody got this working?

 

The simulator is a virtual-box based Solaris appliance.

 

Ole Thomsen

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,

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.

Using ovftool to deploy an OVF with references to external files does not seem to work...

$
0
0

Hi,

 

I have an OVF file that refeneces a disk image from a webserver, e.g.:

 

<File ovf:href="http://myserver/cdrom.iso" ovf:id="file1"/>

 

When i try to deploy this OVF to a vSphere server, it fails at the disk transfer stage... it looks to me like ovftool is treating it like a local file:

 

$ ovftool my.ovf vi://root:@172.26.0.172

Opening OVF source: my.ovf

Warning: No manifest file

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

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

Disk Transfer Failed

Error: Failed to open file: cdrom.iso

 

Here is the output with logging enabled:

 

Deploying to VI: vi://root@172.26.0.172:443/
2012-08-01T15:51:52.762+10:00 [7F584C55C740 verbose 'Default'] Using capacity as progress measure
2012-08-01T15:51:52.762+10:00 [7F584C55C740 verbose 'Default'] Failed to open file: myserver/cdrom.iso
2012-08-01T15:51:52.762+10:00 [7F584C55C740 verbose 'Default'] Exception: Failed to read from file: http://myserver/cdrom.iso
Disk Transfer Failed
Error: Failed to open file: myserver/cdrom.iso

 

When an OVF is deployed from a local file, does it mean the references also need to be local? I had a quick read of the OVF spec and it seems like file reference can be anywhere... local, relative, http or https... any ideas?

 

Thanks,
John

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

Best way to export a VM as an OVF/OVA ?

$
0
0

Hi All,

 

Everytime I manually export a VM using vsphere client, I am getting the resultant ovf of much larger size. ( i.e. size of .vmdk's are much larger, increases by 10% everytime )
I looked at various temporary files and log files and deleted them before taking the ovf, but it also doesnt reduces the size significantly.
My vm doesnt do any huge IO on the disks.

 

Is there a best practice for exporting an ovf .? ( Ex. SLES based vms. )


Thanks

Nikunj

Error in uploading to vCloud using ovftool

$
0
0

Hi,

 

     I try to upload a physical server image to vcloud but it keep returning this error "Invalid response from Server"

 

 

>ovftool -o --net:"bridged=myNetwork" --ipAllocationPolicy=transientPolicy winphysical.ovf "vcloud://username:password@s1.myvcloud.net/?org=MyOrg&vapp=myTest&vdc=MyVDC&catalog=MyCatalog"
Opening OVF source: winphysical.ovf
The manifest validates
Opening vCloud target: vcloud://username@s1.myvcloud.net:443/
Error: Invalid response from server
Completed with errors

 

The ovftool version is 3.01 and the vcloud is 1.5.

I have also attahed the ovf file.

 

 

Thank you.
Regards,

ET Goh


Could not look up host [username]. Proper password, but will not convert

$
0
0

Hey all. I know I am using proper syntax, but it seems like there's a missing service running on my esx cluster. I am able to log in with vSphere, but cannot use ovftool to export a stopped server in my ESX 4.0 cluster environment.

 

command I am using:

 

ovftool vi://[username]:[password]@vi://192.168.77.111/[serverid] d:\[serveridoutput].ovf

 

the error I am receiving is as follows:

 

Error: Could not lookup host: [username]

Completed with errors

 

 

Now it's interesting because the server does seem to know that I am using a proper user/pass because if I make a mistake on the password, I am given another chance to log in, until I miss three tries. If I enter the correct password, it seems to almost connect, then fails out with the above error. I would *REALLY* appreciate some help with this guys.

 

Thanks in advance!

ovftool deploy failing with "Network connection was lost"

$
0
0

Hey,

 

Is anybody aware of what network flows exist when deploying an ovf file using ovftool through a vCenter?  Right now ovftool is continually erroring out with the following message:

 

Transfer Failed                      
Error: Network connection was lost.
Completed with errors

 

When watching on the vCenter I can see that the virtual machine is created but then it looks like data is never actually transferred.  So I know that the initial connection to vCenter is successful.

 

I'm guessing the initial connection happens with vCenter and then the data transfer occurs directly with the ESX.  Would be very appreciative if somebody could confirm this and identify the port that the data transfer happens on.

 

Thanks,

-Chris

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

$
0
0

Hi,

 

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

 

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

 

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

 

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

 

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

 

Thanks in advance,

Frank.

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.

No support for the virtual hardware device type '7'

$
0
0

Hello

 

When using ovftool:

 

# ovftool file.ova file

Opening OVA source: file.ova

The manifest validates

Opening VMX target: file

Error: OVF Package is not supported by target:

- Line 60: OVF hardware element 'ResourceType' with instance ID '3': No support for the virtual hardware device type '7'.

Completed with errors

 

When trying to deploy ova via vCenter i got similar error:

Details: Line 60: OVF hardware element Resource Type with instance ID 3. No support for the virtual hardware device type 7.

 

When looking at the xml file i can see that device type 7 is related to the following:

<rasd:Address>1</rasd:Address>

<rasd:Description>VIRTIO Controller</rasd:Description>

<rasd:ElementName>VIRTIOController 0</rasd:ElementName>

<rasd:InstanceID>3</rasd:InstanceID>

<rasd:ResourceType>7</rasd:ResourceType>

 

How can i make it working ?

 

Is there any way to exclude that element from ova file ?

 

Thanks,

Michal

Viewing all 34499 articles
Browse latest View live


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