Bug 1184376 - [New] - Creating a volume with a brick which is already part of another volume does not give a proper error message.
Summary: [New] - Creating a volume with a brick which is already part of another volum...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.6.0
Assignee: Darshan
QA Contact: Pavel Stehlik
URL:
Whiteboard: gluster
Depends On: 1207150
Blocks: rhsc_qe_tracker_everglades
TreeView+ depends on / blocked
 
Reported: 2015-01-21 09:07 UTC by RamaKasturi
Modified: 2016-02-10 19:28 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-04 13:00:07 UTC
oVirt Team: Gluster
Embargoed:


Attachments (Terms of Use)
Attaching the screenshot for the correct message (174.01 KB, image/png)
2015-04-14 08:50 UTC, RamaKasturi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 39573 0 master MERGED gluster: Handle gluster exceptions in json rpc mode. Never
oVirt gerrit 39937 0 ovirt-3.5-gluster ABANDONED gluster: Handle gluster exceptions in json rpc mode. Never

Description RamaKasturi 2015-01-21 09:07:26 UTC
Description of problem:
When user tries to create a volume with the bricks which are already part of another volume, ovirt does not display a proper error message.

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-3.6.0-0.0.master.20150105124153.git669ddc1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a volume with name "vol1" and bricks /rhs/brick1/b1 and /rhs/brick1/b2.
2. Delete the volume vol1.
3. Create another volume say vol2 with bricks used to create vol1. 

Actual results:
Error while executing action Create Gluster Volume: Unexpected exception

Expected results:
An error message should be displayed telling the user that "these bricks are already part of another volume".

Additional info:

Comment 1 Sahina Bose 2015-04-06 07:01:30 UTC
This issue id due to JSON RPC exception handling

Comment 2 RamaKasturi 2015-04-14 08:49:07 UTC
verified and works fine in the build ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764.el6.noarch.

The following error message gets displayed "Error while executing action: Cannot create Gluster Volume. Brick <brickname> is already used by the volume <vol_name>

Comment 3 RamaKasturi 2015-04-14 08:50:04 UTC
Created attachment 1014208 [details]
Attaching the screenshot for the correct message

Comment 4 Sandro Bonazzola 2015-11-04 13:00:07 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.


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