aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2019-10-09 13:18:26 -0400
committerBryn M. Reeves <bmr@redhat.com>2019-10-14 13:59:03 +0100
commit0a5a658baae1e6016b2d85f46d91402595ebadd6 (patch)
tree724331246eda47c7defaad2ef00c532712cda44d
parent16a4244baf50300f2d3d40bc9d33d07860361502 (diff)
downloadsos-0a5a658baae1e6016b2d85f46d91402595ebadd6.tar.gz
[openstack_cinder] Blacklist /etc/cinder/volumes
Adds a blacklist to prevent sos from trying to copy volumes when those volumes are configured to be saved under /etc/cinder/volumes. Fixes: #1056 Resolves: #1827 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/plugins/openstack_cinder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/openstack_cinder.py b/sos/plugins/openstack_cinder.py
index bab908c0..0a941f2e 100644
--- a/sos/plugins/openstack_cinder.py
+++ b/sos/plugins/openstack_cinder.py
@@ -24,6 +24,7 @@ class OpenStackCinder(Plugin):
var_puppet_gen = "/var/lib/config-data/puppet-generated/cinder"
def setup(self):
+ self.add_forbidden_path('/etc/cinder/volumes')
cinder_config = ""
cinder_config_opt = "--config-dir %s/etc/cinder/"