Created attachment 1225791 [details] engine and vdsm logs Description of problem: After importing a template from glance repository and export that template to export domain, in case trying to import that template again to the system, the operation fails with: "Error while executing action: glance_tmp_Copy: Cannot import Template. The snapshot configuration is corrupted (snapshot ID is empty). Please contact the system administrator." From engine log: 2016-11-29 13:41:14,417+02 WARN [org.ovirt.engine.core.bll.exportimport.ImportVmTemplateCommand] (default task-20) [647d6d9f-4e9b-4418-b750-a2a2bc840d3b] Validation of action 'ImportVmTemplate' failed for user admin@internal-authz. Reasons: VAR__ACTION__IMPORT,VAR__TYPE__VM_TEMPLATE,ACTION_TYPE_FAILED_CORRUPTED_VM_SNAPSHOT_ID Version-Release number of selected component (if applicable): ovirt-engine-4.1.0-0.0.master.20161126211319.gitae69c34.el7.centos.noarch How reproducible: 100% Steps to Reproduce: 1. Import image from Glance as template 2. Export the template to export domain 3. Try to import the template (clone) with new name Actual results: "Error while executing action: glance_tmp_Copy: Cannot import Template. The snapshot configuration is corrupted (snapshot ID is empty). Please contact the system administrator." Expected results: Operation should succeed Additional info:
Patch was not backported to 4.1 to make it to the beta
Failed QA - ran the steps to reproduce and got the same issue: Error while executing action: golden_mixed_virtio_template_Copy: Cannot import Template. The snapshot configuration is corrupted (snapshot ID is empty). Please contact the system administrator.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Verified on rhevm-4.1.1.2-0.1.el7