Bug 1535772
Summary: | Random GlusterFSD process dies during rebalance | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Jiffin <jthottan> |
Component: | core | Assignee: | Jiffin <jthottan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | amukherj, bugs, jmackey, jthottan, steve.mcdaniel |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-4.0.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1533269 | Environment: | |
Last Closed: | 2018-03-15 11:25:40 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: | 1533269 |
Description
Jiffin
2018-01-18 04:23:55 UTC
REVIEW: https://review.gluster.org/19220 (selinux-xlator : validate dict before calling dict_rename_key()) posted (#2) for review on master by jiffin tony Thottan COMMIT: https://review.gluster.org/19220 committed in master by \"jiffin tony Thottan\" <jthottan> with a commit message- selinux-xlator : validate dict before calling dict_rename_key() Change-Id: I71da3b64e5e8c82e8842e119b2b05da3e2ace550 BUG: 1535772 Signed-off-by: Jiffin Tony Thottan <jthottan> REVIEW: https://review.gluster.org/19241 (selinux-xlator : validate dict before calling dict_rename_key()) posted (#1) for review on release-3.12 by jiffin tony Thottan REVISION POSTED: https://review.gluster.org/19241 (selinux-xlator : validate dict before calling dict_rename_key()) posted (#2) for review on release-3.12 by jiffin tony Thottan This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.0.0, please open a new bug report. glusterfs-4.0.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2018-March/000092.html [2] https://www.gluster.org/pipermail/gluster-users/ It looks like this bug still exists in 4.0. See: https://github.com/gluster/glusterfs/blob/release-4.0/xlators/features/selinux/src/selinux.c#L192 and: https://github.com/gluster/glusterfs/blob/release-4.0/xlators/features/selinux/src/selinux.c#L150 Excerpt from original report: > Should line 150 and 192 xlators/features/selinux/src/selinux.c of be > if (!priv->selinux_enabled || !dict) > instead of > if (!priv->selinux_enabled && !dict) Bug was reported against Gluster 3.13.2 and is still present in 3.13.x See bug report here: https://bugzilla.redhat.com/show_bug.cgi?id=1552228 This bug will cause the brick process to SEGFAULT due to a NULL ptr deref, and the whole gluster volume will go down. Bug is reproducible during a gluster rebalance if selinux is set to a DISABLED state on the gluster node. |