Bug 1336405 - Failed to import template from export domain with 'General command validation failure.'
Summary: Failed to import template from export domain with 'General command validation...
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.0.0
Hardware: x86_64
OS: Linux
Target Milestone: ovirt-4.0.0-beta
: 4.0.0
Assignee: Arik
QA Contact: sefi litmanovich
Depends On:
TreeView+ depends on / blocked
Reported: 2016-05-16 11:56 UTC by Michael Burman
Modified: 2016-07-05 07:38 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-07-05 07:38:26 UTC
oVirt Team: Virt
rule-engine: ovirt-4.0.0+
rule-engine: blocker+
rule-engine: planning_ack+
michal.skrivanek: devel_ack+
mavital: testing_ack+

Attachments (Terms of Use)
engine log (664.22 KB, application/x-gzip)
2016-05-16 11:56 UTC, Michael Burman
no flags Details

System ID Private Priority Status Summary Last Updated
oVirt gerrit 57516 0 master MERGED core: fix NPE on import template 2016-05-16 13:32:40 UTC

Description Michael Burman 2016-05-16 11:56:07 UTC
Created attachment 1157863 [details]
engine log

Description of problem:
Failed to import template from export domian with 'General command validation failure.'

Not possible to import template from export domian --> 

2016-05-16 14:48:03,803 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand] (default task-3) [d90a2bf] Error during ValidateFailure.: java.lang.NullPointerException
        at org.ovirt.engine.core.bll.validator.ImportValidator.getMacPool(ImportValidator.java:185) [bll.jar:]
        at org.ovirt.engine.core.bll.validator.ImportValidator.validateMacAddress(ImportValidator.java:107) [bll.jar:]
        at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand.validate(ImportVmTemplateCommand.java:213) [bll.jar:]

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

How reproducible:

Steps to Reproduce:
1. Create template and export to export domain
2. Try to import the template

Actual results:
Failed with NPE

Expected results:
Should work as expected

Additional info:
Maybe this is the patch that caused this regression - 

Comment 1 sefi litmanovich 2016-06-23 14:23:33 UTC
Verified with rhevm- according to steps in description.
Import from export domain is working fine.

Comment 2 Sandro Bonazzola 2016-07-05 07:38:26 UTC
oVirt 4.0.0 has been released, closing current release.

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