Bug 1188886 - volume extended attributes remain on failed volume creation
Summary: volume extended attributes remain on failed volume creation
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: 3.6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-03 22:59 UTC by Joe Julian
Modified: 2016-08-01 04:43 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-08-01 04:42:37 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Joe Julian 2015-02-03 22:59:09 UTC
Description of problem:
When a volume creation fails, extended attributes are left behind on any bricks that were not part of that failure.

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

How reproducible:
Always

Steps to Reproduce:
1. Pick a brick and do something to ensure it fails, make the filesystem read only, use selinux to block access, whatever. Call this server3:/brick1
2. Create a volume: gluster volume create fubar server{1,2,3}:/brick1
3. When volume creation fails on server[12], getfattr -n trusted.glusterfs.volume-id -e hex /brick1

Actual results:
volume-id exists preventing additional attempts at creating a volume with those server/brick combinations.

Expected results:
A failed volume creation should return the potential brick to pre-attempt state.

Additional info:
This is a common problem seen in #gluster. Users do not understand, based on the error message, what the cause of the problem is nor how to fix it.

Comment 1 Atin Mukherjee 2016-08-01 04:42:37 UTC
This is not a security bug, not going to fix this in 3.6.x because of
http://www.gluster.org/pipermail/gluster-users/2016-July/027682.html

Comment 2 Atin Mukherjee 2016-08-01 04:43:57 UTC
If the issue persists in the latest releases, please feel free to clone them


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