aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-08-25 10:49:10 +0200
committerPavel Moravec <pmoravec@redhat.com>2019-08-25 10:49:10 +0200
commit1f05f2709b9cea91cf17f5c22f53aef3bd428585 (patch)
tree1c594c3d60a776cd5e1a94d3434f7dedc0ae9d12
parent75db5de02f0f16eccabe76a6f624c902f5bd7783 (diff)
downloadsos-1f05f2709b9cea91cf17f5c22f53aef3bd428585.tar.gz
[vdsm] collect vdsm certs
Collecting /etc/pki/vdsm/certs/ helps to identify expired host certs. Resolves: #1703 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/vdsm.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/vdsm.py b/sos/plugins/vdsm.py
index ae9c17c9..35eec509 100644
--- a/sos/plugins/vdsm.py
+++ b/sos/plugins/vdsm.py
@@ -70,7 +70,8 @@ class Vdsm(Plugin, RedHatPlugin):
self.add_copy_spec([
'/tmp/vds_installer*',
'/tmp/vds_bootstrap*',
- '/etc/vdsm/*'
+ '/etc/vdsm/*',
+ '/etc/pki/vdsm/certs/'
])
self.add_copy_spec('/var/log/vdsm/*')
@@ -79,7 +80,7 @@ class Vdsm(Plugin, RedHatPlugin):
self.add_copy_spec([
'/var/run/vdsm/*',
'/usr/libexec/vdsm/hooks',
- '/var/lib/vdsm'
+ '/var/lib/vdsm',
])
qemu_pids = self.get_process_pids('qemu-kvm')