VirtualBox

Opened 10 years ago

Closed 8 years ago

#13354 closed defect (obsolete)

Import of OVF containing a disk without ovf:fileref fails (VERR_TAR_END_OF_FILE).

Reported by: hsychla Owned by:
Component: OVF Version: VirtualBox 4.3.14
Keywords: VERR_TAR_END_OF_FILE, ovf, fileref Cc:
Guest type: other Host type: other

Description

Importing an OVF that contains a disk without the ovf:fileref parameter fails with error VERR_TAR_END_OF_FILE.

Removing the following sections from the OVF fixes the problem but makes us add the second HDD manually after deployment:

<Disk ovf:capacity="60" ovf:capacityAllocationUnits="byte * 2^30" ovf:diskId="vmdisk2" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized"/>
[...]
<Item>
  <rasd:AddressOnParent>1</rasd:AddressOnParent>
  <rasd:ElementName>Hard Disk 2</rasd:ElementName>
  <rasd:HostResource>ovf:/disk/vmdisk2</rasd:HostResource>
  <rasd:InstanceID>8</rasd:InstanceID>
  <rasd:Parent>4</rasd:Parent>
  <rasd:ResourceType>17</rasd:ResourceType>
  <vmw:Config ovf:required="false" vmw:key="backing.writeThrough" vmw:value="false"/>
</Item>

The OVF specification (http://www.dmtf.org/sites/default/files/standards/documents/DSP0243_2.1.0.pdf, Line 776-777) states

Omitting the ovf:fileRef attribute shall indicate an empty disk. In this case, the disk shall be created and the entire disk content zeroed at installation time.

Change History (1)

comment:1 by aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette