Bug 1330385

Summary: glusterd restart is failing if volume brick is down due to underlying FS crash.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Byreddy <bsrirama>
Component: glusterdAssignee: Atin Mukherjee <amukherj>
Status: CLOSED ERRATA QA Contact: Byreddy <bsrirama>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: asrivast, rcyriac, rhinduja, rhs-bugs, storage-qa-internal, vbellur
Target Milestone: ---Keywords: Regression, ZStream
Target Release: RHGS 3.1.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.9-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1330481 (view as bug list) Environment:
Last Closed: 2016-06-23 05:19:43 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:
Bug Depends On:    
Bug Blocks: 1311817, 1330481, 1331934    

Description Byreddy 2016-04-26 05:57:22 UTC
Description of problem:
=======================
glusterd restart is failing if volume brick is down due to underlying filsystem crash (XFS)


Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.7.9-2.


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


Steps to Reproduce:
===================
1. Have one/two node cluster
2. Create 1*2 volume and start it.
3. crash underlying filesystem for one of the volume brick using "godown tool" OR any other way.
4. Check brick is down using "volume status"
5. Try glusterd restart //restart will fail.

Actual results:
===============
glusterd restart is failing if volume brick is down due to FS crash.


Expected results:
=================
glusterd restart should work.


Additional info:

Comment 4 Atin Mukherjee 2016-04-26 10:34:39 UTC
http://review.gluster.org/#/c/14075 is posted for review in upstream

Comment 5 Atin Mukherjee 2016-04-29 10:29:19 UTC
Rahul/Alok,

Please provide qe/pm_acks.

~Atin

Comment 6 Atin Mukherjee 2016-05-02 11:48:57 UTC
Hi Alok,

Could you provide the pm_ack on this bz?

~Atin

Comment 7 Atin Mukherjee 2016-05-02 12:24:07 UTC
Downstream patch : https://code.engineering.redhat.com/gerrit/#/c/73410/
Upstream mainline patch : http://review.gluster.org/14075
Upstream 3.7 patch : http://review.gluster.org/14124

Comment 10 Byreddy 2016-05-12 06:44:43 UTC
verified this bug using the build "glusterfs-3.7.9-4".

Repeated the reproducing steps mentioned, Fix is working good.

Moving to verified state.

Comment 12 errata-xmlrpc 2016-06-23 05:19:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1240