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

Got Problem with converting Ova to VMx

$
0
0

Hi , there !

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

 

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

 

 

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

 


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

 

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

 

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

 

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

 

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

 

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

 

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


OVA vs OVF in ovftool

$
0
0

Hi all,

I am trying to implement an OVF support for some virtualization software, which is using raw images for disks. I use qemu-img to convert raw images to vmdk format. Then I use ovftool to convert ovf file into vmware instance.

When the file I have is a simple ovf descriptor + manifest + disk - all is fine, it works even if I'm using qemu-img without "compat6" option

When the disk is compressed or the OVF package is packed into OVA - there are errors being thrown. Moreover when I create OVA package with no disk, the conversion works.

 

Here is the fragment of results for the OVA file:

 

Writing VMX file: test_ova.vmx
[2011-10-03 16:34:35.685 7F097D2C1720 verbose 'ovftool'] Using file size as progress measure
Disk progress: 0%[2011-10-03 16:34:35.685 7F097D2C1720 verbose 'ovftool'] Ovf::GetFileSource as StreamVmdk failed. Exception: Cannot open disk source: Not a supported disk format (sparse VMDK version too old)
Disk Transfer Failed                      
Error: Failed to open source disk: 3f66f54d-a9fa-4aa8-806d-d757d6f34a59.disk0.vmdk
[2011-10-03 16:34:35.685 7F097D2C1720 verbose 'ovftool'] Backtrace:
[00] rip 00007f09767453e4 
[01] rip 00007f09765e99d4 
[02] rip 00007f097658e038 
[03] rip 00000000004fef51 
[04] rip 000000000054aaa5 
[05] rip 000000000054ae78 
[06] rip 000000000049c41a 
[07] rip 00007f0974e62c4d 
[08] rip 000000000047ec7a 

[2011-10-03 16:34:35.685 7F097D2C1720 verbose 'ovftool'] Deleting file: ./test_ova-disk1.vmdk

 

Same fragment when I unpack OVA and then run ovftool on the .ovf file:

 

Writing VMX file: test_ovf.vmx
[2011-10-03 16:35:53.934 7F7E899C4720 verbose 'ovftool'] Using file size as progress measure
Disk progress: 0%[2011-10-03 16:35:53.935 7F7E899C4720 verbose 'ovftool'] Ovf::GetFileSource as StreamVmdk failed. Exception: Cannot open disk source: Not a supported disk format (sparse VMDK version too old)
Disk progress: 99%[2011-10-03 16:35:54.106 7F7E899C4720 verbose 'ovftool'] Ovf::GetFileSource: Opened 3f66f54d-a9fa-4aa8-806d-d757d6f34a59.disk0.vmdk as diskLib source
[2011-10-03 16:35:54.106 7F7E899C4720 verbose 'ovftool'] Opening disk target /xcinstall-1.corp.google.com/VirtualLsiLogicController0:0
Disk Transfer Completed                   
Completed successfully
Can someone please explain to me, what is happening?
I am using python's tarfile to create OVA, if this may be of importance (although I doubt that, since it works with diskless OVA),
my qemu-img version used in this example was 0.12,
I used ovftool in version 2.0.0.

Thank you.

Convert ovf template to vsx

$
0
0

Hello ,

I used the vcenter 4.1 console to Export OVF Template.  We need to be able to load this template in vmware player.  I downloaded ovftool and tried to convert the OVF template so that it could be run in Vmware player.

 

 

This is the command I am issuing to convert the template based off of the OVFTOOL PDF.  This, to my understanding should convert the OVF to a VMX and drop it in the D:\vms folder.  There are 4 disks in this VM server

 

Input

C:\Program Files\VMware\VMware OVF Tool>ovftool -tt=vmx D:\server_name\server_name.ovf D:\vms\

 

Output:

 

Opening OVF source: D:\server\server.ovf
The manifest validates
Opening VMX target: D:\vms\
Warning:
- Target does not support CPU validation.
Error:
-
Completed with errors

 

Needless to say the VMS folder is getting created but nothing else is being converted. 

 

Any help would be greatly appreciated.

 

Thanks,

 

DS

ovftool 2.1.0 `Error: Curl error: Coudn't resolve host name`

$
0
0

Greetings friends,

 

I have installed ovftool on a Linux machine with SLES 11 SP1 x86_64

 

I am currently experimenting on how to use ovftool, as i'm a total newbie considering it's use.

 

I currently have a vCenter Server 4.1, with IP 10.20.30.40. There i have the following structure:

 

10.20.30.40

     MyDataCenter

          Cluster1

          Cluster2

               MyVM

 

