[pve-devel] [PATCH storage/qemu-server/manager v7] implement ova/ovf import for file based storages
Thomas Lamprecht
t.lamprecht at proxmox.com
Mon Nov 18 18:46:44 CET 2024
Am 18.11.24 um 18:35 schrieb Aaron Lauterer:
>> Upon clicking "Import" in the web UI the "Import Guest" dialog opens
>> along with an error message stating:
>> XPath error : Undefined namespace prefix at /usr/share/perl5/PVE/
>> GuestImport/OVF.pm line 239. (500)
> I untar'ed that OVA and inspected the OVF. The filter for that is:
> my $xpath_find_firmware =
> "/ovf:Envelope/ovf:VirtualSystem/ovf:VirtualHardwareSection/vmw:Config[\@vmw:key=\"firmware\"]/\@vmw:value";
>
> The GNS3 OVF does have `vmw:Config` elements, though none for the
> firmware -> Default SeaBIOS
>
> The CentOS OVF does not have any `vmw:Config` sub elements in that
> search path. That is probably what is causing the issue.
There might also be a
$xpc->registerNs('vmw', "???");
missing further above?
But I need to relearn that xpath/xml stuff, I was blessed for way to long
to just ignore (and forget) most of it.
More information about the pve-devel
mailing list