Bug 1209443

Summary: [New] - Cannot create volume using the bricks created from RHSC.
Product: [Retired] oVirt Reporter: RamaKasturi <knarra>
Component: ovirt-engine-webadminAssignee: Ramesh N <rnachimu>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6CC: bugs, ecohen, gklein, lsurette, mgoldboi, rbalakri, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: gluster
Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150428172821.git6090d93.el6.noarch.rpm Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:35:26 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:    
Bug Blocks: 1187461    
Attachments:
Description Flags
Attachment for creat volume error none

Description RamaKasturi 2015-04-07 11:27:32 UTC
Description of problem:
User is not able to create the volume using bricks created from rhsc. It gives operation cancelled error message.

Attached screenshot has the error message.

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

How reproducible:
Always

Steps to Reproduce:
1. Add a rhel7 host to UI
2. Now sync all the devices 
3. create a brick from the devices synced.
4. Now try creating volume using the brick.

Actual results:
It displays operation cancelled message.

Expected results:
User should be able to create the brick sucessfully.

Additional info:

Comment 1 RamaKasturi 2015-04-07 11:27:55 UTC
User should be able to create volume sucessfully.

Comment 2 RamaKasturi 2015-04-07 11:28:59 UTC
Created attachment 1011698 [details]
Attachment for creat volume error

Comment 3 Ramesh N 2015-04-14 05:38:08 UTC
We have to specify a directory under the mount instead of mount point as a brick. So to fix this, we can use brick name itself as a directory under the mount point. 

 Consider the following example:

If brick1 is mounted at /gluster-bricks/brick1, we will use /gluster-bricks/brick1/brick1 as the brick directory in volume creation.

Comment 4 Ramesh N 2015-04-20 06:13:58 UTC
Fixed it by adding the brick name itself as a directory under the mount point. 

For example, if the  brick1 is mounted at /gluster-bricks/brick1, /gluster-bricks/brick1/brick1 will be the brick directory shown in the add brick dialog.

Comment 5 RamaKasturi 2015-05-04 06:21:51 UTC
Verified and works fine with build ovirt-engine-3.6.0-0.0.master.20150429182702.git939c2e8.el6.noarch.

Now when user creates a brick from UI, the same brick can be used to create a volume and volume creation is successful.

Comment 6 Sandro Bonazzola 2015-11-04 11:35:26 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.