Bug 1034081 - Misleading error message when adding an existing Storage Domain
Summary: Misleading error message when adding an existing Storage Domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.3
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
: 3.5.0
Assignee: Fred Rolland
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-25 08:52 UTC by Vered Volansky
Modified: 2016-02-10 17:47 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-11 15:45:34 UTC
oVirt Team: Storage


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 31578 0 None None None Never

Description Vered Volansky 2013-11-25 08:52:39 UTC
Description of problem:
When creating a Storage domain using an export path that's already used within the same system for another storage domain, the error message relates to the name of the existing domain and not to the export path.

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

How reproducible:
100%

Steps to Reproduce:
1.Create a new Data/NFS Storage Domain. Say we name it s1.
2.Create a new Data/NFS Storage Domain with the same export path as above.

Actual results:
Error message - Create operation failed. Domain s1 already exists in the system.

Expected results:
An error message reflecting the fact that the path is already used in the system is a lot clearer than the mentioning of a named storage domain.

Suggestion:
Create operation failed. Export path already exists in the system.
(maybe add the used path itself as well).

Additional info:

Comment 1 Fred Rolland 2015-02-09 11:22:28 UTC
Fixed by commit http://gerrit.ovirt.org/#/c/31549/

webadmin: clarify error message on storage creation


Clarified error message in the webadmin when trying
to create a file storage domain with a used connection:
"Create operation failed. Storage connection is already
used by the following storage domain: {storage_name}."

Change-Id: Ifc91bc60e42c94b972bb8c2c26a2980072bfe43e
Bug-Url: https://bugzilla.redhat.com/1029934
Signed-off-by: Daniel Erez <derez>

Comment 2 Allon Mureinik 2015-02-11 15:45:34 UTC
This patch was backported to the 3.5 branch, and included in oVirt 3.5.0 RC1. 

Marking as CLOSED CURRENTRELEASE


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