Bug 1364171 - import dialog: Incorrect dialog behavior when trying to import VM with name duplication in RHEVM.
Summary: import dialog: Incorrect dialog behavior when trying to import VM with name d...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.0.2.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.0.4
: 4.0.4
Assignee: Sharon Gratch
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-04 15:39 UTC by Nisim Simsolo
Modified: 2016-09-26 12:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-09-26 12:39:56 UTC
oVirt Team: Virt
Embargoed:
tjelinek: ovirt-4.0.z?
rule-engine: planning_ack?
rule-engine: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
Video capture of this issue (2.13 MB, video/mp4)
2016-08-04 15:40 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 62684 0 master MERGED added support for isRunOnlyIfAllValidation flag 2016-08-25 06:25:47 UTC
oVirt gerrit 62691 0 master MERGED webadmin: v2v- avoid closing wizard if vm's validation failed 2016-08-25 08:45:33 UTC
oVirt gerrit 62824 0 ovirt-engine-4.0 MERGED added support for isRunOnlyIfAllValidation flag 2016-08-25 13:23:17 UTC
oVirt gerrit 62825 0 ovirt-engine-4.0 MERGED webadmin: v2v- avoid closing wizard if vm's validation failed 2016-08-25 13:23:26 UTC

Description Nisim Simsolo 2016-08-04 15:39:56 UTC
Description of problem:
When trying to import VM with a name which already exist in RHEVM, an error message pop up appears, and when clicking "close" button, the dialog gets closed. 
instead of it, the import dialog should appear again in its last state (with the selected VMs and VMs parameters) so the user can change the VM name before the import, otherwise, the webadmin user should go through the whole import dialog again.


Version-Release number of selected component (if applicable):
ovirt-engine-4.0.2.2-0.1.el7ev

How reproducible:
Consistently

Steps to Reproduce:
1. Browse webadmin -> Virtual machines tab -> import dialog
2. Try to import VM with a name that already exist in RHEVM.


Actual results:
- an error while executing action pop up appears:
Import VM failed - VM Name already exist in the system. Please rename the VM in the system first
- When clicking "close", the dialog is closed.

Expected results:
After clicking "close" on the warning message, the import dialog should get back to the last state it was.


Additional info:
Screen video capture attached.

Comment 1 Nisim Simsolo 2016-08-04 15:40:51 UTC
Created attachment 1187571 [details]
Video capture of this issue

Comment 2 meital avital 2016-09-01 14:49:16 UTC
Verified on:
ovirt-engine-4.0.4-0.1.el7ev.noarch
qemu-kvm-rhev-2.3.0-31.el7_2.21.x86_64
vdsm-4.18.12-1.el7ev.x86_64
libvirt-client-1.2.17-13.el7_2.5.x86_64


Note You need to log in before you can comment on or make changes to this bug.