sos/sos-bz822442-collect-etc-swift-in-gluster.patch
Bryn M. Reeves 13178ca5fa Update sos to 2.2-29
This synchronises sos in master to the current upstream sos-2.2 branch and
includes all patches from RHEL6 not already present.
2012-06-22 12:16:21 +01:00

14 lines
653 B
Diff

diff -up sos-2.2/sos/plugins/gluster.py.orig sos-2.2/sos/plugins/gluster.py
--- sos-2.2/sos/plugins/gluster.py.orig 2012-05-23 13:48:59.093154956 +0100
+++ sos-2.2/sos/plugins/gluster.py 2012-05-23 13:53:17.685160857 +0100
@@ -61,6 +61,9 @@ class gluster(sos.plugintools.PluginBase
self.addCopySpec("/var/lib/glusterd/")
self.addForbiddenPath("/var/lib/glusterd/geo-replication/secret.pem")
+ # collect unified file and object storage configuration
+ self.addCopySpec("/etc/swift/")
+
# glusterfs-server rpm scripts stash this on migration to 3.3.x
self.addCopySpec("/etc/glusterd.rpmsave")