Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1034081

Summary: Misleading error message when adding an existing Storage Domain
Product: [Retired] oVirt Reporter: Vered Volansky <vered>
Component: ovirt-engine-webadminAssignee: Fred Rolland <frolland>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.3CC: amureini, bugs, ecohen, iheim, mgoldboi, rbalakri, scohen, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 15:45:34 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:

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