Bug 1230101
| Summary: | [glusterd] glusterd crashed while trying to remove a bricks - one selected from each replica set - after shrinking nX3 to nX2 to nX1 | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
| Component: | glusterd | Assignee: | Gaurav Kumar Garg <ggarg> | |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | rhgs-3.1 | CC: | amukherj, asrivast, bmohanra, ggarg, nlevinki, nsathyan, rcyriac, sasundar, smohan, vbellur | |
| Target Milestone: | --- | Keywords: | Patch, Triaged | |
| Target Release: | RHGS 3.1.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | glusterd | |||
| Fixed In Version: | glusterfs-3.7.1-4 | Doc Type: | Bug Fix | |
| Doc Text: |
Previously, glusterd crashed when performing a remove brick operation on a replicate volume after shrinking the volume from replica nx3 to nx2 and from nx2 to nx1. This was due to an issue with the subvol count (replica set) calculation. With this fix glusterd does not crash after shrinking the replicate volume from replica nx3 to nx2 and from nx2 to nx1.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1230121 (view as bug list) | Environment: | ||
| Last Closed: | 2015-07-29 05:00:32 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: | 1202842, 1230121, 1231646 | |||
|
Description
Rahul Hinduja
2015-06-10 09:05:32 UTC
I have tried to reproduce the issue. Its reproducible only with the following case : 1. Created 2X3 distributed-replicate volume 2. Shrink it to 2X2 distributed-replicate volume 3. Shrink it to 2X2 to 2X1 distribute volume Here are few more observations : 1. There is no crash observed when creating a 2X2 volume and shrinking it to 2X1 2. There is no crash observed when creating a 2X3 volume and shrinking it to 2X2 3. There is no crash observed when trying to remove each brick from all replica sets and proper error message is thrown Upstream patch http://review.gluster.org/#/c/11165 is in review Marking this bug as BLOCKER, as this required for RHGS 3.1 ( Everglades ) Verified with RHGS 3.1 Nightly build - glusterfs-3.7.1-6.el6rhs with the steps mentioned in comment4. There were no issues and marking this bug as VERIFIED Hi Gaurav, The doc text is updated. Please review the same and share your technical review comments. If it looks ok, then sign-off on the same. Regards, Bhavana 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/RHSA-2015-1495.html |