Bug 2222134 - Discovery plugin no longer capturing data.
Summary: Discovery plugin no longer capturing data.
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sos
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: Supportability QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-11 23:34 UTC by Paul Dudley
Modified: 2023-08-02 06:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sosreport sos pull 3324 0 None open [discovery] Enable the plugin by containers 2023-08-02 06:59:29 UTC
Red Hat Issue Tracker RHELPLAN-162069 0 None None None 2023-07-11 23:36:58 UTC

Description Paul Dudley 2023-07-11 23:34:50 UTC
There are no longer package names shipped as part of Red Hat Discovery. Previously we looked for;
~~~
    packages = ('discovery', 'discovery-tools',)
~~~

But these no longer exist. Only container deployment on base rhel is the delivery method now. The container names remain the same and 'discovery' and 'dsc-db' logs are still the most important. Without RPMs though I'm unsure how sos would determine how to enable the plugin.

New log locations are;
~~~
/var/lib/containers/storage/volumes/dsc-data/_data/userdata/log/ (psql logs)
/var/discovery/server/volumes/log/ (app and quipucords log)
~~~

Comment 1 Jose Castillo 2023-07-12 07:27:41 UTC
Thank you for the bug report Paul. We can check if a container with a certain name is running, and if so, capture the data. Just to verify, the container names will contain 'discovery' and/or 'discovery-tools'?

Comment 2 Paul Dudley 2023-07-12 13:04:57 UTC
Excellent, thank you. The container names to grab data from are 'dsc-db' and 'discovery'.

Comment 3 Pavel Moravec 2023-08-02 06:59:30 UTC
I raised https://github.com/sosreport/sos/pull/3324 . I left the current plugin triggers (packages) there for legacy reasons.

Let me know if whole directories are required to be collected, or (e.g. due to log size limit imposed by default) just some specific log files should be grabbed.


Note You need to log in before you can comment on or make changes to this bug.