VMware {code} Community
vmwaredownload
Enthusiast
Enthusiast

Fail to deploy VM via ova on vSphere 6.5

I tried to deploy our product in vCenter v6.5 via ova, however, deploy failed with error reported in wizard, saying "PARSE_ERROR: Parse error: Unexpected character 'v' (code 118) in prolog, expected '<' at [row,col,system-id]: [1,1,"descriptor.ovf"]."

Deployment Failure in vCenter 6.5.png

It seems that there is something not parsed in the ovf descriptor prolog, what is it exactly? I copied part of my ovf file below:

<?xml version="1.0" encoding="UTF-8"?>
<Envelope xml:lang="en-US" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:ovfstr="http://schema.dmtf.org/ovf/strings/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" xsi:schemaLocation="http://schemas.dmtf.org/ovf/envelope/1 ../ovf-envelope.xsd">
<!--Reference of all external files-->


<References>
  <File ovf:href="OS--4.2.0.8731291-disk1.vmdk" ovf:id="file1" ovf:size="2293100032"/>

</References>
<DiskSection ovf:required="false">
  <Info>Virtual disk information</Info>
  <Disk ovf:capacity="22" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="2289434624"/>
</DiskSection>
<NetworkSection>
  <Info>The list of logical networks</Info>
  <Network ovf:id="0" ovf:name="Management Network">
   <Description>Network for the management port(s)</Description>
  </Network>

.......

0 Kudos
3 Replies
laurentsd
VMware Employee
VMware Employee

This forum is dedicated to Web Client SDK questions.  Sorry we can't help on general support questions, you're better off posting into a vSphere 6.5 forum with people more knowledgeable! Thanks.

0 Kudos
eric2015
VMware Employee
VMware Employee

This is an OVF parsing issue, possibly the OVF descriptor is not valid. Please send me the complete OVF descriptor so we can take a look. Thanks!
0 Kudos
markp88
Contributor
Contributor

I had the same problem, which was solved by changing the .ovf file (inside the .ova tar file) from DOS-style line endings to UNIX-style.

0 Kudos