Description of problem: Import template from export domain fails with NullPointerException When trying to import template from an export domain we fail with null pointer exception: 2021-06-27 17:25:41,908+03 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-12) [templates_syncAction_e7883731-0fb9-4] EVENT_ID: IMPORTEXPORT_IMPORT_TEMPLATE_FAILED(1,159), Failed to import Template IE_TEMPLATE_63 to Data Center golden_env_mixed, Cluster golden_env_mixed_1 2021-06-27 17:25:41,911+03 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-12) [] Operation Failed: [Internal Engine Error] 2021-06-27 17:25:41,902+03 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.PrepareImageVDSCommand] (default task-12) [templates_syncAction_e7883731-0fb9-4] Command 'Prepa reImageVDSCommand(HostName = host_mixed_2, PrepareImageVDSCommandParameters:{hostId='16935a6a-0eb3-49c2-863f-4e1b939a7409'})' execution failed: null 2021-06-27 17:25:41,903+03 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand] (default task-12) [templates_syncAction_e7883731-0fb9-4] Command 'org.ovi rt.engine.core.bll.exportimport.ImportVmTemplateCommand' failed: EngineException: java.lang.NullPointerException (Failed with error ENGINE and code 5001) Version-Release number of selected component (if applicable): rhvm-4.4.7.4-0.9.el8ev.noarch How reproducible: 100% Steps to Reproduce: 1. Try to import template from export domain Actual results: Fails with null pointer exception Expected results: Should work as expected Additional info: This bug was found in network tier2 suite and affecting several automated tests.
Lowering the severity since the export domain is deprecated.
Verified. Versions: ovirt-engine-4.4.7.6-0.11.el8ev.noarch The issue doesn't reproduce on the latest version and the import is done successfully from the export domain.
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
This bugzilla is included in oVirt 4.4.7 release, published on July 6th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.7 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.