<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">I'm assuming from its name, the following file might being checked for this: <a href="http://nodestate.info" target="_blank" rel="noreferrer">nodestate.info</a></div><div dir="auto">I'm trying to find what these values means. Any ideas ande how to reset it for all nodes without disturbing the checksum?</div><div dir="auto"><br></div><div dir="auto">rebalance_status=8</div><div dir="auto">rebalance_op=9</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Jeevan.</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 26, 2018, 3:57 PM Jeevan Patnaik <<a href="mailto:g1patnaik@gmail.com" target="_blank" rel="noreferrer">g1patnaik@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">When I'm trying to start tiering, it gives me the following error:</div><div dir="auto">Tiering Migration functionality: volname: failed: A remove-brick task on volume socuserwork is not yet committed. Either commit or stop the remove-brick task.</div><div dir="auto"><br></div><div dir="auto">I tied rebalance-brick commands when the tiering was enabled, but I didn't run any remove brick command, as I remember. </div><div dir="auto"><br></div><div dir="auto">From Trace log of glusterd:</div><div dir="auto">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:</div><div dir="auto"><br></div><div dir="auto">/*A task is committed/completed once the task-id for it is cleared */</div><div dir="auto">gf_boolean_it</div><div dir="auto">gd_is_remove_brick_committed(glusterd_volinfo_t*volinfo)</div><div dir="auto">{</div><div dir="auto"> GF_ASSERT(volinfo);</div><div dir="auto"> if ((GD_OP_REMOVE_BRICK == volinfo -> rebal.op) && !gf_uuid_is_null(volinfo->rebal.rebalance_id))</div><div dir="auto"> return _gf_false;</div><div dir="auto">return _gf_true;</div><div dir="auto">}</div><div dir="auto"><br></div><div dir="auto">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 :(</div><div dir="auto">If Somehow I could find the task details, I maybe able to clear this error.</div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Jeevan</div><div dir="auto"><br></div><div dir="auto"><br></div></div>
</blockquote></div>