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

ovftool - deploy vshield manager 5.1.2 to esxi 5.1 error

$
0
0

I am trying to deploy OVAs using ovftool 3.0.1 to an ESXi 5.1 host. When deploying VCSA 5.1.0b it works as expected with the following command:

 

"/Applications/VMware OVF Tool/ovftool" --acceptAllEulas --skipManifestCheck --name=vsm -dm=thin -ds=datastore1 "--net:Network 1=VM Network" --powerOn ~/Downloads/VMware-vCenter-Server-Appliance-5.1.0.5300-947940_OVF10.ova vi://root:password@esx01.local
If I try with vShield Manager I get the following error:
"/Applications/VMware OVF Tool/ovftool" --acceptAllEulas --skipManifestCheck --name=vsm -dm=thin -ds=datastore1 "--net:VSMgmt=VM Network" --powerOn ~/Downloads/VMware-vShield-Manager-5.1.2-943471.ova vi://root:password@esx01.local
Opening OVA source: ~/Downloads/VMware-vShield-Manager-5.1.2-943471.ova
The manifest does not validate
Opening VI target: vi://root@esx01.local:443/
Error:
Unexpected exception reading HTTP response body: N7Vmacore3Ssl12SSLExceptionE(SSL Exception: error:260B6084:engine routines:DYNAMIC_LOAD:dso not found)
while parsing serialized value of type string
at line 7, column 4586
while parsing property "eula" of static type ArrayOfString
while parsing serialized DataObject of type vim.vApp.VmConfigSpec
at line 7, column 4213
while parsing property "vAppConfig" of static type VmConfigSpec
while parsing serialized DataObject of type vim.vm.ConfigSpec
at line 7, column 146
while parsing property "configSpec" of static type VirtualMachineConfigSpec
while parsing serialized DataObject of type vim.vm.VmImportSpec
at line 7, column 55
while parsing property "importSpec" of static type ImportSpec
while parsing serialized DataObject of type vim.OvfManager.CreateImportSpecResult
at line 7, column 44
while parsing return value of type vim.OvfManager.CreateImportSpecResult, version vim.version.version8
at line 7, column 0
while parsing SOAP body
at line 6, column 0
while parsing SOAP envelope
at line 2, column 0
while parsing HTTP response for method createImportSpec
on object of type vim.OvfManager
at line 1, column 0
Completed with errors

 

I have confirmed that I can deploy the OVA manually. I have also confirmed the MD5SUM and tried the --disableVerification flag on ovftool. Any idea what I am missing?


OVF ERROR

$
0
0

Hi,

 

I am getting below error while depoying a OVF template. Please suggest.

 

 

Failed to Deploy:Unable to access file: server1.vmdk.
The process cannot access the file "fullpath of vmdkfile\server1.vmdk' because it is being used by another process.

 

 


OVFT: unable to export with spaces (in path) on server.

$
0
0

Hi All,

 

I'm unable to get ovftool to export a vm from my server that has spaces in the path to the vmx file.

Any help would be appreciated.  Thanks!

 

On the server:

~ # vim-cmd vmsvc/getallvms

Vmid Name             File Guest                              OS Version     Annotation

112  ar-vm            [sata3] har_vm/har_vm.vmx                rhel5_64Guest  vmx-07

16   eluefin          [sata1] eluefin/eluefin.vmx              rhel4_64Guest  vmx-07

32   igloo (RH5)      [sata0] igloo (RH5)/igloo (RH5).vmx      rhel5_64Guest  vmx-07           



When I try to export "igloo (RH5)":


C:\OVF_Tool>ovftool.exe  --compress=9 --X:logToConsole "vi://root:doublesecret@hoo.lgc.com/ha-datacenter?ds=[sata0] igloo (RH5)/igloo (RH5).vmx" F:\igloo

2013-05-23T12:55:47.089-05:00 [02908 verbose 'Default'] [SSL_DB] Using C:\Users\owjune\AppData\Roaming\VMware\ovftool_SSLDB as SSL DB

2013-05-23T12:55:47.105-05:00 [02908 verbose 'Default'] Subscribing to signal: 2 (SIGINT)

2013-05-23T12:55:47.105-05:00 [02908 verbose 'Default'] Subscribing to signal: 4 (SIGILL)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] Subscribing to signal: 22 (SIGABRT)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] Subscribing to signal: 8 (SIGFPE)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] Subscribing to signal: 15 (SIGTERM)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] OvfTool Version: VMware ovftool 3.0.1 (build-801290)

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] Using home directory: C:\Users\owjune\AppData\Roaming\VMware\ovftool.cfg

2013-05-23T12:55:47.120-05:00 [02908 verbose 'Default'] OvfTool Environment:

--> /X:httpTimeout = "0"

--> /X:imageReadSize = "262144"

--> /X:logToConsole = "true"

--> /X:maxNumberOfTermSignals = "5"

--> /X:maxRedirects = "256"

--> /X:maximalDeltaConfSize = "8"

