diff options
author | hari gowtham <hgowtham@redhat.com> | 2015-08-28 15:45:53 +0530 |
---|---|---|
committer | Adam Stokes <adam.stokes@ubuntu.com> | 2015-09-29 09:46:46 -0400 |
commit | 73e6537b1c8284edfb4919b28aa69ee82928c310 (patch) | |
tree | 1e51ec7a078fcf6b40c27e2ffb06990b6afae2cb | |
parent | 2bf233b5ff80d3559e054b5ed2063970c4a2f8c0 (diff) | |
download | sos-73e6537b1c8284edfb4919b28aa69ee82928c310.tar.gz |
[gluster] added new commands
The new commands added to gluster in the recent release were
missing. this commit is to add those commands to the plugin.
Closes #633
Signed-off-by: hari gowtham <hgowtham@redhat.com>
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r-- | sos/plugins/gluster.py | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/sos/plugins/gluster.py b/sos/plugins/gluster.py index 5aa2d43b..07b1702e 100644 --- a/sos/plugins/gluster.py +++ b/sos/plugins/gluster.py @@ -108,9 +108,20 @@ class Gluster(Plugin, RedHatPlugin): volume_file = self.get_cmd_output_now("gluster volume info") if volume_file: for volname in self.get_volume_names(volume_file): - self.add_cmd_output("gluster volume geo-replication %s status" - % volname) - + self.add_cmd_output([ + "gluster volume geo-replication %s status" + % volname, + "gluster volume heal %s info" % volname, + "gluster volume heal %s info split-brain" + % volname, + "gluster snapshot list %s" % volname, + "gluster volume quota %s list" % volname, + "gluster volume rebalance %s status" + % volname, + "gluster snapshot info %s" % volname, + "gluster snapshot status %s" % volname]) + + self.add_cmd_output("gluster pool list") self.add_cmd_output("gluster volume status") # vim: set et ts=4 sw=4 : |