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...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.0.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-4.0.0-beta
: 4.0.0
Assignee: Arik
QA Contact: sefi litmanovich
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
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


Links
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):
4.0.0-0.0.master.20160515171411.git6759e3f.el7.centos

How reproducible:
100

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 - 
https://gerrit.ovirt.org/#/c/56487

Comment 1 sefi litmanovich 2016-06-23 14:23:33 UTC
Verified with rhevm-4.0.0.6-0.1.el7ev.noarch 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.