The datastore where the vmx is located is named NAS1

 

I want to convert this virtual machine to .ovf. But for starters, i would like to probe it. I'm using ovftool 2.1.0 and the user's guide says that the VMX type is supported. I thought to use vSphere Locator with Datastore (ds) query type. So, i execute the following:

 

ovftool vi://10.20.30.40/MyDataCenter?ds=[NAS1] MyVM/MyVM.vmx

 

After i'm asked for credentials, i get the following:

 

Please enter login information for source vi://10.20.30.40/
Username: xxxxxxx
Password: *************
Error: Curl error: Couldn't resolve host name
Completed with errors

 

Have you seen that before? Am i doing something wrong with the syntax? Or in general, am i using ovftool the wrong way?

 

Thank you for your help!

 

Peter

OVF ValueMap & Values

$
0
0

I have an OVF with an ovf:qualifiers ValueMap drop down list of strings.

I would like to map the selected string into some other values either int or string will do.

I saw in the DSP0004 Version 2.5.0 "Common Information Model (CIM) Infrastructure" document; an example in Section 5.5.2.51 ~pg 47

This example appears to do what I want, map the ValueMap list to the Values list.

BUT I can not make it work.

Here is the example text:

[Values {"zero&one", "2to40", "fifty", "the unclaimed", "128-255"}, ValueMap {"..1","2..40" "50", "..", "x80.." }]

The document implies that picking a value in the ValueMap will set the property to the coresponding value in the Values list

 

I get syntax errors when I use vSphere to deploy the OVF

ovf:qualifiers=[Values{...}, ValueMap{...}]

error expect ' or "

ovf:qualifiers='[Values{...}, ValueMap{...}]'

ovf:qualifiers='Values{...}, ValueMap{...}'

more syntax errors

ovf:qualifiers='ValueMap{...}, Values{...}'

The above does not have errors, but it ignores my ovf:userConfigurable="true" so there is no selection and the value is not mapped.

 

Without the Values{} list, the drop down list is user selectable and the property is a string from the ValueMap list.

OVF Tool 3.0.1 Segmentation fault on linux

$
0
0

Running OVF Tool 3.0.1 on 32 bit CentOS 6 Linux 2.6.32-279.11.1.el6.i686 (download from VMWare site md5sum was checked ok)

 

Tool starts up fine and is in the process of exporting a VM from one ESXi 4.1 host to another ESXi 4.1 host . 

 

Tool then crashes with /usr/bin/ovftool: line 23:  7629 Segmentation fault      (core dumped) "$OVFTOOL_BIN" "$@"

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?

Segmentation Fault when using vcloud target

$
0
0

I'm trying to use ovftool to automate OVA deployments to vCloud Director 5.1. I have installed ovftool 3.0.1 on Ubuntu and tested out some operations. Everything seems to work except that I always get a segmentation fault when I invoke a vcloud target.

 

Here is the logging output:

 

