Red Hat Bugzilla – Bug 824302
Replace-brick operation tries to create brick directory on all the nodes of a cluster
Last modified: 2015-11-03 18:04:25 EST
Description of problem:
Replace-brick operation tries to create destination brick directory on all the nodes of the cluster
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a distribute volume with 2 bricks
say the path of the brick is /path1-to/brick/brick1 /path2-to/brick/brick2
2. fill up with some data and replace the second brick with new brick which has different prefix in the brick path say /path3-to/brick/brick3
3. replace-brick fails
It tries to create directories on all the nodes of the cluster , if prefix directories won't exist then it fails saying "could not create the directory"
http://review.gluster.com/3457 fixes this issue.
Checked with latest git head [27bc10d67b9502c03668ca851e8330485cb5e2b5] and replace brick is working fine eventhough the destination brick path is not present in other remaining peers of the cluster.