Bug 2222134
| Summary: | Discovery plugin no longer capturing data. | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Paul Dudley <pdudley> | |
| Component: | sos | Assignee: | Pavel Moravec <pmoravec> | |
| Status: | CLOSED ERRATA | QA Contact: | Daniel Záležák <dzalezak> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 9.2 | CC: | agk, dzalezak, jcastillo, jjansky, mhradile, plambri, sbradley, theute | |
| Target Milestone: | rc | Keywords: | Triaged, ZStream | |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | sos-4.6.0-1.el9 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2238730 (view as bug list) | Environment: | ||
| Last Closed: | 2023-09-26 09:18:20 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2238730 | |||
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'? Excellent, thank you. The container names to grab data from are 'dsc-db' and 'discovery'. 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. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (sos bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:5354 |
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) ~~~