Bug 1190144 - Error msg: Name must be unique -> Name already used in the environment, create new unique name
Summary: Error msg: Name must be unique -> Name already used in the environment, creat...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Shmuel Melamud
QA Contact: Jiri Belka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-06 13:02 UTC by Jiri Belka
Modified: 2016-04-20 01:28 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-20 01:28:43 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 38081 0 master MERGED userportal: Descriptive message if VM name is already in use Never

Description Jiri Belka 2015-02-06 13:02:11 UTC
Description of problem:
When an user has only VmCreator role and he is logged into User Portal, he obviously can't see other VMs in the RHEVM environment. He can see only ones he created (as he gets UserVmManager)...

When this user creates new VM for example called 'test' and same VM already exists in the RHEVM environment but the user is not "owner" (neither UserRole nor UserVmManager) of the VM, thus he can't see it in the list, he gets an error msg on Name form 'Name must be unique'.

This msg is right but to be more friendly it would be better to explain that such name is already used even the user can't see it. Thus msg should be more informative.

Version-Release number of selected component (if applicable):
rhevm-userportal-3.5.0-0.31.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. create VM 'test' as admin@internal
2. be logged into User Portal with VmCreator role (nothing else)
3. create new VM called 'test'

Actual results:
'Name must be unique' but there's no VM visible in the VM list

Expected results:
more informative msg, for example 'Name already used in the environment, create new unique name'

Additional info:

Comment 1 Jiri Belka 2015-02-06 13:03:09 UTC
maybe name should not be unique at all ;)

Comment 2 Michal Skrivanek 2015-02-10 11:54:49 UTC
let's just fix the text. comment #1 is a much bigger scope we're not gonna address as part of this bug;-)

Comment 3 Jiri Belka 2015-09-08 09:33:25 UTC
ok, text is now more clear.

rhevm-userportal-3.6.0-0.13.master.el6.noarch


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