Bug 1288448

Summary: [DHT]: remove-brick commit happened even thought re-balance failed
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Byreddy <bsrirama>
Component: distributeAssignee: Raghavendra G <rgowdapp>
Status: CLOSED DUPLICATE QA Contact: Anoop <annair>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: bperkins, kramdoss, rhs-bugs, storage-qa-internal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-24 08:17:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Byreddy 2015-12-04 09:19:00 UTC
Description of problem:
=======================
Done the remove-brick when glusterd is down in half of the cluster nodes, rebalance failed with issue "Failed to Fix the Layout" and commit et passed.


Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.7.5-9


How reproducible:
=================
Always


Steps to Reproduce:
===================
1. Create a distributed-replicate volume ( 2x2, with one brick on each
 server in a 4-server cluster ), start and mount, create data on mount point.
2. Kill glusterd on node1 and node2 ( these hold bricks that form one replica pair )
3. Start remove-brick on the volume ( other two bricks )
4. Check the remove-brick status  //will see failures
5. Do remove-brick commit // will pass

Actual results:
===============
remove brick commit is happening with re-balance failure


Expected results:
=================
remove-brick commit should not happen when re-balance failed.



Additional info:

Comment 3 krishnaram Karthick 2016-06-24 08:17:27 UTC

*** This bug has been marked as a duplicate of bug 1258875 ***