[Bugs] [Bug 1624444] Fail volume stop operation in case brick detach request fails

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 10 14:36:01 UTC 2018


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

Atin Mukherjee <amukherj at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(amukherj at redhat.c |
                   |om)                         |
                   |needinfo?(amukherj at redhat.c |
                   |om)                         |



--- Comment #10 from Atin Mukherjee <amukherj at redhat.com> ---
The test done wasn't correct here. gf_detach will gracefully attach the brick
which we don't want. What we want is base brick to get to disconnected state in
glusterd along with brick status being still marked as started, so it's
basically a disconnect simulation.

One of the way to verify this would be to kill the brick process and then take
glusterd process into gdb, put a breakpoint in glusterd_volume_stop_glusterfs
() and set brickinfo->status = GF_BRICK_STARTED and then do continue. With that
you should see volume stop failing in the cli where as the same will not happen
in RHGS 3.4.0.

-- 
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=dPR4SJn74b&a=cc_unsubscribe


More information about the Bugs mailing list