2013-04-12T09:38:22.261-07:00 [7F987B01E740 verbose 'Default'] [SSL_DB] Using /home/evan/.ovftool.ssldb as SSL DB
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 2 (SIGINT)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 4 (SIGILL)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 6 (SIGABRT)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 8 (SIGFPE)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 15 (SIGTERM)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 1 (SIGHUP)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 3 (SIGQUIT)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 5 (SIGTRAP)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 9 (SIGKILL)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Subscribing to signal: 13 (SIGPIPE)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] OvfTool Version: VMware ovftool 3.0.1 (build-801290)
2013-04-12T09:38:22.263-07:00 [7F987B01E740 verbose 'Default'] Using home directory: /home/evan/.ovftool
2013-04-12T09:38:22.263-07:00 [7F987B01E740 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"
--> /fencedMode = "bridged"
--> /prgPath = "/usr/lib/vmware-ovftool"
--> /source = "vcloud://vclouddirector.intapp.net/"
--> /vCloudTemplate = "false"
-->
2013-04-12T09:38:22.270-07:00 [7F987B01E740 verbose 'Default'] Done initializing libs
2013-04-12T09:38:22.270-07:00 [7F987B01E740 verbose 'Default'] Determining source
2013-04-12T09:38:22.270-07:00 [7F987B01E740 verbose 'Default'] Determining target
2013-04-12T09:38:22.302-07:00 [7F986BFFF700 verbose 'Default'] CURL: header data removed
2013-04-12T09:38:22.617-07:00 [7F986BFFF700 verbose 'Default'] CURL: header data removed
2013-04-12T09:38:22.617-07:00 [7F986BFFF700 verbose 'Default'] CURL: header data removed
2013-04-12T09:38:22.617-07:00 [7F986BFFF700 verbose 'Default'] CURL: header data removed
2013-04-12T09:38:22.617-07:00 [7F986BFFF700 verbose 'Default'] CURL: header data removed
2013-04-12T09:38:22.617-07:00 [7F986BFFF700 verbose 'Default'] CURL: header data removed
2013-04-12T09:38:22.617-07:00 [7F986BFFF700 verbose 'Default'] CURL: header data removed
2013-04-12T09:38:22.619-07:00 [7F987B01E740 verbose 'Default'] VCloud request body:
-->
2013-04-12T09:38:22.641-07:00 [7F987B01E740 verbose 'Default'] VCloud response body:
--> <?xml version="1.0" encoding="UTF-8"?>
--> <SupportedVersions xmlns="http://www.vmware.com/vcloud/versions" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vmware.com/vcloud/versionshttp://vclouddirector/api/versions/schema/versions.xsd">
-->     <VersionInfo>
-->         <Version>1.5</Version>
-->         <LoginUrl>https://vclouddirector.intapp.net/api/sessions</LoginUrl>
   ... schema output snipped ...
-->
2013-04-12T09:38:22.648-07:00 [7F987B01E740 verbose 'Default'] VCloud version used: 5.1

 

 

 

The end of the strace output:

 

[pid 15407] munmap(0x7f8b32f7c000, 135168) = 0
[pid 15407] munmap(0x7f8b32f9d000, 135168) = 0
[pid 15407] munmap(0x7f8b3cadb000, 135168) = 0
[pid 15407] write(6, "\25\3\1\0\30B& 2\7\30\3259W0n~(4\216\375\"\35\310c\211{+\350", 29) = 29
[pid 15407] close(6)                    = 0
[pid 15407] brk(0x2c17000)              = 0x2c17000
[pid 15407] brk(0x2c38000)              = 0x2c38000
[pid 15407] write(1, "2013-04-12T09:40:54.198-07:00 [7"..., 882013-04-12T09:40:54.198-07:00 [7F8B3CB7F740 verbose 'Default'] VCloud version used: 5.1
) = 88
[pid 15407] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 15404 resumed
Process 15407 detached
[pid 15410] +++ killed by SIGSEGV (core dumped) +++
[pid 15409] +++ killed by SIGSEGV (core dumped) +++
[pid 15408] +++ killed by SIGSEGV (core dumped) +++
[pid 15411] +++ killed by SIGSEGV (core dumped) +++
<... wait4 resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 15407
write(2, "/usr/bin/ovftool: line 23: 15407"..., 91/usr/bin/ovftool: line 23: 15407 Segmentation fault      (core dumped) "$OVFTOOL_BIN" "$@"
) = 91
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
wait4(-1, 0x7fff27453e98, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn(0xffffffffffffffff)        = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f70fceb44a0}, {0x43f140, [], SA_RESTORER, 0x7f70fceb44a0}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "", 409)                      = 0
exit_group(139)                         = ?


Deploy OVF Template problems

$
0
0

Hi!

I'm trying to to deploy a OVF/OVA file into my vCenter but I'm getting a error message, pls help me.

 

"Line 61: No space left for device '5' on parent controller '4'."

 

(Tested to deploy other templates and it worked fine)

 

Any idea anyone?

VMware Workstation Natively

$
0
0

okay, I know this isn't developed yet, but I thought I would ask about.

first I love VMware workstation, amazing tool. and most VMware products are quick and easy for the average user.

 

okay to meat of the topic. What would it take to install VMware natively withOUT a host operating system"

 

hear me out. I really love virtualization, and the option it gives to run ANY OS, but the drawback would be the HOST OS, I WISH there was a way to install a very simple OS that VMware creates or uses, to launch it's workstation. maybe call it "LiteStation". then with the same use of the workstation, load your OS, or OS's in many cases, being able to with such a low foot print might be able to open some doors for new technology.

 

now, the simple OS, it need limited capabilities, like driver install (preferably win drivers as they are the most common and most ready, but Linux drivers would be the most understandable), limited programs or possibly no program installs. but it need enough to use the full potential of the machine, so x64 would be required along with VT-x/EPT or AMD-V/RVI + acceleration etc.... with no browsers there won't be a need to install much security, just force it to connect, but not use the network connection except to switch it over to bridge the OS's in VM-LS.

 

