gluster task id is not cleared causing tier start failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux