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 1940509 - [RFE] Health and Support Analyzer: Link frontend to backend requests
Summary: [RFE] Health and Support Analyzer: Link frontend to backend requests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: jstephen
QA Contact: Dan Lavu
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-18 15:08 UTC by jstephen
Modified: 2021-11-10 09:10 UTC (History)
8 users (show)

Fixed In Version: sssd-2.5.1-1.el8
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:47:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd pull 5620 0 None open Link frontend to backend requests 2021-05-18 10:22:44 UTC
Red Hat Product Errata RHBA-2021:4435 0 None None None 2021-11-09 19:47:40 UTC

Description jstephen 2021-03-18 15:08:08 UTC
To be able to understand why an individual request to SSSD fails or returns some unexpected results it would be good to have a way how this request can be tracked through the different SSSD components.


Enable tracking unique identifier across entire SSSD request flow by linking frontend to backend request.

Comment 3 Alexey Tikhonov 2021-05-18 10:22:48 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/5620

Comment 4 Alexey Tikhonov 2021-06-08 16:13:09 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5620

* `master`
    * 4f1a06d1521a1b48419e8d29b67a452c546aa440 - DP: Propagate down the client id and sender name
    * d0e35894571a424acbbb8ec1a234739c637a57e9 - CACHE_REQ: Log the Client ID of the cache request
    * 7ed878723c7208d04a0ccbdc3c1c5ddef539d192 - RESPONDER LOGS: Log the Client ID where accessible
    * bee426c8ddf2cf3637e98034250a6e535ae3a059 - SBUS: Send Client ID across to DP interfaces
    * c917f9774d9a558ed03a0ebfe88a906b4fc45cb0 - RESPONDER: Generate incrementing client ID

Comment 6 Dan Lavu 2021-06-15 00:48:25 UTC
Tested and verified against sssd-2.5.1-1.el8.x86_64

CID and responder is clear in logs

sssd_pam.log
--------------------------
sssd_pam.log:(2021-06-14 20:37:40): [pam] [setup_client_idle_timer] (0x4000): Idle timer re-set for client [0x558b60039ef0][24]
sssd_pam.log:(2021-06-14 20:37:40): [pam] [accept_fd_handler] (0x0400): Client [CID #1][cmd sudo][0x558b60039ef0][24] connected!
sssd_pam.log:(2021-06-14 20:37:40): [pam] [sss_cmd_get_version] (0x0200): Received client version [3].
sssd_pam.log:(2021-06-14 20:37:40): [pam] [pam_reply] (0x0200): Returning [0]: Success to the client [CID #1]
sssd_pam.log:(2021-06-14 20:37:40): [pam] [client_recv] (0x0200): Client disconnected!
sssd_pam.log:(2021-06-14 20:37:40): [pam] [client_close_fn] (0x2000): Terminated client [0x558b60039ef0][24]
sssd_pam.log:(2021-06-14 20:38:20): [pam] [get_client_cred] (0x4000): Client [0x558b60039ef0][24] creds: euid[0] egid[1353200513] pid[3440] cmd_line['sudo'].
sssd_pam.log:(2021-06-14 20:38:20): [pam] [setup_client_idle_timer] (0x4000): Idle timer re-set for client [0x558b60039ef0][24]
sssd_pam.log:(2021-06-14 20:38:20): [pam] [accept_fd_handler] (0x0400): Client [CID #2][cmd sudo][0x558b60039ef0][24] connected!
sssd_pam.log:(2021-06-14 20:38:20): [pam] [sss_cmd_get_version] (0x0200): Received client version [3].
sssd_pam.log:(2021-06-14 20:38:20): [pam] [pam_reply] (0x0200): Returning [0]: Success to the client [CID #2]
sssd_pam.log:(2021-06-14 20:38:20): [pam] [pam_reply] (0x0200): Returning [0]: Success to the client [CID #2]
sssd_pam.log:(2021-06-14 20:38:22): [pam] [client_recv] (0x0200): Client disconnected!


sssd_pac.log
------------------------
sssd_pac.log:(2021-06-14 20:23:04): [pac] [client_close_fn] (0x2000): Terminated client [0x55e33729bb70][23]
sssd_pac.log:(2021-06-14 20:28:44): [pac] [sss_dp_init_done] (0x0400): Client is registered with DP
sssd_pac.log:(2021-06-14 20:28:44): [pac] [sss_dp_init_done] (0x0400): Client is registered with DP
sssd_pac.log:(2021-06-14 20:37:06): [pac] [get_client_cred] (0x4000): Client [0x5581e8bdcc00][23] creds: euid[0] egid[0] pid[3390] cmd_line['/usr/libexec/sssd/krb5_child'].
sssd_pac.log:(2021-06-14 20:37:06): [pac] [setup_client_idle_timer] (0x4000): Idle timer re-set for client [0x5581e8bdcc00][23]
sssd_pac.log:(2021-06-14 20:37:06): [pac] [accept_fd_handler] (0x0400): Client [CID #1][cmd /usr/libexec/sssd/krb5_child][0x5581e8bdcc00][23] connected!
sssd_pac.log:(2021-06-14 20:37:06): [pac] [sss_cmd_get_version] (0x0200): Received client version [1].
sssd_pac.log:(2021-06-14 20:37:06): [pac] [client_recv] (0x0200): Client disconnected!

Comment 13 errata-xmlrpc 2021-11-09 19:47:10 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-2021:4435


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