Bug 1368796 - No error for duplicate name of imported vm
Summary: No error for duplicate name of imported vm
Keywords:
Status: CLOSED DUPLICATE of bug 1403578
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.0.2.4
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-4.1.0-beta
: ---
Assignee: Benny Zlotnik
QA Contact: Raz Tamir
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-21 13:14 UTC by Kevin Alon Goldblatt
Modified: 2016-12-14 14:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-14 14:58:34 UTC
oVirt Team: Storage
Embargoed:
tnisan: ovirt-4.1?
kgoldbla: planning_ack?
kgoldbla: devel_ack?
kgoldbla: testing_ack?


Attachments (Terms of Use)
screen shot (157.38 KB, image/png)
2016-08-21 13:20 UTC, Kevin Alon Goldblatt
no flags Details

Description Kevin Alon Goldblatt 2016-08-21 13:14:41 UTC
Tested with the following code:
----------------------------------------
rhevm-4.0.2.4-0.1.el7ev.noarch
vdsm-4.18.10-1.el7ev.x86_64

Tested with the following scenario:


Steps to Reproduce:
1. Create vm with 3 disks
2. Export vm to export domain on dc1
3. Detach export domain from dc1 and attach to dc2
4. Destroy dc1
5. Web Admin - Storage - VM Import - import vm successfully
6. Web Admin - VM - Import >>>>> The export domain is displayed in the Source Field but an Error is displayed "Not available when no export domain is active" and No relevant vm's in the list are displayed for Loading
7. Select a different source and then select the previously displayed export domain >>>>> Now the relevant vm's in the list are displayed for Loading and can be loaded
8. Select to import a vm still present in the setup for loading and press load >>>>> nothing happens and NO ERROR is displayed
9. Change the name to one different than that of the existing one and press load >>>>> Now the vm is successfully loaded

Actual results:
When selecting a vm to import when the original vm still exists in the system nothing happens when pressing load - no error is displayed indicating that the name of the imported vm needs to be changed


Expected results:
If selecting to import a domain which still exists in the system, indicate to the user that the name exists and should be unique.


Additional info:
See screen shot

Comment 1 Kevin Alon Goldblatt 2016-08-21 13:20:40 UTC
Created attachment 1192582 [details]
screen shot

Added screen shot

Comment 2 fjj6600418 2016-10-10 09:18:03 UTC
(In reply to Kevin Alon Goldblatt from comment #1)
> Created attachment 1192582 [details]
> screen shot
> 
> Added screen shot

Comment 3 Tal Nisan 2016-12-14 14:58:34 UTC

*** This bug has been marked as a duplicate of bug 1403578 ***


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