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:
This issue id due to JSON RPC exception handling
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>
Created attachment 1014208 [details] Attaching the screenshot for the correct message
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.