Bug 1762281 - Import of OVA created from template fails with java.lang.NullPointerException
Summary: Import of OVA created from template fails with java.lang.NullPointerException
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.3.5
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: Andrej Krejcir
QA Contact: Nisim Simsolo
URL:
Whiteboard:
: 1765238 (view as bug list)
Depends On:
Blocks: 1417161 1789737
TreeView+ depends on / blocked
 
Reported: 2019-10-16 12:01 UTC by Koutuk Shukla
Modified: 2023-09-07 20:48 UTC (History)
8 users (show)

Fixed In Version: rhv-4.4.0-29
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1789737 (view as bug list)
Environment:
Last Closed: 2020-08-04 13:20:56 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:
lsvaty: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4505801 0 None None None 2019-10-17 09:46:50 UTC
Red Hat Product Errata RHSA-2020:3247 0 None None None 2020-08-04 13:21:18 UTC
oVirt gerrit 105160 0 master MERGED core: Add base class for template import 2021-01-12 05:44:48 UTC
oVirt gerrit 105175 0 master MERGED core: Partially decouple ImportVmTemplateCommand from MoveOrCopyTemplateCommand 2021-01-12 05:44:48 UTC
oVirt gerrit 105176 0 master MERGED core: Code cleanup in ImportVmTemplateCommand 2021-01-12 05:44:11 UTC
oVirt gerrit 105339 0 master MERGED core: Fix NPE in GetFromOvaQuery 2021-01-12 05:44:12 UTC

Description Koutuk Shukla 2019-10-16 12:01:58 UTC
Description of problem:

Import of template OVA fails with java.lang.NullPointerException

Version-Release number of selected component (if applicable):

Red Hat Virtualization 4.3.5

How reproducible:

100%

Steps to Reproduce:

Go to Templates --> Import --> Source ( OVA ) --> Add details of OVA file path --> Next --> Ok

Actual results:
 Import of template OVA fails immediately.

Expected results:
 Import of template OVA should succeed.

Additional info:

