aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHari Gowtham <hgowtham@dhcp35-220.lab.eng.blr.redhat.com>2016-01-13 14:52:48 +0530
committerBryn M. Reeves <bmr@redhat.com>2016-05-27 17:47:20 +0100
commit6db395239b1a300d0e66f0fb87ed51afc159d0d4 (patch)
tree32ca4c176ab9ddb3adbe4598ebc5560a88a49cdd
parent6391b89670d7f7a3c6efa92c3ca4fc8152ccc74c (diff)
downloadsos-6db395239b1a300d0e66f0fb87ed51afc159d0d4.tar.gz
[gluster] Store gluster tier related information
Gluster tiered volume has metadata files for promotion and demotion which are useful for diagnosing errors The patch adds these files to the list of files stored in sos report. Example: /var/run/gluster/volname-tier-dht/ promote-brickname-indexinbricklist Closes #721. Signed-off-by: Hari Gowtham <hgowtham@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/gluster.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/gluster.py b/sos/plugins/gluster.py
index 07b1702e..cbcc3d34 100644
--- a/sos/plugins/gluster.py
+++ b/sos/plugins/gluster.py
@@ -15,6 +15,7 @@
import time
import os.path
import os
+import glob
import string
from sos.plugins import Plugin, RedHatPlugin
@@ -92,7 +93,7 @@ class Gluster(Plugin, RedHatPlugin):
"/etc/glusterfs",
"/var/lib/glusterd/",
"/var/log/glusterfs"
- ])
+ ] + glob.glob('/var/run/gluster/*tier-dht/*'))
self.make_preparations(self.statedump_dir)
if self.check_ext_prog("killall -USR1 glusterfs glusterfsd"):