Bug 1306693 - replace-brick is failing with error message "Commit failed on <host>" when server quorum not met
Summary: replace-brick is failing with error message "Commit failed on <host>" when s...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: replicate
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Pranith Kumar K
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-11 15:34 UTC by Byreddy
Modified: 2017-11-21 12:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-21 12:08:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Byreddy 2016-02-11 15:34:43 UTC
Description of problem:
=======================
Had a four node cluster, created and started a replica volume (1*2 ) and enabled the server quorum and server-quorum ratio was set to 90, and stopped glusterd in one of the node to achieve server quorum not met condition based on server quorum ratio set and tried to replace one of the brick, it's failed with error message "volume replace-brick: failed: Commit failed on <host>"


Version-Release number of selected component (if applicable):
==============================================================
glusterfs-3.7.5-19.el7rhgs.


How reproducible:
==================
Every time


Steps to Reproduce:
===================
1.Have 4 nodes (node-1..4)
2.Create a replica volume (1*2) and start it.
3.Enable the server side quorum for the volume 
4.Set the server side quorum ratio to 90
5.Stop glusterd in one of the node (eg : node-4)
6.Now check the volume status //bricks will be in offline state
7. Try to replace one of the brick with new brick //it will fail with error message "Commit failed"

Actual results:
===============
Getting commit failed error message when tried to replace a brick when server quorum not met


Expected results:
=================
Commit failed error message should not come.


Additional info:

Comment 2 Byreddy 2016-02-11 15:42:59 UTC
Addition info:
==============
This issue is with replica volume type.

Comment 3 Atin Mukherjee 2016-02-11 16:08:46 UTC
Assigning it to Anuradha since she mostly work in add/remove/replace brick work flows.

Comment 6 Byreddy 2016-02-12 05:37:07 UTC
This issue is there from long time with replica volume type.


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