Bug 1260435 - remove brick from replica with arbiter
Summary: remove brick from replica with arbiter
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.7.2
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Ravishankar N
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-06 20:40 UTC by Pavel Pulec
Modified: 2015-12-07 13:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 13:42:14 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Pavel Pulec 2015-09-06 20:40:12 UTC
Description of problem:

I tried to remove 3 bricks from "2 x 3" (with arbiter) and no data was rebalanced.


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

glusterfs 3.7.2 built on Jun 23 2015 12:13:13

How reproducible:

Create replica 2 x 3 with arbiter and then remove 3 bricks


Steps to Reproduce:
1. gluster volume create replica_name replica 3 arbiter 1 host:/mnt/brick/1 host:/mnt/brick/2 host:/mnt/brick/3 host:/mnt/brick/4 host:/mnt/brick/5 host:/mnt/brick/6 force
2. add some data
3. gluster volume remove-brick replica_name host:/mnt/brick/4 host:/mnt/brick/5 host:/mnt/brick/6 start
4. gluster volume remove-brick replica5 host:/mnt/brick/4 host:/mnt/brick/5 host:/mnt/brick/6 status

Actual results:

- rebalancing of all files failed

Node Rebalanced-files          size       scanned      failures       skipped               status   run time in secs
---------      -----------   -----------   -----------   -----------   -----------         ------------     --------------
localhost                0        0Bytes            10             5             0            completed               0.00

Expected results:

All files should be re-balanced and I should be able to remove the bricks from the volume.


Additional info:

kernel: 2.6.32-504.23.4.el6.x86_64

Comment 1 Ravishankar N 2015-11-30 04:37:54 UTC
Hi Pavel. I'm not able to recreate this issue on 3.7.2 or the latest 3.7.6. Are you still able to see this issue? What do the rebalance logs say for the files that are marked as failure?

Comment 2 Pavel Pulec 2015-12-07 13:42:14 UTC
Hi Ravishankar,
I tried to replicate that issue on the latest version 3.7.6 and a rebalance with arbiter works correctly. I'm closing this issue as it's probably fixed in the newer version or I was doing something wrong.


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