[Bugs] [Bug 1416416] New: Improve output of "gluster volume status detail"

bugzilla at redhat.com bugzilla at redhat.com
Wed Jan 25 13:06:17 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1416416

            Bug ID: 1416416
           Summary: Improve output of "gluster volume status detail"
           Product: GlusterFS
           Version: 3.10
         Component: glusterd
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: bugs at gluster.org, kjohnson at gnulnx.net,
                    xhernandez at datalab.es
        Depends On: 1411334
            Blocks: 1415131, 1415132, 1415133



+++ This bug was initially created as a clone of Bug #1411334 +++

Description of problem:

Currently "gluster volume status detail" only gives all available information
for linux hosts. Additionally, if the command is executed from a FreeBSD node,
some brick information is hidden, even if it comes from a linux brick.


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


How reproducible:

Always

Steps to Reproduce:
1. Create a distributed volume with one brick on CentOS and another one on
FreeBSD
2. Run gluster volume status <volname> detail on CentOS
3. Run gluster volume status <volname> detail on FreeBSD

Actual results:

On CentOS, some information from the brick hosted by FreeBSD appears as "N/A".
On FreeBSD some information is missing, even from the CentOS brick.

Expected results:

Both commands should return the same output and all available info should be
filled instead of writing "N/A".

Additional info:

--- Additional comment from Worker Ant on 2017-01-10 05:31:07 EST ---

REVIEW: http://review.gluster.org/16371 (cli: keep 'gluster volume status
detail' consistent) posted (#1) for review on master by Xavier Hernandez
(xhernandez at datalab.es)

--- Additional comment from Worker Ant on 2017-01-10 05:39:10 EST ---

REVIEW: http://review.gluster.org/16371 (cli: keep 'gluster volume status
detail' consistent) posted (#2) for review on master by Xavier Hernandez
(xhernandez at datalab.es)

--- Additional comment from Worker Ant on 2017-01-19 18:52:30 EST ---

COMMIT: http://review.gluster.org/16371 committed in master by Kaleb KEITHLEY
(kkeithle at redhat.com) 
------
commit 7b5b7111c9d9a2a65e4f4d0abf832a88e021c576
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Tue Jan 10 11:21:06 2017 +0100

    cli: keep 'gluster volume status detail' consistent

    The output of the command 'gluster volume status <volname> detail' is
    not consistent between operating systems. On linux hosts it shows the
    file system type, the device name, mount options and inode size of each
    brick. However the same command executed on a FreeBSD host doesn't show
    all this information, even for bricks stored on a linux.

    Additionally, for hosts other than linux, this information is shown as
    'N/A' many times. This has been fixed to show as much information as it
    can be retrieved from the operating system.

    The file contrib/mount/mntent.c has been mostly rewriten because it
    contained many errors that caused mount information to not be retrieved
    on some operating systems.

    Change-Id: Icb6e19e8af6ec82255e7792ad71914ef679fc316
    BUG: 1411334
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/16371
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1411334
[Bug 1411334] Improve output of "gluster volume status detail"
https://bugzilla.redhat.com/show_bug.cgi?id=1415131
[Bug 1415131] Improve output of "gluster volume status detail"
https://bugzilla.redhat.com/show_bug.cgi?id=1415132
[Bug 1415132] Improve output of "gluster volume status detail"
https://bugzilla.redhat.com/show_bug.cgi?id=1415133
[Bug 1415133] Improve output of "gluster volume status detail"
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list