Bug 1699176 - rebalance start command doesn't throw up error message if the command fails
Summary: rebalance start command doesn't throw up error message if the command fails
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sanju
QA Contact:
URL:
Whiteboard:
Depends On: 1683526
Blocks: 1713613
TreeView+ depends on / blocked
 
Reported: 2019-04-12 02:11 UTC by Sanju
Modified: 2020-01-09 16:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1683526
: 1713613 (view as bug list)
Environment:
Last Closed: 2019-04-12 03:51:03 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22547 0 None Merged glusterd: display an error when rebalance start is failed 2019-04-12 03:51:01 UTC

Description Sanju 2019-04-12 02:11:52 UTC
+++ This bug was initially created as a clone of Bug #1683526 +++

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:

--- Additional comment from Worker Ant on 2019-04-11 18:20:42 IST ---

REVIEW: https://review.gluster.org/22547 (glusterd: display an error when rebalance start is failed) posted (#1) for review on master by Sanju Rakonde

Comment 1 Worker Ant 2019-04-12 02:15:01 UTC
REVIEW: https://review.gluster.org/22547 (glusterd: display an error when rebalance start is failed) posted (#2) for review on master by Sanju Rakonde

Comment 2 Worker Ant 2019-04-12 03:51:03 UTC
REVIEW: https://review.gluster.org/22547 (glusterd: display an error when rebalance start is failed) merged (#3) on master by Atin Mukherjee


Note You need to log in before you can comment on or make changes to this bug.