Bug 1138547
| Summary: | Peer probe during rebalance causing "Peer rejected" state for an existing node in trusted cluster | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Lalatendu Mohanty <lmohanty> | |
| Component: | core | Assignee: | Atin Mukherjee <amukherj> | |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
| Severity: | low | Docs Contact: | ||
| Priority: | medium | |||
| Version: | rhgs-3.0 | CC: | amukherj, david.macdonald, divya, nbalacha, nsathyan, rhs-bugs, storage-qa-internal, vagarwal | |
| Target Milestone: | --- | Keywords: | Patch, ZStream | |
| Target Release: | RHGS 3.0.3 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.6.0.31-1 | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, peer probe failed during rebalance as the global peerinfo structure was modified while a transaction was in progress. The peer was rejected and could not be added into the trusted cluster. With this fix, local peer list is maintained in gluster op state machine on a per transaction basis such that peer probe and rebalance can go on independently. Now, probing a peer during rebalance operation will be successful.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1152890 (view as bug list) | Environment: | ||
| Last Closed: | 2015-01-15 13:39:24 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: | 1152890, 1162694 | |||
|
Description
Lalatendu Mohanty
2014-09-05 07:10:52 UTC
So far I can see that the rebalance client saw a child down event which led to rebalance failure. > [2014-09-03 21:29:00.739735] E > [client-handshake.c:1498:client_query_portmap_cbk] > 0-rebalvol-client-1: failed to get the port number for remote > subvolume. Please run 'gluster volume status' on server to see if > brick process is running. > [2014-09-03 21:29:00.740355] I [client.c:2215:client_rpc_notify] > 0-rebalvol-client-1: disconnected from rebalvol-client-1. Client > process will keep trying to connect to glusterd until brick's port is > available > [2014-09-03 21:29:00.740395] W [dht-common.c:5914:dht_notify] > 0-rebalvol-dht: Received CHILD_DOWN. Exiting Talked to Lala and he said the brick did not crash. From the glusterd logs we can see disconnection between peers leading to "Peer rejected". >>>>>>>>>>> Hostname: rhsauto019.lab.eng.blr.redhat.com Uuid: 141ec389-ab2a-42df-a96e-fa28462f6c89 State: Peer Rejected (Connected) >>>>>>>>>>> At this point of time it seems to be network disconnection issue. This issue is not reproducible in last couple of week runs (BVT), hence lowering the severity. Upstream patch link : http://review.gluster.org/8932 Downstream patch link : https://code.engineering.redhat.com/gerrit/#/c/35648/ glusterd op-sm uses global peer list which might get modified if peer membership is requested while there is an on going op-sm transaction, this could lead to an incorrect peerinfo structure resulting either op-sm or peer membership command to behave incorrectly. Fix is to use local peer list instead of global peer list. Verified with glusterfs-3.6.0.34-1.el6rhs Did the following tests, 1. Created a cluster of 2 nodes 2. Created a distribute volume of 2 bricks 3. Fuse mounted the volume and created 10 files of 10GB each 4. Added more bricks and triggered rebalance 5. While rebalance is going on, tried to probe a new peer. Tested probing/detaching a peer, volume set operations. All worked seamlessly Tried the peer probe/detach, volume set operations during remove-brick with data migration too. All worked well Atin, Please review the edited doc text and sign-off. Doc text looks okay to me, verified. 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://rhn.redhat.com/errata/RHBA-2015-0038.html |