Bug 845947

Summary: webadmin: cannot import a vm based on template when the template does not exist in the setup even with collapse snapshots
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engine-userportalAssignee: Gilad Chaplik <gchaplik>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: urgent    
Version: 3.1.0CC: abaron, amureini, dfediuck, dyasny, ecohen, hateya, iheim, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---Keywords: Regression
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: si18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:00:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screen shot none

Description Dafna Ron 2012-08-06 08:26:08 UTC
Description of problem:

We cannot import a vm based on template when the target template does not exist in setup even when we tag the collapse snapshots box. 
also, there is no error presented in the UI. the dialogue will simply not close when we press OK. 

Version-Release number of selected component (if applicable):

si13

How reproducible:

100%

Steps to Reproduce:
1. try to import a vm based on template when the setup does not have the template. try with and without collapse snapshots. 
2.
3.
  
Actual results:

we cannot import the vm with no errors/warning in the dialogue

Expected results:

we should be able to import the vm once we check the collapse box. 

Additional info:

Comment 1 Ayal Baron 2012-08-08 08:56:49 UTC
Does the template exist on the export domain? if not then it indeed should fail.

Comment 2 Dafna Ron 2012-08-08 10:42:08 UTC
1. if the template exists in the target domain (which is not the export) than it should not fail. if the template does not exist in the target domain (which it doesn't than yes, it should fail unless we select the collapse snapshot box and in which case the export should succeed. 
2. the UI shows no failure. we simply press the OK button and nothing happens.

Comment 4 Gilad Chaplik 2012-08-19 09:26:52 UTC
pushed upstream (http://gerrit.ovirt.org/#/c/7313/)

Comment 6 Dafna Ron 2012-09-05 09:44:16 UTC
Created attachment 609953 [details]
screen shot

tested in si17

although I have a nice warning when I choose the collapse I still cannot import the vm since the OK button is missing from the dialogue.

Comment 7 Gilad Chaplik 2012-09-06 13:19:56 UTC
in gerrit (http://gerrit.ovirt.org/#/c/7815/)

Comment 11 Dafna Ron 2012-09-16 08:19:03 UTC
verified on si18