RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2139865 - Analyzer: Optimize and remove duplicate messages in verbose list
Summary: Analyzer: Optimize and remove duplicate messages in verbose list
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: jstephen
QA Contact: shridhar
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks: 2139871
TreeView+ depends on / blocked
 
Reported: 2022-11-03 16:24 UTC by Alexey Tikhonov
Modified: 2023-05-16 11:12 UTC (History)
3 users (show)

Fixed In Version: sssd-2.8.2-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2139871 (view as bug list)
Environment:
Last Closed: 2023-05-16 09:07:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd pull 6392 0 None closed Analyzer: Optimize list verbose output 2022-11-03 16:30:08 UTC
Github SSSD sssd pull 6435 0 None open Analyzer: Ensure parsed id contains digit 2022-11-15 18:30:06 UTC
Red Hat Issue Tracker RHELPLAN-138282 0 None None None 2022-11-03 16:47:30 UTC
Red Hat Issue Tracker SSSD-5165 0 None None None 2022-11-03 16:47:41 UTC
Red Hat Product Errata RHBA-2023:2986 0 None None None 2023-05-16 09:08:23 UTC

Description Alexey Tikhonov 2022-11-03 16:24:12 UTC
This bug was initially created as a copy of Bug #2139837

I am copying this bug because: to track fix for RHEL8



Analyzer: Optimize list verbose output #6392 
https://github.com/SSSD/sssd/pull/6392


There are 2 issues addressed in this PR:

1) Analyzer list verbose output showed incorrect output for repeated CID numbers when SSSD is restarted.

* Perform NSS lookup
* restart sssd
* Perform another NSS lookup
* Generate list -v output. For overlapping CID numbers, the output was incorrect and intermixed.

2) Optimize analyzer list verbose output to make a single pass parsing the log file, instead of repeated passes. Measuring time spent of the list -v command should be improved, especially with larger log files.

Comment 1 Alexey Tikhonov 2022-11-03 16:30:09 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6392

* `master`
    * 4c678cbb4ace4be413847fa297bce0c7c8cc42b6 - Analyzer: Optimize list verbose output
* `sssd-2-8`
    * c61e1098762bf4a00b9bd3baac7207ddb5051734 - Analyzer: Optimize list verbose output

Comment 4 Alexey Tikhonov 2022-11-15 18:30:06 UTC
Additional PR: https://github.com/SSSD/sssd/pull/6435

Comment 5 Alexey Tikhonov 2022-11-18 16:11:59 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6435

* `master`
    * bfa8d50c479cf8ef7b299eb5848309a3a9ea7f12 - Analyzer: Ensure parsed id contains digit
* `sssd-2-8`
    * 7d0c70cc44a04e113dcd21f5248e1157a78f20da - Analyzer: Ensure parsed id contains digit

Comment 12 errata-xmlrpc 2023-05-16 09:07:56 UTC
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 (sssd 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:2986


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