From 5caabe01086478c9f4fc175f02e2e2c7f89d080e Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Wed, 2 Aug 2023 08:53:30 +0200 Subject: [PATCH] [discovery] Enable the plugin by containers Enable the plugin by running containers and collect some further system logs. Resolves: #3324 Signed-off-by: Pavel Moravec --- sos/report/plugins/discovery.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sos/report/plugins/discovery.py b/sos/report/plugins/discovery.py index d593b4f756..e54132988b 100644 --- a/sos/report/plugins/discovery.py +++ b/sos/report/plugins/discovery.py @@ -16,12 +16,15 @@ class Discovery(Plugin, RedHatPlugin): short_desc = 'Discovery inspection and reporting tool' plugin_name = 'discovery' packages = ('discovery', 'discovery-tools',) + containers = ('dsc-db', 'discovery',) def setup(self): self.add_copy_spec([ "/root/discovery/db/volume/data/userdata/pg_log/", "/root/discovery/server/volumes/log/app.log", - "/root/discovery/server/volumes/log/discovery-server.log" + "/root/discovery/server/volumes/log/discovery-server.log", + "/var/lib/containers/storage/volumes/dsc-data/_data/userdata/log/", + "/var/discovery/server/volumes/log/", ]) self.add_container_logs([