--> /X:maximalDeltaTreeSize = "6"

--> /X:progressSmoothing = "60"

--> /X:useMacNaming = "false"

--> /X:vCloudEnableGuestCustomization = "false"

--> /X:vCloudKeepTemplate = "true"

--> /X:vCloudTimeout = "3600"

--> /X:vimSessionTimeout = "600"

--> /authdPortSource = "902"

--> /authdPortTarget = "902"

--> /compress = "9"

--> /fencedMode = "bridged"

--> /prgPath = "C:\OVF_Tool"

--> /source = "vi://root:doublesecret@hoo.lgc.com/ha-datacenter?ds=[sata0] igloo (RH5)/igloo (RH5).vmx"

--> /target = "F:\igloo"

--> /vCloudTemplate = "false"

-->

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Done initializing libs

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Determining source

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Determining target

2013-05-23T12:55:47.152-05:00 [02908 verbose 'HttpConnectionPool-000000'] HttpConnectionPoolImpl created. maxPoolConnections = 20; idleTimeout = 900000000; maxOpenConnections = 20; maxConnectionAge = 0

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Getting http page: https://hoo.lgc.com/sdk/vimServiceVersions.xml

2013-05-23T12:55:47.152-05:00 [02908 verbose 'Default'] Proxy host

2013-05-23T12:55:47.167-05:00 [00756 info 'Default'] Thread attached

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [03816 verbose 'Default'] CURL: header data removed

2013-05-23T12:55:47.183-05:00 [02908 verbose 'Default'] [ViConnection] Using vim API version: 4.1

2013-05-23T12:55:47.183-05:00 [02168 info 'Default'] Thread attached

2013-05-23T12:55:47.183-05:00 [03780 info 'Default'] Thread attached

2013-05-23T12:55:47.198-05:00 [03920 info 'Default'] Thread attached

2013-05-23T12:55:47.198-05:00 [03192 info 'Default'] Thread attached

2013-05-23T12:55:47.198-05:00 [02752 info 'Default'] Thread attached

2013-05-23T12:55:47.245-05:00 [02908 verbose 'HttpConnectionPool-000001'] HttpConnectionPoolImpl created. maxPoolConnections = 1; idleTimeout = 900000000; maxOpenConnections = 1; maxConnectionAge = 0

2013-05-23T12:55:47.261-05:00 [02908 verbose 'Default'] Keeping VI session alive

Opening VI source: vi://root@hoo.lgc.com:443/ha-datacenter

2013-05-23T12:55:47.432-05:00 [02908 verbose 'Default'] Backtrace:

--> backtrace[00] rip 000007fef141722a

--> backtrace[01] rip 000007fef12df578

--> backtrace[02] rip 000007fef12e078e

--> backtrace[03] rip 000007fef129266b

--> backtrace[04] rip 000007feeeb0d3d1

--> backtrace[05] rip 000007fef0f703b8

--> backtrace[06] rip 000007fef0f707e9

--> backtrace[07] rip 000007fef0f8efbe

--> backtrace[08] rip 000007feee8b024e

--> backtrace[09] rip 000000013f83824d

--> backtrace[10] rip 000000013f7aca0d

--> backtrace[11] rip 000000013f7ad04a

--> backtrace[12] rip 000000013fa3a426

--> backtrace[13] rip 0000000076b5b1bd

--> backtrace[14] rip 0000000076d66861

-->

Error: vim.fault.FileNotFound

Completed with errors

ovftool ova -> vmx conversion fails - Connection error during download

$
0
0



Hi all


I am running


ovftool -tt=vmx --lax --X:logFile=debug.log --X:logLevel=verbose ../backup/DataStax_Sandbox_1_0_0_for_VMWare.ova /u01/vmware



And it is failing with the error: Connection error during download



I am guessing that ovftool is attempting to d/l the xsd's for the vmdk schema, and the provider of the ova is using outdated xsd's



Here is the debug from the conversion showing the schema:



I want to clone a VMware VM (RHEL6.5), export it as an OVF and when someone deploys it again, I want them to enter custom information like IP, DNS, VM name in the vSphere Deploy wizard. How do i make this happen?

$
0
0

I want to clone a VMware VM (RHEL6.5), export it as an OVF and when someone deploys it again, I want them to enter custom information like IP, DNS, VM name in the vSphere Deploy wizard. How do i make this happen? (I've commented all the lines in the persistent net rules file and made the file read-only.)

getting error (core dumped) "$OVFTOOL_BIN" "$@" while using ovftool from jenkins instance

$
0
0

Hi,

 

When i try to configure deployment job from Jenkins, i am getting

/usr/bin/ovftool: line 23: 19723 Segmentation fault  (core dumped) "$OVFTOOL_BIN" "$@"

error in command line, Not sure how to find solution, i was able to use the same command from my local system directly from my user account.

This error i am getting after message

Opening OVF source: myfile.ovf

 

thanks in advance,

vduggirala

OVF tool crashing?

$
0
0

 

Anyone using OVF extensively?

 

 

Environment...

 

 

ESXi 4 box, with a single very simple VM, just a VM, no disks, nothing more than a VM shell really.

ESXi 3.5 U 4 running a single VM, which has vCenter 4 running in it.  Windows 2008, 32, 1.5GB RAM for VM

Windows XP SP3 fully patched desktop to run OVF CLI tool for Windows and VIClient 4

 

 

Attempted...

 

 

1) From VI client, try to use GUI to Export OVF Template, VirtualCenter Service stops.

 

