Bug 1925559
Summary: | [RFE] Implement time logging for the LDAP queries and warning of high queries time | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Antonio Romito <aromito> | |
Component: | sssd | Assignee: | Sumit Bose <sbose> | |
Status: | CLOSED ERRATA | QA Contact: | Steeve Goveas <sgoveas> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | low | |||
Version: | 9.0 | CC: | aboscatt, atikhono, daniele, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, pkettman, sbose, sgadekar, sgoveas, tscherf | |
Target Milestone: | rc | Keywords: | FutureFeature, Triaged | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | sync-to-jira | |||
Fixed In Version: | sssd-2.7.0-1.el9 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2136786 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-15 11:17: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: | 2136786 |
Description
Antonio Romito
2021-02-05 14:46:14 UTC
I think this RFE makes sense, it would help to quickly spot performance issues that could be solved by configuration tuning (e.g. provide more specific search filter). But at this point I'm not sure how can we implement it given asynchronous nature of SSSD (e.g. storing large number of groups may block fetching the LDAP result for non-trivial amount of time). Having such informaton in the log might be interesting. But for now customer can probably use system-tap sssd probes to measure ldap queries. Tomas Halman At this stage this RFE should target RHEL9. Once/if implemented, backport to RHEL8 might be considered. Upstream PR: https://github.com/SSSD/sssd/pull/5969 Pushed PR: https://github.com/SSSD/sssd/pull/5969 * `master` * 5494f7ffea268fd21aa81885fccb1f46729b33ee - sdap: add sdap_get_server_ip_str_safe() * 15f66efcc8052ea2a41c16f15668b6e757b0099b - sdap: make struct sdap_op private * b3646c6637169dbab04593bfe16b840278ff4fe1 - sdap: warn if request needs 80% of timeout * e2082c03abc6c019b39d4f068d3787649f087cd1 - ipa: add info string for statistics * a9b4ae62af77d3b52e623c272dd42021ea78d051 - ldap: add info string for statistics * 5dc34b7531e7bed387b10741807f67088f5bb273 - sdap_op: add strings member for extra statistical information * 23e64beee112075e963ec76273364625433e189a - sdap: split out function to get the server IP as string * 3063a73c0f28cdce45f5fa787051a7097d97937a - dp: adding log message with spend time * 3b7955306d7c8ff4b0ca23e1988f35620b0f3135 - sdap: record time needed for a sdap operation * 2fb5cbfa609eb09e0a915ea74b53e61e8bb4f299 - util: add time measurement helpers * 775150b5800611191da85b01c5113b446f997d1b - debug: add new dubug level SSSDBG_PERF_STAT 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-2022:8325 |