Bug 1938932
Summary: | sosreport not collecting SSSD logs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Tomas Halman <thalman> |
Component: | sos | Assignee: | Jan Jansky <jjansky> |
Status: | CLOSED ERRATA | QA Contact: | Maros Kopec <makopec> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | agk, atikhono, bmr, cww, fkrska, jreznik, mhradile, plambri, pmoravec, ppolawsk, sbradley, theute |
Target Milestone: | rc | Keywords: | OtherQA, Triaged, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | sos-3.9-5.el7_9.6 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-07-21 01:06:48 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: |
Description
Tomas Halman
2021-03-15 09:15:23 UTC
not sure if https://github.com/sosreport/sos/pull/2444 is also worth to backport for RHEL7? (cf RHEL8 bz1940502 that requires both PRs) > Pawel created one set to add the files from sss/mc (memory cache). But those files are binary blobs (big enough to go over default limits) and tailing them doesn't make much sense. > is binary file also "tailed"? Yes, by default any file over 25MB is tailed on this limit. There is (a command line option and) the option sizelimit of the add_copy_spec method to change this, where sizelimit=0 means no limit. But: - be careful to use sizelimit=0, as if the to-be-collected file can be arbitrarily huge, sosreport will generate arbitrarily huge tarball (in arbitrarily huge time..) - the sizelimit is applied to *each* file or pattern in the list. While I think our aim is to: - collect whole memory cache (or no cache? is it valuable for some debugging?) - collect limited amount of logs So we should have two add_copy_specs, I guess? One for just logs, one for the memory cache (or one jst for logs without memory cache?). Is somebody able to provide filepatterns / globs for those? (In reply to Pavel Moravec from comment #4) > > While I think our aim is to: > - collect whole memory cache (or no cache? is it valuable for some > debugging?) Right, we need either whole cache or nothing, truncates doesn't make sense. With default settings total size of all caches is about 25mb in total. Vast majority of users never change this setting. I think that's ok to either add cache files one by one or use 'sizelimit=50mb'. (In reply to Alexey Tikhonov from comment #5) > > With default settings total size of all caches is about 25mb in total. JFTR: I mean SSSD settings here. I prepared PR which adds cache files one by one: https://github.com/sosreport/sos/pull/2462 If it is possible it would be good to have all 3 PRs included in RHEL7. In the worst case scenario must-have one is: https://github.com/sosreport/sos/pull/2445 Hi Pavel, At the moment all 3 of SSSD related PRs has been merged upstream [1][2][3]. [1] https://github.com/sosreport/sos/pull/2445 [2] https://github.com/sosreport/sos/pull/2444 [3] https://github.com/sosreport/sos/pull/2462 Merging to legacy-3.9 branch https://github.com/sosreport/sos/pull/2476 Depending on merge date it should be possible to release to next z-stream batch (Tue 2021-06-08) Pawel i am preparing all 3 PRs into next batch z-stream, will you be able to test applied changes and role as OtherQA when candidate package will be available or do you know who may serve as OtherQA? Hi Jan, I love to help with testing and verification. If this will be about downloading your z-stream build candidate package and manual verification that it perform as planned? Hi Pawel, that is exactly what we want, i will post here link for candidate when it will be ready. 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-2021:2804 |