2) From Windows XP SP3 full patched desktop, where Windows OVF1.0 Tool installed, Attempt to do OVF export as attempted above, generates an unexpected exception trap.  vCenter 4 VMware Virtual Center server stops.

 

 

C:\Program Files\VMware\VMware OVF Tool>ovftool "vi://administrator@192.168.15.3/Home Office/vm/Test01" ./Test01.OVF

Please enter login information for source vi://192.168.15.3/

Username: administrator

Password: *********

Opening VI source: vi://administrator@192.168.15.3/Home Office/vm/Test01

Error: The specified network name is no longer available.

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.

Terminate process signal received - aborting operation

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

 

 

 

 

 

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?

 

 


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

 

 

ovftool download problem

$
0
0

 

Having problems installing  VMware-ovftool-2.0.1-260188-lin.i386.sh on a linux host.

 

 

When I try to install I get

 

VMware OVF Tool 2.0 installer script

Copyright VMware 2010

.........extracting archive........

 

Checksum validation failed for archive.

(If you use FTP, make sure to set it to binary mode)

The MD5 checksum is d14f14ab14f994131cf0d2fad2b318e3 not ff672047cbf2caf725bc1d295c7bbdc0

 

 

Am I downloading the wrong file?

 

 

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

OVFTool 2.1.0 with Active Directory Question (vSphere crashes)

$
0
0

When I try to export one of my VMs using File/Export/Export OVF Template....it crashes vSphere with a nice assertion window.

 

To see what the cause of this is, I decided to try using ovftool 2.1.0 on Linux to export the VM instead, to see what happens (like does it crash ovftool?).

 

I got stuck though because when I log into the vCenter I have to specify a domain\username format and I can't figure out how to pass this to ovftool in a way that doesn't cause errors.

 

For example, I tried things like this:

 

# ovftool  vi://myvcenter.domain.com/DataCenterName/vm/

Username:  MYDOMAIN\Administrator

Password: whatever

 

Didn't work, I don't think it likes the backslash.

 

So I tried stuffing it in a variable:

 

# DF="MYDOMAIN\Administrator"

# ovftool  vi://"$DF"@myvcenter.domain.com/DataCenterName/vm/

 

Error: Curl error: Couldn't connect to server

 

Anyone have any ideas?

 

Thanks,

CJ

OVF deploy not showing license agreement

$
0
0

I have been given an externally generated OVF that the ovftool verifies as perfectly fine and shows me that there are End-user license agreements.  However, when I use vCenter (4 and 5) to Deploy OVF Template, the EULA page does not show any text when displaying the license and asking me to Accept.   After various comparisons with other OVFs and manipulation of the original OVF, I have determined that the vCenter deploy is having trouble when the OVF contains the ovf: prefix on certain XML elements.

 

For example, the OVF that does not work has the ovf: prefix on all elements (<ovf:Envelope>, <ovf:References>, <ovf:File>, <ovf:Strings>) and also has the ovf: prefix on the Internationalization file (ovf:Strings, ovf:Msg).   This does not show errors in the ovftool, but the license text does not display during vCenter OVF deploy.

 

If I hand edit the OVF and remove the ovf: prefix on the elements listed above, the ovftool shows no errors and the license text now shows up during vCenter OVF deploy!

 

Is this a bug in vCenter Deploy OVF Template?

 

Thanks.

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!

import ova esx 3.5

$
0
0

hi everyone

 

im trying to install Solar Winds virtualization manager on my Esxi 3.5.

The appliance is on OVA format.

i got o File--> Virtual Appliance -->Import-->Import the file and i get the next error:  An error occurred while parsing the OVF descriptor: System out of memory exeption.

 

Then i try to extract the ova file, and i get 4 new files, one of them a OVF. then i try to use it and i get the the next error: An error occurred while parsing the OVF descriptor : Unable to parse xml element ´Envelope´.

This is a OVF version error, 3.5 use a older version of OVF, (0.9 i think).

 

I dont know how to install this appliance , i hope u can help me.

SORRY FOR MY BAD ENGLISH!!!

Use OVFTool to Convert OVA File Without A Domain

$
0
0

OVFTool keeps failing when I try to convert an OVA image to vmdk, since I don't have a domain on our network, a la vi://hostname.domain.

 

What should I do?

 

It's a Mitel Linux Image.

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?

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
Viewing all 34499 articles
Browse latest View live


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