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

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!


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.

ovftool 3.5.0 not running on CentOS 5 (needs GLIBC 3.4?)

$
0
0

Installed ovftool 3.5 on CentOS 5.9.  Install went without any errors, says Installation Successful.

 

Running ovftool yields about 5 errors similar to:

/usr/lib/vmware-ovftool/ovftool.bin: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib/vmware-ovftool/libvmomi.so)

 

CentOS 5.9 doesn't support GLIBC 3.4.

 

The ovftool documentation says it supports CentOS 5 and 6.

 

What's the problem here?

difference between ovf version 0.9 and 1.0?

$
0
0

 

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

 

 

 

 

 

Thanks in advance

 

 

Failure on disk import

$
0
0

Hello, I'm having some trouble getting both the vSphere Client and ovftool to

import my OVF's.  When using the vSphere Client, I successfully walk through

the wizard to "Deploy OVF Template", I click Finish on the final wizard screen

and progress dialog pops up.  It counts up to 100% complete while showing

"Deploying disk 1 of 1..." and then always fails with the following error

displayed on a popup window:

 

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

Internal Server Error"

 

I then tried using ovftool, to convert my OVF to VMX format.  Similarly, the

"Disk Progress" percentage counts up to 100% and then errors with:

 

Opening OVF source: stout-1-x86_64.ovf

Warning: No manifest file

Opening VMX target: stout-out/

Target: stout-out/stout-1-x86_64/stout-1-x86_64.vmx

Disk Transfer Failed           

Error: Failed to open source disk: stout-1-x86_64.vmdk

 

In both cases, it seems the problem is with my disk file, which is a

stream optimized VMDK.  Just to check, I verified that I was able to import

this exact same disk file built into an OVF 0.9 using Virtual Infrastructure

Client 2.5.0.  So, I'm at a loss as to what the problem may be.  Do you have

to build the stream optimized vmdk any differently?  Any other suggestions on

how I may be able to debug this further?

 

Thanks for any help,

James Slagle

 

OVF Tool HELP!!!!!!

$
0
0

 

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

 

 

ovftool --nodisks still creates .ovf file with disk information

$
0
0

 

Hi All,

 

 

I'm using ovftool with the --noDisks option, but there still seems to be disk information in the .ovf file (see attachments).

 

 

I'm trying to import the virtual appliance on a ESXI 3.5 update 2 server, using VM Converter 4.0.1.

 

 

When I try and import the virtual appliance, I get the following error:

 

 

FAILED: Unable to download the OVF file 'http: //xxx.xxx.xxx.xxx/vm_ovf_backups/esxi-test-disk1.vmdk'.

 

 

I thought the --noDisks option would leave out any information relating to the disks - am I wrong?

 

 

Regards, Michael

 

 

Deploy OVF template with monolithicFlat VMDKs

$
0
0

I am currently trying to deploy a OVF template that points to a VMDK of createType=monolithicFlat. At the time of deployment I get an error ..

 

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

 

There are other posts in this forum that point to incorrect sizes in the OVF file as one of the potential issues. But none of these seem to correspond to VMDKs of monolithicFlat type. I have listed below the References and DiskSection of my OVF file and VMDK file descriptor. I will appreciate it if someone can point out  potential errors.

 

-


&lt;References&gt;

&lt;File ovf:href="disk.vmdk" ovf:id="Disk" ovf:size="1073741824"/&gt;

&lt;/References&gt;

 

&lt;DiskSection&gt;

    &lt;Info&gt;Virtual disk information&lt;/Info&gt;

    &lt;Disk ovf:diskId="Disk" ovf:fileRef="Disk"

          ovf:capacity="1073741824" ovf:capacityAllocationUnits="byte" 

          ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" /&gt;

  &lt;/DiskSection&gt;

-


\# cat disk.vmdk

 

\# Disk DescriptorFile

version=1

encoding="UTF-8"

CID=67632d29

parentCID=ffffffff

createType="monolithicFlat"

 

\# Extent description

RW 2097152 FLAT "disk-flat.vmdk" 0

 

\# The Disk Data Base

#DDB

 

ddb.virtualHWVersion = "7"

ddb.geometry.cylinders = "2080"

ddb.geometry.heads = "16"

ddb.geometry.sectors = "63"

ddb.adapterType = "ide"

-


 

Thanks