I'm sure this software is not out there yet. but think of the possibilities, it would become a 'virtual' boot-loader... running all OS's in a virtual environment, utilizing the max potential of multi-platform. I could see the diminish of speed as we allocate a % of the native hardware for use by the VM's, but still. No longer would dual booting be a norm, having to restart just to use a different OS, but booting both would increase. sure we have native, but sometimes I don't want to mess with Win/Lin/OS just to get to the one I want. and I feel the native OS limits the use of the virtual machine.

 

or maybe something like this is already running.... I just haven't found out.

 

Anyways thanks for the listening... who knows maybe VMware might want to implement something like LiteStation in their software arsenal....

Accipitor

ovftool - Managing Resource Pools

$
0
0

Hello,

 

I am using vSphere ESX (4 or 5).

I am writing automatic scripts using esxcfg and ovftool (on windows) commands.

 

I have some questions:

 

1. How can i create Resource Pool's? (if it cannot be done using ovftool, is there another way? maybe using esxcfg?)

 

2. What is the exact syntax of ovftool to deploy under that Resource Pool?

I am looking for something like this:

ovftool --noImageFiles -ds=dsName --net:"Network1"="Network2" --name=MyVM "C:/MyVM.ovf" "vi://user:password@192.168.1.1/Resource/myResource"

or anything else that can help.

 

 

Thanks!

erelh

Missing properties in an OVA file

$
0
0

Hi fellows,

                       I had deployed a virtual ESXi host on a physical ESXi and then I created an OVA file of that virtual host and then was trying to deploy the OVA after changing the IP, subnet mask and gateway properties of the OVA file. But when i used the probe mode to have a look at the class ID and other properties, I found them to be missing.

 

 

C:\Users\abhinav.srivastava>ovftool test1.ovf

OVF version:   1.0

VirtualApp:    false

Name:          vhost1

 

 

Download Size:  283.32 MB

 

 

Deployment Sizes:

  Flat disks:   25.00 GB

  Sparse disks: 325.44 MB

 

 

Networks:

  Name:        VM Network

  Description: The VM Network network

 

 

Virtual Machines:

  Name:               vhost1

  Operating System:   otherlinux64guest

  Virtual Hardware:

    Families:         vmx-08

    Number of CPUs:   2

    Cores per socket: 1

    Memory:           2.18 GB

 

 

    Disks:

      Index:          0

      Instance ID:    8

      Capacity:       25.00 GB

      Disk Types:     SCSI-lsilogic

 

 

    NICs:

      Adapter Type:   E1000

      Connection:     VM Network

 

So right now I am not able to change the OVA properties and deploy the virtual host. I need to do this as I want this step automated. Does anybody know why am I not able to see the properties of the OVA file. Am I going wrong somewhere. Kindly help!!

 

 

Thanks,

Abhinav

Upload to Vsphere "changes" contents of VMX file

$
0
0



Hi all,


I use ovftool to upload a local box to our Vsphere instance. But two important values in the VMX file are removed when they reside on the ESX host. What I do is this:


$ ovftool --noSSLVerify=false --acceptAllEulas --name=test_box --datastore=esx-devel-local --diskMode=thick --network=DUMMY --vmFolder= boxes/test_box/test_box.vmx 'vi://user@vcenter/SR/host/esx-devel.domain.de/Resources/'
Opening VMX source: boxes/test_box/test_box.vmx
Opening VI target: vi://user@vcenter:443/SR/host/esx-devel.domain.de/Resources/
Deploying to VI: vi://user@vcenter:443/SR/host/esx-devel.domain.de/Resources/
Transfer Completed
Completed successfully


The local VMX file contains the following two lines:


$ grep cpu ./boxes/test_box/test_box.vmx
cpuid.corespersocket = "4"
numvcpus = "1"


But they no longer exist in the uploaded VMX file:


/vmfs/volumes/53f5fc7a-1456f0d6-d91c-f4ce46214a14/test_box # grep cpu test_box.vmx
/vmfs/volumes/53f5fc7a-1456f0d6-d91c-f4ce46214a14/test_box #

     /vmfs/volumes/53f5fc7a-1456f0d6-d91c-f4ce46214a14/test_box # ls -l

     total 28672008

     -rw-------    1 root     root     29360128000 Sep 10 10:00 test_box-flat.vmdk

     -rw-------    1 root     root           502 Sep 10 09:59 test_box.vmdk

     -rw-rr    1 root     root             0 Sep 10 09:59 test_box.vmsd

     -rwxr-xr-x    1 root     root          1610 Sep 10 09:59 test_box.vmx

     -rw-rr    1 root     root           270 Sep 10 09:59 test_box.vmxf



Does anybody have a clue whats happening? Next I'll make a debug run with ovftool. If anything new comes up, I'll post it here.

OVF file

$
0
0

Hi, every one

 

if I export a VM ( windows OS guest ) running on VMware workstation to OVF file, it will work on VMware vSphere ???

ovftool fails with Error: vim.fault.FileNotFound

$
0
0


I have an esxi 4.1 server that we are decommissioning as part of a move.  We've decided to archive some of the VMs that were part of a test bed, in case we need to revive them later.  I've been copying the VMs directly to a USB hard drive on my Mac with ovftool, but I've found that about half of the testbed VMs cannot be copied.  Here is an example of a failure:

wpeters$ ovftool vi://root@zeus.dvt.tachyon.net/Riverbed/VSH_markt /Volumes/Archive/VSH_markt.ova

Enter login information for source vi://zeus.dvt.tachyon.net/

Username: root

Password: *********

Opening VI source: vi://root@zeus.dvt.tachyon.net:443/Riverbed/VSH_markt

Error: vim.fault.FileNotFound

Completed with errors


 


And a success, on another VM:

wpeters$ ovftool vi://root@zeus.dvt.tachyon.net/Riverbed/VSH_250m /Volumes/Archive/VSH_250m.ova

Enter login information for source vi://zeus.dvt.tachyon.net/

Username: root

Password: *********

Opening VI source: vi://root@zeus.dvt.tachyon.net:443/Riverbed/VSH_250m

Opening OVA target: /Volumes/Archive/VSH_250m.ova

Writing OVA package: /Volumes/Archive/VSH_250m.ova

Transfer Completed                    

Completed successfully


 


Does anyone have any suggestions of what to look for?  I've started and stopped these VMs from the console, so I'm certain the storage is still available, etc.


Thanks!

 


question regarding adding extra config parameters to ovf

$
0
0


Hi,


I have ovftool version (4.0.0).I am trying to create an ovf  of a VM with extra config parameters. How do i specify the exportFlags command line option to allows the config parameters to translate from the VM to the ovf ? The documentation says I need to specify a extraconfig vSphere source .


This works fine : ovftool --allowAllExtraConfig  --extraConfig:ethernet1.coalescingScheme=disabled --extraConfig:ethernet0.coalescingScheme=disabled


but this doesn't : ovftool --exportFlags=extraconfig 


I don't want to add the key:value in the command line , rather pick up these from the VM  I am using to create the ovf.


Is there something that I am missing out ?


Thanks in advance


 

Error converting OVF to VMX -- virtualbox-3?

$
0
0

I am trying to convert a .ovf to a .vmx using the ovftool utility in terminal on OSX 10.6.8.

 

USING the --lax command, the result I get is as follows:

 

 

Opening OVF source: /Users/Andrew/Desktop/CS50/appliance50-17/appliance50.ovf
Opening VMX target: /Users/Andrew/Desktop/CS50/appliance50-17/appliance50.vmx
Warning:
- Line 39: Unsupported hardware family 'virtualbox-3'.
- Line 107: OVF hardware element 'ResourceType' with instance ID '10': No support for the virtual hardware device type '35'.
- Line 63: OVF hardware element 'ResourceType' with instance ID '5': No support for the virtual hardware device type '20'.
- Missing hardware element 'CPU' with RASD type '3'.
- Line 127: Duplicate element 'AddressOnParent'.
Writing VMX file: /Users/Andrew/Desktop/CS50/appliance50-17.vmwarevm/appliance50.vmx
Transfer Failed                      
Error: Capacity mismatch for disk /Users/Andrew/Desktop/CS50/appliance50-17.vmwarevm//appliance50-disk1.vmdk
Deleting directory tree below: /Users/Andrew/Desktop/CS50/appliance50-17.vmwarevm
Warning:
- No manifest file found.
Completed with errors

 

 

Any suggestions on how to fix this?  It seems to be a problem with ovftool itself?

ovftool installation requirements

$
0
0



Hello,


I fail to install ovftool on a privately created Linux distribution machine.


The Linux machine is not native Linux and it uses a 32 bit kernel.


The ovftool is used to deploy several OVA images on remote distributed vSphere platforms.


As the ovftool package is provided as a bundle (script+binary) with no source and no specific set of installation requirements


I'd like to know if the list of pre-requirements can be provided.


For instance, I noticed that bash and psutils are required.


There are more requirements which are currently unknown to me and are essential.


As an alternative, is there any other ovftool that can be used to deploy OVA images on vSphere, like SaltStack python API or others ?


Thanks in advance.

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?

 

 

The OVF descriptor file could not be parsed.

$
0
0

Hi All,

 

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

 

 

Cheers!

Viewing all 34499 articles
Browse latest View live


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