[Bugs] [Bug 1302291] Self heal command gives error "Launching heal operation to perform index self heal on volume vol0 has been unsuccessful"

bugzilla at redhat.com bugzilla at redhat.com
Fri Feb 12 07:31:04 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1302291



--- Comment #5 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13303 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit da33097c3d6492e3b468b4347e47c70828fb4320
Author: Ravishankar N <ravishankar at redhat.com>
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 at redhat.com>
    Reviewed-on: http://review.gluster.org/13303
    Reviewed-by: Anuradha Talur <atalur at redhat.com>
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=POS479CgiG&a=cc_unsubscribe


More information about the Bugs mailing list