how to change ovf exported from vsphere to be compatible with workstation?

$
0
0

 

Hi,

 

 

 

 

 

we want make our virtual appliance as vmware ready. We want have OVF file with VMDK compatible with vmware workstation, player, server and esx3.5. But we have only Vmware vSphere. vSphere exports OVF to format 1.0. But I cant import this format to older versions as Workstation 6.5 (but to 7.0 i can't too), to esx 3.5, etc....

 

 

 

 

 

What can I do for it to import it? I have template of ovf 0.9. I try to rewrite it. Import was sucessful, but when I start this machine which includes Linux with vmware toolsm kernel says KERNEL PANIC. Is there other format of exported VMDK file on esx 4 than esx 3?

 

 

 

 

 

Is is neccessary to make it compatible with Workstation to have vmware ready for VA status??

 

 

 

 

 

Please help...

 

 

How do I keep vmxnet3 NIC type when exporting to OVF/OVA

$
0
0

Hi,

I exported a VM from my ESXi 4.0.0 server using ovftool for Windows but the type of NIC seems to have been changed as part of the conversion. It was VMXNET3 on the host but ends up being VMXNET in the OVF.

 

The export was done as follows..

 ovftool --eula@=c:\MyEULA --powerOffSource vi://root:password@esxi4_host/MyVapp d:\dev\vapps\ 

 

Snippet from the original .vmx

ethernet0.virtualDev = "vmxnet3"

 

Snippet from the .ovf that was generated

   <VirtualHardwareSection>
...snip..      <Item>        <rasd:AddressOnParent>7</rasd:AddressOnParent>        <rasd:AutomaticAllocation>true</rasd:AutomaticAllocation>        <rasd:Connection>VM Network</rasd:Connection>        <rasd:Description>VmxNet ethernet adapter on "VM Network"</rasd:Description>        <rasd:ElementName>ethernet0</rasd:ElementName>        <rasd:InstanceID>6</rasd:InstanceID>        <rasd:ResourceSubType>VmxNet</rasd:ResourceSubType>        <rasd:ResourceType>10</rasd:ResourceType>
...snip..    </VirtualHardwareSection>

 

Is this a known issue ? Any workarounds ?

VMware's ovftool doesn't install/work on VMware vMA 4.0?

$
0
0

Tried to install 64bit ovftool on VMware vMA 4.0 today and it failed to install or yield any useful information:

 

[vi-admin@scofield]$ ./VMware-ovftool-installer-1.0.0-166674-lin.x86_64.sh

VMware OVF Tool installer script
Copyright VMware 2009
.........extracting archive........

Checksum validation failed for archive.
(If you use FTP, make sure to set it to binary mode)

 

As far as I can tell, the binary is actually included in the install script though I'm not sure why 'FTP' is being referenced here unless VMware is expecting to download the actual source? I would hope that since vMA is a VMware virtual appliance that it should support any "VMwae" utilities but from what I've seen in the past with VDDK and VIX, that is not always and generally is not the case.

 

Can anyone comment on or know how to get it to install?

 

Thanks for your time

 

 

 

 

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

Twitter: @lamw

vGhetto Script Repository

Getting Started with the vMA (tips/tricks)

Getting Started with the vSphere SDK for Perl

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

 

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

 

If you find this information useful, please award points for "correct" or "helpful".

Error: Locale Initialization Failed

$
0
0

 

Hello

 

 

I installed ovftool on SLES 11 SP1 but when I try to use it....says Error: Locale Initialization Failed =(

 

 

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

Converting a VM with snapshots

$
0
0

I think that ofvtool is a great tool to move VM between ESXi and ESX servers.

I need to convert a VM with several snapshots, and I would like to keep them: how can I tell ovftool to keep snapshots while coreting the .ovf or .ova files?

When importing it I want to see all my snapshots.

Regards

marius


Ovftool fails in converting an ova file into vmx

$
0
0

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

 

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

 

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

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

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

Disk Transfer Failed

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

 

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

ovftool failing to convert vmx to ovf

$
0
0

Hello,

I'm attempting to do a vmware to ovf converstion.  However, I'm receiving some fairly generic errors from ovftool and was hoping I could get some help.

 

Here are the console messages when I attempt to convert:

 

[root@provisionvrpt ~]# /usr/bin/ovftool --machineOutput --X:logToConsole=true /var/lib/vmware/Virtual\ Machines/vm/test.vmx /var/lib/vmware/Virtual\ Machines/vmovf/test.ovf
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 2 (SIGINT)
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 4 (SIGILL)
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 6 (SIGABRT)
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 8 (SIGFPE)
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 15 (SIGTERM)
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 1 (SIGHUP)
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 3 (SIGQUIT)
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 5 (SIGTRAP)
[2011-08-16 00:42:55.990 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 9 (SIGKILL)
[2011-08-16 00:42:55.991 B7FAC6D0 verbose 'ovftool'] Subscribing to signal: 13 (SIGPIPE)
[2011-08-16 00:42:55.991 B7FAC6D0 verbose 'ovftool'] [ovfTool.cpp] Using home directory /root/.ovftool
[2011-08-16 00:42:55.991 B7FAC6D0 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"
/machineOutput = "true"
/prgPath = "/opt/vmware/ovftool"
/source = "/var/lib/vmware/Virtual Machines/vm/test.vmx"
/target = "/var/lib/vmware/Virtual Machines/vmovf/test.ovf"

 

[2011-08-16 00:42:56.000 B7FAC6D0 verbose 'ovftool'] [ovfTool.cpp] Done initializing libs
[2011-08-16 00:42:56.000 B7FAC6D0 verbose 'ovftool'] [ovfTool.cpp] Determining source
[2011-08-16 00:42:56.212 B7FAC6D0 verbose 'ovftool'] [ovfTool.cpp] Determining target
[2011-08-16 00:42:57.488 B7FAC6D0 verbose 'ovftool'] Failed to open disk: /var/lib/vmware/Virtual Machines/vm/test.vmdk
[2011-08-16 00:42:57.488 B7FAC6D0 verbose 'ovftool'] Exception: The specified virtual disk needs repair
Error: Failed to open disk: test.vmdk
[2011-08-16 00:42:57.493 B7FAC6D0 verbose 'ovftool'] Backtrace:
[00] rip 050210b3
[01] rip 04eb6e9e
[02] rip 04e55ec2
[03] rip 081c014b
[04] rip 08310271
[05] rip 08311b54
[06] rip 0831ad24
[07] rip 0831b1f7
[08] rip 0831b74c
[09] rip 081f871a
[10] rip 0816fa45
[11] rip 080cd318
[12] rip 0317be9c
[13] rip 080ae4f1

 

But when I attempt to repair the disk, I get the following:

 

vmware-vdiskmanager -R /var/lib/vmware/Virtual\ Machines/vm/test.vmdk
No errors were found on the virtual disk, '/var/lib/vmware/Virtual Machines/vm/test.vmdk'.

 

Any help would be apprecaited.  Is there a way to increase the verbosity of the logging?

Here is my ovftool version info: VMware ovftool 2.0.1 (build-260188)

 

Thanks!

Mac OSX newbie - where is ovftool after installing the package

$
0
0

which ovftool

 

does not find a match after I have installed the latest version of the tool.  The User Guide does not specify where it is installed on OSX.  How do I validate that it was installed correctly?  I'm using OSX 10.7.x

 

jbayer$ ovftool
-bash: ovftool: command not found
I looked in /Library/Application Support
but I only see a Fusion directory, not one for the tool.
Thanks, James

Attempting to Sign an OVF Package

$
0
0

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

 

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

 

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

 

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

 

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

Error loading Operating System

$
0
0

I recently had an issue where I exported a VM as an OVF using the vSphere client, a few weeks later I needed to import the VM back into our environment and after importing I received an "Error loading Operating System" error.  I have imported and exported countless VMs as OVF files, and this is very frustrating.  I also have VMs sent to me from Government entities and I always express how they should send them as an OVF file since it makes it very easy for me to import.  Recently I had 1 out of 3 errors after the import with the same "Error loading Operating System" message.

 

I have tried to change the HD controller on the VM, I also created a New VM with the "custom" option and I chose the exact OS and vHardware for the VM, and I tried to use the existing .vmdk files and that does not work.  I'm just wondering if there is some simple fix out there for what I thought was a simple import and export.

 

I'm using ESXi 4.1 Update 2 on HP BL hardware...oh, I also have VMware Workstation 8, and I can mount the vmdk files.

Viewing all 34499 articles
Browse latest View live


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