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

Bug 1683526

Summary: rebalance start command doesn't throw up error message if the command fails
Product: [Community] GlusterFS Reporter: Atin Mukherjee <amukherj>
Component: glusterdAssignee: Sanju <srakonde>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.1CC: 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:
: 1699176 (view as bug list) Environment:
Last Closed: 2019-04-12 02:18:46 UTC Type: Bug
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:    
Bug Blocks: 1699176, 1713613    

Description Atin Mukherjee 2019-02-27 06:34:35 UTC
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:

Comment 1 Worker Ant 2019-04-11 12:50:42 UTC
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 2 Worker Ant 2019-04-12 02:14:57 UTC
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

Comment 3 Sanju 2019-04-12 02:18:46 UTC
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