Description of problem: When a rebalance start command fails, it doesn't throw up the error message back to CLI. Version-Release number of selected component (if applicable): release-6 How reproducible: Always Steps to Reproduce: 1. Create 1 X 1 volume, trigger rebalance start. Command fails as glusterd.log complains about following [2019-02-27 06:29:15.448303] E [MSGID: 106218] [glusterd-rebalance.c:462:glusterd_rebalance_cmd_validate] 0-glusterd: Volume test-vol5 is not a distribute type or contains only 1 brick But CLI doesn't throw up any error messages. Actual results: CLI doesn't throw up an error message. Expected results: CLI should throw up an error message. Additional info:
REVIEW: https://review.gluster.org/22547 (glusterd: display an error when rebalance start is failed) posted (#1) for review on master by Sanju Rakonde
REVISION POSTED: https://review.gluster.org/22547 (glusterd: display an error when rebalance start is failed) posted (#2) for review on master by Sanju Rakonde
A patch has posted for review at upstream master to fix this issue. As we cannot fix this BZ in 4.1 closing this BZ as won't fix. link to the patch: https://review.gluster.org/#/c/glusterfs/+/22547/ Thanks, Sanju