Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1699176

Summary: rebalance start command doesn't throw up error message if the command fails
Product: [Community] GlusterFS Reporter: Sanju <srakonde>
Component: glusterdAssignee: Sanju <srakonde>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: amukherj, bugs, pasik, srakonde
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1683526
: 1713613 (view as bug list) Environment:
Last Closed: 2019-04-12 03:51:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1683526    
Bug Blocks: 1713613    

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