OVA import of EL-6 VMs failing

Latest response

Has anyone had problems importing any RHEL-6 VMs into RHV 4.1? I can import RHEL-7 ones fine, here's what RHV-M is showing in the ovirt-engine/engile.log:

2017-07-10 00:36:23,458 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (default task-13) [19f42bcb] START, GetVmsInfoVDSCommand( GetVmsInfoVDSCommandParameters:{runAsync='true', storagePoolId='8d9f1548-aae6-4869-8463-405f554ecee1', ignoreFailoverLimit='false', storageDomainId='7fb31833-68d2-414c-9e6c-ebe0ff5c2c57', vmIdList='null'}), log id: 6c97bd5e
2017-07-10 00:36:24,486 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand] (default task-13) [19f42bcb] FINISH, GetVmsInfoVDSCommand, log id: 6c97bd5e
2017-07-10 00:36:24,731 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetImagesListVDSCommand] (default task-13) [19f42bcb] START, GetImagesListVDSCommand( GetImagesListVDSCommandParameters:{runAsync='true', storagePoolId='8d9f1548-aae6-4869-8463-405f554ecee1', ignoreFailoverLimit='false', sdUUID='4d840820-56ca-4559-81ba-870aae7b4ecb'}), log id: 6b054916
2017-07-10 00:36:25,750 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.GetImagesListVDSCommand] (default task-13) [19f42bcb] FINISH, GetImagesListVDSCommand, return: [27c6718a-dadb-4ba6-a9e7-545f5c8b2bb5, e99186b2-e128-420e-bb0b-8ab14f92375f, 62618b7f-e075-4f30-b8d7-f1761573357c, 802be560-cbe6-42a3-8cab-4f3b083d7ef1, 5f0d03cd-c38f-4cb6-861c-8ba3bf93b763, 84638609-f85b-4cad-9c81-98852b0d4ad1, 83623849-d256-46ec-abf4-9883a2bb0601, f231543b-d81a-43cf-9bf6-b18392b04f50], log id: 6b054916
2017-07-10 00:36:25,751 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (default task-13) [19f42bcb] START, DoesImageExistVDSCommand( GetImageInfoVDSCommandParameters:{runAsync='true', storagePoolId='8d9f1548-aae6-4869-8463-405f554ecee1', ignoreFailoverLimit='false', storageDomainId='7fb31833-68d2-414c-9e6c-ebe0ff5c2c57', imageGroupId='b2f94929-73f3-4cc1-bdbf-ad574719c57c', imageId='0e8b1898-4222-4b29-8d70-4033e3cced97'}), log id: 377e3afc
2017-07-10 00:36:26,780 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (default task-13) [19f42bcb] FINISH, DoesImageExistVDSCommand, return: true, log id: 377e3afc
2017-07-10 00:36:26,914 WARN  [org.ovirt.engine.core.bll.exportimport.ImportVmCommand] (default task-13) [] VM '22018539-6dae-4d0c-bac3-8c81f8b0bc14' doesn't have active snapshot in export domain
2017-07-10 00:36:27,099 INFO  [org.ovirt.engine.core.bll.exportimport.ImportVmCommand] (org.ovirt.thread.pool-6-thread-30) [19f42bcb] Running command: ImportVmCommand internal: false. Entities affected :  ID: 4d840820-56ca-4559-81ba-870aae7b4ecb Type: StorageAction group IMPORT_EXPORT_VM with role type ADMIN,  ID: 7fb31833-68d2-414c-9e6c-ebe0ff5c2c57 Type: StorageAction group IMPORT_EXPORT_VM with role type ADMIN
2017-07-10 00:36:27,139 INFO  [org.ovirt.engine.core.utils.transaction.TransactionSupport] (org.ovirt.thread.pool-6-thread-30) [19f42bcb] transaction rolled back
2017-07-10 00:36:27,139 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmCommand] (org.ovirt.thread.pool-6-thread-30) [19f42bcb] Command 'org.ovirt.engine.core.bll.exportimport.ImportVmCommand' failed: null
2017-07-10 00:36:27,139 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmCommand] (org.ovirt.thread.pool-6-thread-30) [19f42bcb] Exception: java.lang.reflect.UndeclaredThrowableException
    at com.sun.proxy.$Proxy181.isMacInRange(Unknown Source)
    at java.util.function.Predicate.lambda$negate$1(Predicate.java:80) [rt.jar:1.8.0_111]
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:174) [rt.jar:1.8.0_111]
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [rt.jar:1.8.0_111]
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [rt.jar:1.8.0_111]
    at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) [rt.jar:1.8.0_111]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [rt.jar:1.8.0_111]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [rt.jar:1.8.0_111]
    at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) [rt.jar:1.8.0_111]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [rt.jar:1.8.0_111]
    at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) [rt.jar:1.8.0_111]
    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:439) [bll.jar:]
    at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.addVmInterfaces(ImportVmCommandBase.java:553) [bll.jar:]
    at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.lambda$addVmToDb$0(ImportVmCommandBase.java:459) [bll.jar:]
    at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204) [utils.jar:]
    at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.addVmToDb(ImportVmCommandBase.java:455) [bll.jar:]
    at org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.executeCommand(ImportVmCommandBase.java:425) [bll.jar:]
    at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1305) [bll.jar:]
    at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1447) [bll.jar:]
    at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2075) [bll.jar:]
    at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:166) [utils.jar:]
    at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:105) [utils.jar:]
    at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1490) [bll.jar:]
    at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:398) [bll.jar:]
    at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.executeValidatedCommand(PrevalidatingMultipleActionsRunner.java:204) [bll.jar:]
    at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.runCommands(PrevalidatingMultipleActionsRunner.java:176) [bll.jar:]
    at org.ovirt.engine.core.bll.PrevalidatingMultipleActionsRunner.lambda$invokeCommands$3(PrevalidatingMultipleActionsRunner.java:182) [bll.jar:]
    at org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:92) [utils.jar:]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_111]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_111]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_111]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_111]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_111]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_111]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_111]
    at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_111]
    at org.ovirt.engine.core.utils.lock.LockedObjectFactory$LockingInvocationHandler.invoke(LockedObjectFactory.java:59) [utils.jar:]
    ... 34 more
Caused by: java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) [rt.jar:1.8.0_111]
    at java.lang.Long.parseLong(Long.java:601) [rt.jar:1.8.0_111]
    at org.ovirt.engine.core.utils.MacAddressRangeUtils.macToLong(MacAddressRangeUtils.java:123) [utils.jar:]
    at org.ovirt.engine.core.bll.network.macpool.MacPoolUsingRanges.isMacInRange(MacPoolUsingRanges.java:116) [bll.jar:]
    at org.ovirt.engine.core.bll.network.macpool.DelegatingMacPoolDecorator.isMacInRange(DelegatingMacPoolDecorator.java:56) [bll.jar:]
    ... 39 more

2017-07-10 00:36:27,162 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-30) [19f42bcb] Correlation ID: 19f42bcb, Job ID: 8200d597-0cb1-4dea-800f-6687d77973d5, Call Stack: null, Custom Event ID: -1, Message: Failed to import Vm bbs to Data Center DC1, Cluster cluster1

Responses