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

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 6 10:04:04 UTC 2016


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

            Bug ID: 1353156
           Summary: [RFE] CLI to get local state representation for a
                    cluster
           Product: GlusterFS
           Version: mainline
         Component: glusterd
          Assignee: bugs at gluster.org
          Reporter: sbairagy at redhat.com
                CC: bugs at gluster.org



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.

-- 
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