Bug 1665388
Summary: | SSSD netgroups do not honor entry_cache_nowait_percentage | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Niranjan Mallapadi Raghavender <mniranja> |
Component: | sssd | Assignee: | Pavel Březina <pbrezina> |
Status: | CLOSED ERRATA | QA Contact: | sssd-qe <sssd-qe> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.0 | CC: | apeetham, dbula, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sgoveas, tscherf |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sssd-2.2.0-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1614296 | Environment: | |
Last Closed: | 2019-11-05 22:34:01 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: | 1614296, 1682305 | ||
Bug Blocks: |
Comment 1
Jakub Hrozek
2019-02-22 15:10:58 UTC
* master: 486b5523b7430a071016fe64c1a472ac4c135ab1 Verified the bug on SSSD version: sssd-2.2.0-16.el8.x86_64 This bug is already automated and is part of ldap_provider/ldap_id_ldap_auth test suite. In order to verify the issue, i executed the following beaker job: https://beaker.engineering.redhat.com/jobs/3753320 We got a GREEN run for this case, below are the snippets from beaker log output. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: netgroups do not honor entry cache nowait percentage bz822236 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: adding new entry "cn=netgrp_nowait,ou=Netgroup,dc=example,dc=com" :: [ 05:26:31 ] :: [ BEGIN ] :: Running 'systemctl stop sssd; rm -rvf /var/lib/sss/db/*.ldb; systemctl start sssd' removed '/var/lib/sss/db/cache_implicit_files.ldb' removed '/var/lib/sss/db/cache_LDAP.ldb' removed '/var/lib/sss/db/config.ldb' removed '/var/lib/sss/db/sssd.ldb' removed '/var/lib/sss/db/timestamps_implicit_files.ldb' removed '/var/lib/sss/db/timestamps_LDAP.ldb' :: [ 05:26:32 ] :: [ PASS ] :: Command 'systemctl stop sssd; rm -rvf /var/lib/sss/db/*.ldb; systemctl start sssd' (Expected 0, got 0) :: [ 05:26:32 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:26:32 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:26:32 ] :: [ LOG ] :: Initial response: .086072255 :: [ 05:26:38 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:26:39 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:26:39 ] :: [ LOG ] :: Loop response: .063892199 :: [ 05:26:39 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:26:45 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:26:45 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:26:45 ] :: [ LOG ] :: Loop response: .079466651 :: [ 05:26:45 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:26:51 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:26:51 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:26:51 ] :: [ LOG ] :: Loop response: .068659921 :: [ 05:26:51 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:26:57 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:26:57 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:26:57 ] :: [ LOG ] :: Loop response: .066285097 :: [ 05:26:57 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:03 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:03 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:03 ] :: [ LOG ] :: Loop response: .062964022 :: [ 05:27:03 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:09 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:09 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:09 ] :: [ LOG ] :: Loop response: .065896408 :: [ 05:27:09 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:15 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:15 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:15 ] :: [ LOG ] :: Loop response: .072127583 :: [ 05:27:15 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:21 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:21 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:22 ] :: [ LOG ] :: Loop response: .066976908 :: [ 05:27:22 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:28 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:28 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:28 ] :: [ LOG ] :: Loop response: .069405211 :: [ 05:27:28 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:34 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:34 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:34 ] :: [ LOG ] :: Loop response: .068985168 :: [ 05:27:34 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:40 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:40 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:40 ] :: [ LOG ] :: Loop response: .072049084 :: [ 05:27:40 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:46 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:46 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:46 ] :: [ LOG ] :: Loop response: .065980170 :: [ 05:27:46 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:52 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:52 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:52 ] :: [ LOG ] :: Loop response: .073706983 :: [ 05:27:52 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:27:58 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:27:58 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:27:58 ] :: [ LOG ] :: Loop response: .074754645 :: [ 05:27:58 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:28:04 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:28:04 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:28:04 ] :: [ LOG ] :: Loop response: .069518966 :: [ 05:28:05 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:28:11 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:28:11 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:28:11 ] :: [ LOG ] :: Loop response: .070767346 :: [ 05:28:11 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:28:17 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:28:17 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:28:17 ] :: [ LOG ] :: Loop response: .070695967 :: [ 05:28:17 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:28:23 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:28:23 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:28:23 ] :: [ LOG ] :: Loop response: .069597471 :: [ 05:28:23 ] :: [ PASS ] :: Test pass as the cache response time is lower. :: [ 05:28:29 ] :: [ BEGIN ] :: Running 'getent netgroup netgrp_nowait' netgrp_nowait (host1,kau10,example.com) :: [ 05:28:29 ] :: [ PASS ] :: Command 'getent netgroup netgrp_nowait' (Expected 0, got 0) :: [ 05:28:29 ] :: [ LOG ] :: Loop response: .069321224 :: [ 05:28:29 ] :: [ PASS ] :: Test pass as the cache response time is lower. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 118s :: Assertions: 40 good, 0 bad :: RESULT: PASS (netgroups do not honor entry cache nowait percentage bz822236) ** netgroups-do-not-honor-entry-cache-nowait-percentage-bz822236 PASS Score:0 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, 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/RHSA-2019:3651 |