Comment 2 Koutuk Shukla 2019-10-16 12:11:51 UTC
Reproduced the issue in test environment

    RHV :
    rhvm-4.3.5.5-0.1.el7.noarch

    Host:
    Red Hat Virtualization Host 4.3.4 (el7.6)
    vdsm-4.30.17-1.el7ev
    libvirt-4.5.0-10.el7_6.12

    template OVA name: 
    RHEL-7-template

    engine.log :

    2019-10-16 08:07:51,055-04 INFO  [org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromOvaCommand] (EE-ManagedThreadFactory-engine-Thread-314621) [12629967-7374-4b38-89b3-30fd9d406d93] Running command: ImportVmTemplateFromOvaCommand internal: false. Entities affected :  ID: a30d6857-596f-440c-8f62-5bc8fc4b217a Type: StorageAction group IMPORT_EXPORT_VM with role type ADMIN
    2019-10-16 08:07:51,059-04 ERROR [org.ovirt.engine.core.vdsbroker.ResourceManager] (EE-ManagedThreadFactory-engine-Thread-314621) [12629967-7374-4b38-89b3-30fd9d406d93] createCommand failed: null
    2019-10-16 08:07:51,059-04 ERROR [org.ovirt.engine.core.vdsbroker.ResourceManager] (EE-ManagedThreadFactory-engine-Thread-314621) [12629967-7374-4b38-89b3-30fd9d406d93] Exception: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_222]
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_222]
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_222]
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [rt.jar:1.8.0_222]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.instantiateInjectedCommand(ResourceManager.java:365) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.createCommand(ResourceManager.java:349) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.runVdsCommand(ResourceManager.java:395) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager$Proxy$_$$_WeldSubclass.runVdsCommand$$super(Unknown Source) [vdsbroker.jar:]
            at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) [:1.8.0_222]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_222]
            at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_222]
            at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.ovirt.engine.core.common.di.interceptor.LoggingInterceptor.apply(LoggingInterceptor.java:12) [common.jar:]
            at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) [:1.8.0_222]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_222]
            at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_222]
            at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:73) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.ovirt.engine.core.vdsbroker.ResourceManager$Proxy$_$$_WeldSubclass.runVdsCommand(Unknown Source) [vdsbroker.jar:]
            at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33) [bll.jar:]
            at org.ovirt.engine.core.bll.storage.disk.image.ImagesHandler.prepareImage(ImagesHandler.java:985) [bll.jar:]
            at org.ovirt.engine.core.bll.storage.disk.image.ImagesHandler.getQemuImageInfoFromVdsm(ImagesHandler.java:836) [bll.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.getQemuImageInfo(ImportVmTemplateCommand.java:795) [bll.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.updateDiskSizeByQcowImageInfo(ImportVmTemplateCommand.java:785) [bll.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.initImportClonedTemplateDisks(ImportVmTemplateCommand.java:372) [bll.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.lambda$executeCommand$1(ImportVmTemplateCommand.java:461) [bll.jar:]
            at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202) [utils.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.executeCommand(ImportVmTemplateCommand.java:459) [bll.jar:]
            at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1157) [bll.jar:]
            at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1315) [bll.jar:]
            at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1964) [bll.jar:]
            at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:164) [utils.jar:]
            at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:103) [utils.jar:]
            at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1375) [bll.jar:]
            at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:419) [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:96) [utils.jar:]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_222]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_222]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_222]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_222]
            at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_222]
            at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250) [javax.enterprise.concurrent.jar:1.0.0.redhat-1]
    Caused by: java.lang.NullPointerException
            at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) [rt.jar:1.8.0_222]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.getVdsManager(ResourceManager.java:226) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager$Proxy$_$$_WeldSubclass.getVdsManager(Unknown Source) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.getVdsManager(ResourceManager.java:222) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager$Proxy$_$$_WeldSubclass.getVdsManager(Unknown Source) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.initializeVdsBroker(VdsBrokerCommand.java:65) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.<init>(VdsBrokerCommand.java:46) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.vdsbroker.ImageActionsVDSCommandBase.<init>(ImageActionsVDSCommandBase.java:10) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand.<init>(PrepareImageVDSCommand.java:9) [vdsbroker.jar:]
            ... 50 more

    2019-10-16 08:07:51,064-04 INFO  [org.ovirt.engine.core.utils.transaction.TransactionSupport] (EE-ManagedThreadFactory-engine-Thread-314621) [12629967-7374-4b38-89b3-30fd9d406d93] transaction rolled back
    2019-10-16 08:07:51,065-04 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromOvaCommand] (EE-ManagedThreadFactory-engine-Thread-314621) [12629967-7374-4b38-89b3-30fd9d406d93] Command 'org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromOvaCommand' failed: null
    2019-10-16 08:07:51,065-04 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromOvaCommand] (EE-ManagedThreadFactory-engine-Thread-314621) [12629967-7374-4b38-89b3-30fd9d406d93] Exception: java.lang.RuntimeException
            at org.ovirt.engine.core.vdsbroker.ResourceManager.createCommand(ResourceManager.java:355) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.runVdsCommand(ResourceManager.java:395) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager$Proxy$_$$_WeldSubclass.runVdsCommand$$super(Unknown Source) [vdsbroker.jar:]
            at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) [:1.8.0_222]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_222]
            at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_222]
            at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:51) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:78) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.ovirt.engine.core.common.di.interceptor.LoggingInterceptor.apply(LoggingInterceptor.java:12) [common.jar:]
            at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) [:1.8.0_222]
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_222]
            at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_222]
            at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:73) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68) [weld-core-impl.jar:3.0.6.Final-redhat-00001]
            at org.ovirt.engine.core.vdsbroker.ResourceManager$Proxy$_$$_WeldSubclass.runVdsCommand(Unknown Source) [vdsbroker.jar:]
            at org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.runVdsCommand(VDSBrokerFrontendImpl.java:33) [bll.jar:]
            at org.ovirt.engine.core.bll.storage.disk.image.ImagesHandler.prepareImage(ImagesHandler.java:985) [bll.jar:]
            at org.ovirt.engine.core.bll.storage.disk.image.ImagesHandler.getQemuImageInfoFromVdsm(ImagesHandler.java:836) [bll.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.getQemuImageInfo(ImportVmTemplateCommand.java:795) [bll.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.updateDiskSizeByQcowImageInfo(ImportVmTemplateCommand.java:785) [bll.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.initImportClonedTemplateDisks(ImportVmTemplateCommand.java:372) [bll.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.lambda$executeCommand$1(ImportVmTemplateCommand.java:461) [bll.jar:]
            at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202) [utils.jar:]
            at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.executeCommand(ImportVmTemplateCommand.java:459) [bll.jar:]
            at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1157) [bll.jar:]
            at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1315) [bll.jar:]
            at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1964) [bll.jar:]
            at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:164) [utils.jar:]
            at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:103) [utils.jar:]
            at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1375) [bll.jar:]
            at org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:419) [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:96) [utils.jar:]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_222]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_222]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_222]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_222]
            at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_222]
            at org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:250) [javax.enterprise.concurrent.jar:1.0.0.redhat-1]
    Caused by: java.lang.NullPointerException
            at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) [rt.jar:1.8.0_222]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.getVdsManager(ResourceManager.java:226) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager$Proxy$_$$_WeldSubclass.getVdsManager(Unknown Source) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.getVdsManager(ResourceManager.java:222) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager$Proxy$_$$_WeldSubclass.getVdsManager(Unknown Source) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.initializeVdsBroker(VdsBrokerCommand.java:65) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.<init>(VdsBrokerCommand.java:46) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.vdsbroker.ImageActionsVDSCommandBase.<init>(ImageActionsVDSCommandBase.java:10) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand.<init>(PrepareImageVDSCommand.java:9) [vdsbroker.jar:]
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_222]
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_222]
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_222]
            at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [rt.jar:1.8.0_222]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.instantiateInjectedCommand(ResourceManager.java:365) [vdsbroker.jar:]
            at org.ovirt.engine.core.vdsbroker.ResourceManager.createCommand(ResourceManager.java:349) [vdsbroker.jar:]
            ... 44 more

    2019-10-16 08:07:51,113-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-314621) [12629967-7374-4b38-89b3-30fd9d406d93] EVENT_ID: IMPORTEXPORT_IMPORT_TEMPLATE_FAILED(1,159), Failed to import Template RHEL-7-template to Data Center Default, Cluster Default
    2019-10-16 08:07:51,911-04 INFO  [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-45) [12629967-7374-4b38-89b3-30fd9d406d93] Command 'ImportVmTemplateFromOva' id: '1425b51a-7a17-4301-9bbf-3b4a5f7ea8c6' execution didn't complete, not proceeding to perform the next operation
    2019-10-16 08:07:51,911-04 INFO  [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (EE-ManagedThreadFactory-engineScheduled-Thread-45) [12629967-7374-4b38-89b3-30fd9d406d93] Command 'ImportVmTemplateFromOva' id: '1425b51a-7a17-4301-9bbf-3b4a5f7ea8c6' child commands '[]' executions were completed, status 'FAILED'
    2019-10-16 08:07:52,929-04 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromOvaCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-98) [12629967-7374-4b38-89b3-30fd9d406d93] Ending command 'org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromOvaCommand' with failure.
    2019-10-16 08:07:52,996-04 INFO  [org.ovirt.engine.core.bll.storage.disk.image.RemoveAllVmImagesCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-98) [3befd8d7] Running command: RemoveAllVmImagesCommand internal: true. Entities affected :  ID: 39588309-231b-41b3-949d-242307402826 Type: VM
    2019-10-16 08:07:53,024-04 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-98) [3befd8d7] EVENT_ID: IMPORTEXPORT_IMPORT_TEMPLATE_FAILED(1,159), Failed to import Template RHEL-7-template to Data Center Default, Cluster Default

