Description of problem: When gluster volume delete is run and removes the volume it leaves behind xattrs that cause a gluster volume create in the device from RHSC as well as command line to fail. Version-Release number of selected component (if applicable): glusterfs-server-3.3.0rhs-25.el6rhs.x86_64 How reproducible: Every time. Steps to Reproduce: 1. Run gluster volume delete on a volume 2. Try to create a new volume using the brick from a deleted volume 3. Actual results: ***From the command line*** Create: [root@hp-dl380g7-1 distributed-volume-setup]# gluster volume create distributed-volume hp-dl380g7-1.gsslab.rdu.redhat.com:/brick1 hp-dl380g7-2.gsslab.rdu.redhat.com:/brick1 Creation of volume distributed-volume has been successful. Please start the volume to access data. Delete: [root@hp-dl380g7-1 distributed-volume-setup]# gluster volume delete distributed-volume Deleting volume will erase all information about the volume. Do you want to continue? (y/n) y Deleting volume distributed-volume has been successful And create again: [root@hp-dl380g7-1 distributed-volume-setup]# gluster volume create distributed-volume hp-dl380g7-1.gsslab.rdu.redhat.com:/brick1 hp-dl380g7-2.gsslab.rdu.redhat.com:/brick1 /brick1 or a prefix of it is already part of a volume ***From RHSC*** snip--------- Error while executing action Create Gluster Volume: Volume create failed error: /opt/gluster/bricks/brick1 or a prefix of it is already part of a volume return code: 255 snip--------- Expected results: The xattrs are properly cleared so that a volume create can be executed without manually clearing them. Additional info: This is a problem especial because of RHSC. I feel that the GUI manager should be able to accomplish this task without using the command line. I would also like to see the command line to be able to clear them as well.
Changing the component of this bug to RHSC. I will open a separate RFE for the command line.
RHS-C will allow user to optionally clear the xattrs when deleting a volume or removing a brick, after a cli option is available in gluster cli to do the same.