Bug 1184380 - [New] - Creating a volume with bricks on the root partition gives "Error while executing action Create Gluster Volume: Unexpected exception"
Summary: [New] - Creating a volume with bricks on the root partition gives "Error whi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.5
Hardware: Unspecified
OS: Unspecified
medium
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:20 UTC by RamaKasturi
Modified: 2016-02-10 19:29 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-04 12:58:41 UTC
oVirt Team: Gluster
Embargoed:


Attachments (Terms of Use)
Attaching screenshot for the proper message when bricks are created in root parition (184.03 KB, image/png)
2015-04-14 08:53 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: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.


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