[Bugs] [Bug 1353427] New: [RFE] CLI to get local state representation for a cluster

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 7 04:30:49 UTC 2016


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

            Bug ID: 1353427
           Summary: [RFE] CLI to get local state representation for a
                    cluster
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: glusterd
     Sub Component: glusterd
          Priority: high
          Assignee: amukherj at redhat.com
          Reporter: amukherj at redhat.com
        QA Contact: storage-qa-internal at redhat.com
                CC: bugs at gluster.org, sbairagy at redhat.com
        Depends On: 1353156



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

Description of problem:

There is no existing CLI that can be used to get the current local state
representation of the cluster as maintained in glusterd in a readable as well
as parseable format. The existing "statedump" infrastructure dumps stats
related to memory allocation for a daemon by passing SIGUSR1 to it. This while
useful for debugging purposes, does not reflect the local state representation
of the cluster.

Expected results:

# gluster get-state [DAEMON] odir <path/to/output/dir>

This would dump data points that reflect the local state representation of the
cluster as maintained in glusterd (by default if no daemon name is specified)
to a file (say glusterd-state) inside the specified output directory. The
option for specifying the daemon name would leave room to add support for other
daemons as well. This data if required can then be parsed by external
applications to represent the cluster state as obtained from glusterd in any
other model.


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1353156
[Bug 1353156] [RFE] CLI to get local state representation for a cluster
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=St06xOam1h&a=cc_unsubscribe


More information about the Bugs mailing list