[Bugs] [Bug 1507880] reset-brick commit force failed with glusterd_volume_brickinfo_get Returning -1

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 31 11:24:52 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1507880

Atin Mukherjee <amukherj at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |POST
           Assignee|bugs at gluster.org            |amukherj at redhat.com



--- Comment #2 from Atin Mukherjee <amukherj at redhat.com> ---
Problem Description:
On a two node cluster, reset-brick commit force fails.


Version:
Mainline

Reproducer steps:

1. Create a two node cluster.
2. Create a replica 2 volume, each brick hosted in different nodes
gluster v create test-vol replica 2 172.17.0.2:/tmp/b1 172.17.0.3:/tmp/b1 force
3. gluster v reset-brick test-vol 172.17.0.2:/tmp/b1 start
4. gluster v reset-brick test-vol 172.17.0.2:/tmp/b1  172.17.0.2:/tmp/b1 commit
force

Step 4 fails.

--- Additional comment from Atin Mukherjee on 2017-10-30 07:18:07 EDT ---

upstream patch :

--- Additional comment from Atin Mukherjee on 2017-10-30 07:20:20 EDT ---

patch : https://review.gluster.org/#/c/18581

--- Additional comment from Worker Ant on 2017-10-31 07:14:53 EDT ---

COMMIT: https://review.gluster.org/18581 committed in master by  

------------- glusterd: delete source brick only once in reset-brick commit
force

While stopping the brick which is to be reset and replaced delete_brick
flag was passed as true which resulted glusterd to free up to source
brick before the actual operation. This results commit force to fail
failing to find the source brickinfo.

Change-Id: I1aa7508eff7cc9c9b5d6f5163f3bb92736d6df44
BUG: 1507466
Signed-off-by: Atin Mukherjee <amukherj at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list