|
|
8bcace |
From bbd28011f8bb710d64283bd6d3ec68c0fb5430b4 Mon Sep 17 00:00:00 2001
|
|
|
8bcace |
From: Pavel Moravec <pmoravec@redhat.com>
|
|
|
8bcace |
Date: Fri, 6 Nov 2020 21:28:37 +0100
|
|
|
8bcace |
Subject: [PATCH] [ovirt] collect /etc/pki/ovirt-engine/.truststore
|
|
|
8bcace |
|
|
|
8bcace |
.truststore contains useful public CAs but a_c_s skips collecting
|
|
|
8bcace |
that hidden file.
|
|
|
8bcace |
|
|
|
8bcace |
Closes: #2296
|
|
|
8bcace |
Resolves: #2297
|
|
|
8bcace |
|
|
|
8bcace |
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
|
|
|
8bcace |
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
|
|
|
8bcace |
---
|
|
|
8bcace |
sos/report/plugins/ovirt.py | 7 +++++--
|
|
|
8bcace |
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
8bcace |
|
|
|
8bcace |
diff --git a/sos/report/plugins/ovirt.py b/sos/report/plugins/ovirt.py
|
|
|
8bcace |
index 4c112cac..127c971c 100644
|
|
|
8bcace |
--- a/sos/report/plugins/ovirt.py
|
|
|
8bcace |
+++ b/sos/report/plugins/ovirt.py
|
|
|
8bcace |
@@ -137,12 +137,15 @@ class Ovirt(Plugin, RedHatPlugin):
|
|
|
8bcace |
"/var/lib/ovirt-engine-reports/jboss_runtime/config"
|
|
|
8bcace |
])
|
|
|
8bcace |
|
|
|
8bcace |
- # Copying host certs.
|
|
|
8bcace |
+ # Copying host certs; extra copy the hidden .truststore file
|
|
|
8bcace |
self.add_forbidden_path([
|
|
|
8bcace |
"/etc/pki/ovirt-engine/keys",
|
|
|
8bcace |
"/etc/pki/ovirt-engine/private"
|
|
|
8bcace |
])
|
|
|
8bcace |
- self.add_copy_spec("/etc/pki/ovirt-engine/")
|
|
|
8bcace |
+ self.add_copy_spec([
|
|
|
8bcace |
+ "/etc/pki/ovirt-engine/",
|
|
|
8bcace |
+ "/etc/pki/ovirt-engine/.truststore",
|
|
|
8bcace |
+ ])
|
|
|
8bcace |
|
|
|
8bcace |
def postproc(self):
|
|
|
8bcace |
"""
|
|
|
8bcace |
--
|
|
|
8bcace |
2.26.2
|
|
|
8bcace |
|