Comment 3 Miguel Martin 2019-10-24 16:42:45 UTC
*** Bug 1765238 has been marked as a duplicate of this bug. ***

Comment 7 RHV bug bot 2020-01-08 14:49:43 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 8 RHV bug bot 2020-01-08 15:18:07 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 10 RHV bug bot 2020-01-24 19:51:31 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{}', ]

For more info please contact: rhv-devops

Comment 14 Lukas Svaty 2020-05-20 13:40:14 UTC
High PM score - can we verify this one?

Comment 15 Nisim Simsolo 2020-06-02 14:17:58 UTC
Verification builds:
ovirt-engine-4.4.1.1-0.5.el8ev
vdsm-4.40.17-1.el8ev.x86_64
libvirt-daemon-6.0.0-22.module+el8.2.1+6815+1c792dc8.x86_64
qemu-kvm-4.2.0-22.module+el8.2.1+6758+cb8d64c2.x86_64


Verification scenario:
1. Export VM with 4 disks as OVA.
   Verify VM exported successfully.
2. Import OVA. 
   Run VM and verify VM is running.
3. Make template from VM with 4 disks. export template as OVA.
   Verify template exported as OVA successfully.
4. Import template as clone from OVA.
   Verify Template imported successfully.
5. Create VM from imported template.
   Run VM and verify VM is running.

Comment 19 errata-xmlrpc 2020-08-04 13:20:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3247


Note You need to log in before you can comment on or make changes to this bug.