Bug 1563086

Summary: Provide a script that can be run to wait until the bricks come-online on startup.
Product: [Community] GlusterFS Reporter: Pranith Kumar K <pkarampu>
Component: scriptsAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: amukherj, atumball, bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gluster-block-v0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 04:23:08 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: 1563273    
Bug Blocks:    

Description Pranith Kumar K 2018-04-03 07:04:21 UTC
Description of problem:
When glusterd comes online, bricks will be started asynchronously. There is no way to wait until they come up. We at least need a script which will do this. 

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2018-04-03 08:14:04 UTC
REVIEW: https://review.gluster.org/19785 (Script to wait for bricks to come online) posted (#3) for review on master by Pranith Kumar Karampuri

Comment 2 Pranith Kumar K 2019-05-13 05:41:42 UTC
https://github.com/gluster/gluster-block/blob/master/extras/wait-for-bricks.sh has the script. This was mostly done for gluster-block project so we got it merged in that project.