Bug 1184380

Summary: [New] - Creating a volume with bricks on the root partition gives "Error while executing action Create Gluster Volume: Unexpected exception"
Product: [Retired] oVirt Reporter: RamaKasturi <knarra>
Component: ovirt-engine-webadminAssignee: Darshan <dnarayan>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5CC: bugs, ecohen, gklein, lsurette, mgoldboi, rbalakri, rhsc-qe-bugs, sabose, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: gluster
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 12:58:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1207150    
Bug Blocks: 1187461    
Attachments:
Description Flags
Attaching screenshot for the proper message when bricks are created in root parition none

Description RamaKasturi 2015-01-21 09:20:16 UTC
Description of problem:
When user tries to create a volume with bricks on the root partition ovirt does not display an correct error message and says "Error while executing action Create Gluster Volume: Unexpected exception".

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


How reproducible:
Always

Steps to Reproduce:
1. While creating volume, add bricks to the volume from the root partition.
2. While adding the bricks give the path as "/b1" and "/b2"
3.

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

Expected results:
Ovirt should display a proper error message saying  The brick <brickname> is being created in the root partition. It is recommended that you don't use the system's root partition for storage
 backend. Or use 'force' at the end of the command if you want to override this behavior.


Additional info:

Comment 1 Sahina Bose 2015-04-06 07:02:51 UTC
Issue due to JSON RPC exception handling

Comment 2 RamaKasturi 2015-04-14 08:51:43 UTC
Verified and woks fine with build ovirt-engine-webadmin-portal-3.6.0-0.0.master.20150412172306.git55ba764.el6.noarch.

Proper message is being displayed when the bricks are being created in root partition. Attaching the screenshot for the same.

Comment 4 RamaKasturi 2015-04-14 08:53:17 UTC
Created attachment 1014211 [details]
Attaching screenshot for the proper message when bricks are created in root parition

Comment 5 Sandro Bonazzola 2015-11-04 12:58:41 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.