Created attachment 1672961 [details] Importing a registered template was completed successfully, and there're 2 templates with the same name on the DC. Description of problem: While importing a registered template from a data storage domain, and in case there's already exists template with that name on the same DC, the operation should be blocked with a "not a unique name" (as happens when trying to create a new template with an already existing name). Version-Release number of selected component (if applicable): master-4.4.0-git8cfe9af1ca6 How reproducible: 100% Steps to Reproduce: 1. Create a template over an SD. 2. Detach that SD from the DC. 3. Create another template, with the same name from #1, over a different SD on that DC. 4. Attach the SD from #2 back to the DC. 5. Import the template from #1. Actual results: The import was completed successfully, and there're 2 templates with the same name on the DC. Expected results: Importing a registered template with already exists name shouldn't be allowed. Additional info: Screenshot attached.
Verified on engine-4.4.0-0.31.master.el8ev.
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 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.