Description of problem: Can't import template from data domain We have a new regression on latest d/s and import template is failing with: 'Error while executing action: New_template: General command validation failure.' 2018-01-22 09:21:01,573+02 ERROR [org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromConfigurationCommand] (default task-11) [5e139c74-1940-4bef-b074-7dec95b57363] Error during ValidateFailure.: java.lang. NullPointerException at org.ovirt.engine.core.bll.exportimport.ImportVmTemplateFromConfigurationCommand.validate(ImportVmTemplateFromConfigurationCommand.java:135) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:779) [bll.jar:] at org.ovirt.engine.core.bll.CommandBase.validateOnly(CommandBase.java:368) [bll.jar:] Version-Release number of selected component (if applicable): 4.2.1.2-0.1.el7 How reproducible: 100% Steps to Reproduce: 1. Create a VM and create template from it 2. Detach data domain 3. Re-attach data domain 4. Try to import the template 5. Try to import the VM Actual results: 4. Failed - 'Error while executing action: New_template: General command validation failure.' 5. Failed - 'Error while executing action: golden_env_mixed_virtio_3: Cannot import VM. The relevant Template doesn't exist.' Expected results: Must work
Created attachment 1384229 [details] engine log
Benny/Maor - the patch is merged. Are we waiting for anything else, or should this BZ be MODIFIED?
Verified with the following code: --------------------------------------- ovirt-engine-4.2.1.3-0.1.el7.noarch vdsm-4.20.17-11.gite2d6775.el7.centos.x86_64 Verified with the following code: --------------------------------------- Steps to Reproduce: 1. Create a VM and create template from it 2. Detach data domain 3. Re-attach data domain 4. Try to import the template >>>>> Works fine 5. Try to import the VM >>>>> Works fine Moving to VERIFIED
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.1 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.