Import VM with OVF error

matteoamorth

Member
Sep 22, 2022
3
0
6
Hello everyone,
I'm trying to import a VM created on virtualbox using a OVA. I extracted the .vmdk, .mf and .ovf file. When I try to import the .ovf with the following line I always get this error:
Bash:
root@pve:~# qm importovf 250 ./win2003.ovf local-lvm -format qcow2
warning: unable to parse the VM name in this OVF manifest, generating a default value
error during import, cleaning up created resources...
import failed - unable to parse value of 'cores' - type check ('integer') failed - got ''
import failed - unable to parse value of 'memory' - type check ('integer') failed - got ''
root@pve:~#

I searched for some .ovf template but it didn't help. Here is the part I think should be changed but I don't know how to. I attached the whole .ovf file
XML:
<CPU count='4' cores='4'>
    <PAE enabled="false"/>
    <NestedHWVirt enabled="true"/>
    <LongMode enabled="false"/>
    <HardwareVirtExLargePages enabled="true"/>
    </CPU>
<Memory RAMSize='4096'/>
 

Attachments

Hello,

Can you change the Memory Line in the XML provided to be as the following:

XML:
<Memory RAMSize='4096' unit='MB'/>

i.e., Add the unit for the actual memory.
 
It doesn't work, the same error is still there:
Bash:
error during import, cleaning up created resources...
import failed - unable to parse value of 'memory' - type check ('integer') failed - got ''
 
UPDATE: I tried to upload the .ovf file empty and the error is still the same. If a template exists, it will be helpful to add this machine
 
I have the same Problem with an OVF import. I want to import the Virtual Applicance for the EATON Intelligent Power Manager:

EATON IPM VMware OVF
EATON IPM VirtualBox

It doesn't make a difference if I choose the VMware or the VirtualBox version. They both have the same OVF.

Any help would be greatly appreciated.
 
Last edited:
Hello everyone. It looks like I found the solution to pass this problem. For 2 days I was searching the solution and combined two approaches for that.
So you need or unpack an ova file or for example export VM from virtualbox like ovf. In this case VB saves it in unpacked version.
Then we should convert vmdk image to qcow and attach it to the empty VM in proxmox.
Please read the file, I prepared for you. As a last step you feel free to delete default disk image, that proxmox creates during VM initialization.
 

Attachments

Last edited:
  • Like
Reactions: Archgeus

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!