Bug 1029239 - RFE: Rebalance information should include volume name and brick specific information
RFE: Rebalance information should include volume name and brick specific info...
Product: GlusterFS
Classification: Community
Component: core (Show other bugs)
All Unspecified
medium Severity low
: ---
: ---
Assigned To: Susant Kumar Palai
: FutureFeature, Triaged
Depends On:
  Show dependency treegraph
Reported: 2013-11-11 19:02 EST by purpleidea
Modified: 2016-09-20 00:30 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description purpleidea 2013-11-11 19:02:22 EST
Description of problem:

Sorry if this is assigned to wrong component. I wasn't 100% sure which is right.

I'll copy this directly from the mailing list...

in the command: gluster volume rebalance myvolume status ;
gluster volume rebalance myvolume status --xml && echo t
No where does it mention the volume, or the specific bricks which are
being [re-]balanced. In particular, a volume name would be especially
useful in the --xml output.

This would be useful if multiple rebalances are going on... I realize
this is because the rebalance command only allows you to specify one
volume at a time, but to be consistent with other commands, a volume
rebalance status command should let you get info on many volumes.

Also, still missing per brick information.

                                    Node Rebalanced-files          size
scanned      failures       skipped         status run time in secs
                               ---------      -----------   -----------
-----------   -----------   -----------   ------------   --------------
                               localhost                0        0Bytes
2             0             0    in progress             1.00
                        vmx2.example.com                0        0Bytes
7             0             0    in progress             1.00
volume rebalance: examplevol: success:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <statusStr>in progress</statusStr>
      <statusStr>in progress</statusStr>
      <statusStr>in progress</statusStr>

Kaushal's reply was:

> Having the volume name in xml output is a valid enhancement. Go ahead
> and open a RFE bug for it.
> The rebalance process on each node crawls the whole volume to find
> files which need to be migrated and which are present on bricks of the
> volume belonging to that node. So the rebalance status of a node can
> be considered the status of the brick. But if a node contains more
> than one brick of the volume being rebalanced, we don't have a way to
> differentiate, and I'm not sure if we could do that.

So here's the bug.

Version-Release number of selected component (if applicable):
gluster --version
glusterfs 3.4.1 built on Sep 27 2013 13:13:58

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
Copied from mailing list.
Comment 1 Niels de Vos 2014-11-27 09:45:19 EST
Feature requests make most sense against the 'mainline' release, there is no ETA for an implementation and requests might get forgotten when filed against a particular version.

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