Bug 1302291
Summary: | Self heal command gives error "Launching heal operation to perform index self heal on volume vol0 has been unsuccessful" | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Ravishankar N <ravishankar> | |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | CC: | bugs | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1294612 | |||
: | 1306922 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-16 13:56:06 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: | 1200252, 1294612 | |||
Bug Blocks: | 1306922 |
Description
Ravishankar N
2016-01-27 12:17:42 UTC
REVIEW: http://review.gluster.org/13303 (cli/ afr: op_ret for index heal launch) posted (#1) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/13303 (cli/ afr: op_ret for index heal launch) posted (#2) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/13303 (cli/ afr: op_ret for index heal launch) posted (#3) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/13303 (cli/ afr: op_ret for index heal launch) posted (#4) for review on master by Ravishankar N (ravishankar) COMMIT: http://review.gluster.org/13303 committed in master by Pranith Kumar Karampuri (pkarampu) ------ commit da33097c3d6492e3b468b4347e47c70828fb4320 Author: Ravishankar N <ravishankar> Date: Mon Jan 18 12:16:31 2016 +0000 cli/ afr: op_ret for index heal launch Problem: If index heal is launched when some of the bricks are down, glustershd of that node sends a -1 op_ret to glusterd which eventually propagates it to the CLI. Also, glusterd sometimes sends an err_str and sometimes not (depending on the failure happening in the brick-op phase or commit-op phase). So the message that gets displayed varies in each case: "Launching heal operation to perform index self heal on volume testvol has been unsuccessful" (OR) "Commit failed on <host>. Please check log file for details." Fix: 1. Modify afr_xl_op() to return -1 even if index healing of atleast one brick fails. 2. Ignore glusterd's error string in gf_cli_heal_volume_cbk and print a more meaningful message. The patch also fixes a bug in glusterfs_handle_translator_op() where if we encounter an error in notify of one xlator, we break out of the loop instead of sending the notify to other xlators. Change-Id: I957f6c4b4d0a45453ffd5488e425cab5a3e0acca BUG: 1302291 Signed-off-by: Ravishankar N <ravishankar> Reviewed-on: http://review.gluster.org/13303 Reviewed-by: Anuradha Talur <atalur> Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu> 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-3.8.0, please open a new bug report. glusterfs-3.8.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://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |