Bug 1414237

Summary: [GSS][RFE] Extended attributes on bricks present even when gluster volume create command fails
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Abhishek Kumar <abhishku>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED WONTFIX QA Contact: Byreddy <bsrirama>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: rcyriac, rhs-bugs, storage-qa-internal, vbellur
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-24 05:32:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Abhishek Kumar 2017-01-18 06:43:47 UTC
Description of problem:
Extended attributes on bricks present even when gluster volume create command fails

Version-Release number of selected component (if applicable):
glusterfs-server-3.7.9-12.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Create a volume using one correct brick path(/brick1/b1) & 1 wrong brick path(/brick2/b10).
2.gluster volume create command will fail due to wrong brick path
3.Try to run again gluster volume create command with correct brick paths (/brick1/b1) & (/brick2/b2)

Actual results:
gives error for correct brick path in step one bricks like "/brick1/b1 is already part of a volume".

Expected results:
Gluster should roll-back all the xattrs set on bricks if gluster volume create command fails

Additional info:
We can over-ride this issue with use of 'force' in gluster volume create command but that will lead to further consequences by overlooking some other prerequisite,so it doesn't seem to be a good work around.

Comment 4 Atin Mukherjee 2017-02-24 05:32:09 UTC
I am closing this bug given the respective customer case is closed.