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

Jeevan Patnaik g1patnaik at gmail.com
Tue Nov 27 07:03:18 UTC 2018


Hi,

I'm assuming from its name, the following file might being checked for
this: nodestate.info
I'm trying to find what these values means. Any ideas ande how to reset it
for all nodes without disturbing the checksum?

rebalance_status=8
rebalance_op=9

Regards,
Jeevan.

On Mon, Nov 26, 2018, 3:57 PM Jeevan Patnaik <g1patnaik at gmail.com wrote:

> Hi,
>
> 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 */
> gf_boolean_it
> gd_is_remove_brick_committed(glusterd_volinfo_t*volinfo)
> {
>   GF_ASSERT(volinfo);
>   if ((GD_OP_REMOVE_BRICK == volinfo -> rebal.op) &&
> !gf_uuid_is_null(volinfo->rebal.rebalance_id))
>     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.
>
> Regards,
> Jeevan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20181127/ab42dcd7/attachment.html>


More information about the Gluster-users mailing list