Skip to content

Commit

Permalink
[discovery] Enable the plugin by containers
Browse files Browse the repository at this point in the history
Enable the plugin by running containers and collect some further system
logs.

Resolves: #3324

Signed-off-by: Pavel Moravec <[email protected]>
  • Loading branch information
pmoravec authored and TurboTurtle committed Aug 2, 2023
1 parent 6d2334f commit 5caabe0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sos/report/plugins/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 5caabe0

Please sign in to comment.