[Gluster-users] gluster task id is not cleared causing tier start failure

Jeevan Patnaik g1patnaik at gmail.com
Mon Nov 26 10:27:31 UTC 2018


When I'm trying to start tiering, it gives me the following error:
Tiering Migration functionality: volname: failed: A remove-brick task on
volume socuserwork is not yet committed. Either commit or stop the
remove-brick task.

I tied rebalance-brick commands when the tiering was enabled, but I didn't
run any remove brick command, as I remember.

>From Trace log of glusterd:
I'm able to see that it's failing at prevalidation and looking at source
code, the following function should return true if the so task is committed
or stopped. But i think it's returning false for some reason. I'm unable to
find out the details of the task:

/*A task is committed/completed once the task-id for it is cleared */
  if ((GD_OP_REMOVE_BRICK == volinfo -> rebal.op) &&
    return _gf_false;
return _gf_true;

I am not good with C. So I couldn't further troubleshoot to find out what's
the volinfo or other values it's referring to :(
If Somehow I could find the task details, I maybe able to clear this error.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181126/fe8676ce/attachment.html>

More information about the Gluster-users mailing list