Bug 770058 - [glusterfs-3.3.0qa18]: improve rebalance related log messages
Summary: [glusterfs-3.3.0qa18]: improve rebalance related log messages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2011-12-23 08:42 UTC by Raghavendra Bhat
Modified: 2013-12-09 01:28 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:16:12 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions: glusterfs-3.3.0qa40
Embargoed:


Attachments (Terms of Use)

Description Raghavendra Bhat 2011-12-23 08:42:36 UTC
Description of problem:
Rebalance related log messages should be improved. If rebalance start command is given through cli, then the log messages says received rebalance 1 op, which is not clear.

Version-Release number of selected component (if applicable):


How reproducible:

always

Steps to Reproduce:
1.Create a distribute volume
2.add few more bricks to the volume
3. do reblance related operations from cli
  
Actual results:

[2011-12-23 10:57:37.667762] I [glusterd-rebalance.c:495:glusterd_rebalance_cmd_attempted_log] 0-glusterd: Received rebalance volume 3 on mirror
Expected results:

It should show the actual command given to the rebalance instead of the corresponding number which represents the operation.

Additional info:

Comment 1 Anand Avati 2011-12-29 06:22:17 UTC
CHANGE: http://review.gluster.com/2500 (mgmt/glusterd: log the rebalance command received properly in the log file) merged in master by Vijay Bellur (vijay)

Comment 2 Raghavendra Bhat 2012-05-09 09:59:12 UTC
[2012-04-30 16:08:30.251718] I [glusterd-rebalance.c:76:glusterd_rebalance_cmd_attempted_log] 0-glusterd: Received rebalance volume st
art on mirror

Checked with glusterfs-3.3.0qa40 and rebalance subcommands such as start etc are printed in the log file instead of the numbers.


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