Bug 1470137 - brick unavailable with the old volfile.
brick unavailable with the old volfile.
Status: POST
Product: GlusterFS
Classification: Community
Component: glusterd (Show other bugs)
mainline
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: hari gowtham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-12 08:33 EDT by hari gowtham
Modified: 2017-07-13 02:51 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description hari gowtham 2017-07-12 08:33:57 EDT
Description of problem:
in automated testing the volfile changes happen often and in one such situation, the IO goes to the volfile which doesn't know about the brick which has went down.

Ideally the way this happens is:
1) the brick is stopped.
2) Volfile changes are made
3) and then clients are notified.

Between the step 1 and step 3 there are IOs going to the brick 
that has been stopped. and resulting in IO failures.

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

How reproducible:
Being a race condition unless the IO happens in that window the failure
is hard to reproduce.
How ever with tiered volumes in the automated glusto tests the chances of this to happen are higher.

Steps to Reproduce:
1.run the glusto test for basic tier sanity
2.the glusto test will fail saying it got an io error.
3.

Actual results:
IO error happens.

Expected results:
no io error is supposed to happen. IOs are supposed to be redirected to the new subvolume.


Additional info:
Comment 1 Worker Ant 2017-07-12 08:35:18 EDT
REVIEW: https://review.gluster.org/17757 (Glusterd: stop brick after volfile creation) posted (#1) for review on master by hari gowtham (hari.gowtham005@gmail.com)
Comment 2 Worker Ant 2017-07-13 02:51:56 EDT
REVIEW: https://review.gluster.org/17757 (Glusterd: stop brick after volfile creation) posted (#2) for review on master by hari gowtham (hari.gowtham005@gmail.com)

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