Bug 1020830

Summary: vm import: rhevm doesn't recognize that the template is present in the cluster when importing via webadmin
Product: Red Hat Enterprise Virtualization Manager Reporter: David Jaša <djasa>
Component: ovirt-engineAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, iheim, lpeer, mavital, ofrenkel, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: is23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1032811    

Description David Jaša 2013-10-18 11:00:56 UTC
Description of problem:
vm import: rhevm doesn't recognize that the template is present in the cluster when importing via webadmin so the user is unneccessarily forced to "collapse snapshots" and have the imported VMs based on Blank template

Version-Release number of selected component (if applicable):
is19:
rhevm-backend-3.3.0-0.26.master.el6ev.noarch
rhevm-webadmin-portal-3.3.0-0.26.master.el6ev.noarch
vdsm-4.13.0-0.3.beta1.el6ev.x86_64

How reproducible:


Steps to Reproduce:
1. have a template and two VMs based on that template in the export domain
2. import the template
3. try import first VM via:
      * webadmin
      * REST API

Actual results:
  * webadmin says that the template is not present and the VM has to be collapsed
  * API imports the VM just fine
  * once the first VM is imported via API, second VM can be imported via webadmin just fine

Expected results:
the template presence is being recognized just fine

Additional info:

Comment 1 Pavel Novotny 2013-11-15 09:24:44 UTC
Verified in rhevm-3.3.0-0.33.beta1.el6ev.noarch (is23).

Verified according to reproducer in comment 0.
The VM to be imported is recognized as template-based and if the template is present in RHEVM, it's paired to the VM, no warning message about missing template is shown and user can then choose to collapse/not collapse snapshots.

Comment 2 Itamar Heim 2014-01-21 22:21:14 UTC
Closing - RHEV 3.3 Released

Comment 3 Itamar Heim 2014-01-21 22:26:40 UTC
Closing - RHEV 3.3 Released