VirtualBox

Opened 10 years ago

Closed 4 years ago

#12634 closed defect (obsolete)

OVF export standard violation: URI in HostResource

Reported by: The Loeki Owned by:
Component: OVF Version: VirtualBox 4.3.6
Keywords: export Cc:
Guest type: all Host type: all

Description

One of the reasons the OVF / OVA files generated by VirtualBox won't be picked up easily is this violation of the standard; a disk will be output like

<Item>

<rasd:AddressOnParent>0</rasd:AddressOnParent> <rasd:Caption>disk1</rasd:Caption> <rasd:Description>Disk Image</rasd:Description> <rasd:ElementName>disk1</rasd:ElementName> <rasd:HostResource>/disk/vmdisk1</rasd:HostResource> <rasd:InstanceID>12</rasd:InstanceID> <rasd:Parent>5</rasd:Parent> <rasd:ResourceType>17</rasd:ResourceType>

</Item>

According to the specs @ http://schemas.dmtf.org/wbem/cim-html/2.39.0+/CIM_ResourceAllocationSettingData.html, "the HostResource property shall be formated as a URI per RFC3986".

So, (at least according to VMware, I'm not that well-versed in the standard), the line should read

<rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>

Change History (2)

comment:2 by aeichner, 4 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still an issue with a supported VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use