Why importing VMware OVA file to RHV 4 environment is failing with MAC address error

Solution Verified - Updated -

Issue

  • While importing VMs from VMware OVA file, it's failing with below error in the engine log
2016-09-19 09:53:42,983 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmCommand] (org.ovirt.thread.pool-6-thread-44) [66befa61] Exception: java.lang.reflect.UndeclaredThrowableException
        at com.sun.proxy.$Proxy181.isMacInRange(Unknown Source)
        at org.ovirt.engine.core.bll.network.vm.ExternalVmMacsFinder.findExternalMacAddresses(ExternalVmMacsFinder.java:38) [bll.jar:]
        at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.reportExternalMacs(ImportVmCommandBase.java:435) [bll.jar:]
        at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.addVmInterfaces(ImportVmCommandBase.java:549) [bll.jar:]
        at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.lambda$addVmToDb$1(ImportVmCommandBase.java:455) [bll.jar:]
  • This is happening when directly importing the VMware OVA from the admin portal and also when importing the VM from export domain after doing virt-v2v manually.

Environment

  • Red Hat Virtualization 4.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content