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 2149025 - schema-compat-plugin expensive with automember rebuild
Summary: schema-compat-plugin expensive with automember rebuild
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: 389-ds-base
Version: 9.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 9.3
Assignee: mreynolds
QA Contact: LDAP QA Team
Evgenia Martynyuk
URL:
Whiteboard: sync-to-jira
Depends On: 2129910 2216828
Blocks: 2149029
TreeView+ depends on / blocked
 
Reported: 2022-11-28 15:49 UTC by mreynolds
Modified: 2023-11-15 09:58 UTC (History)
8 users (show)

Fixed In Version: 389-ds-base-2.3.4-2.el9
Doc Type: Enhancement
Doc Text:
.Automembership plug-in improvements. It no longer cleans up groups by default Previously, the automember rebuild task went through all the automember rules and removed all the memberships, then the task rebuilt the memberships from scratch. Thus, the rebuild task was expensive, especially if other `be_txn` plugins are enabled. With this update, the Automembership plug-in has the following improvements: * Only one rebuilt task is allowed at a time. * The Automembership plug-in now does not clean up previous members by default. Use the new CLI option `--cleanup` to intentionally clean up memberships before rebuilding from scratch: + [literal,subs="+quotes"] .... # dsconf slapd-instance_name plugins automember fixup -f objectclass=posixaccount -s sub **--cleanup** "ou=people,dc=example,dc=com" .... * Improved logging to show fixup progress.
Clone Of: 2129910
: 2149029 (view as bug list)
Environment:
Last Closed: 2023-11-07 08:25:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 5547 0 None open automember plugin improvements 2023-06-20 21:46:04 UTC
Red Hat Issue Tracker IDMDS-2661 0 None None None 2022-11-28 16:10:20 UTC
Red Hat Issue Tracker IDMDS-3350 0 None None None 2023-07-12 05:43:58 UTC
Red Hat Issue Tracker RHELPLAN-140685 0 None None None 2022-11-28 16:10:39 UTC
Red Hat Product Errata RHBA-2023:6350 0 None None None 2023-11-07 08:25:47 UTC

Comment 4 bsmejkal 2023-07-14 08:54:33 UTC
============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.9.17, pytest-7.4.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.9.17', 'Platform': 'Linux-5.14.0-333.el9.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '7.4.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '3.0.0', 'html': '3.2.0', 'libfaketime': '0.1.2', 'flaky': '3.7.0'}}
389-ds-base: 2.3.4-2.el9
nss: 3.79.0-18.el9_1
nspr: 4.34.0-18.el9_1
openldap: 2.6.3-1.el9
cyrus-sasl: 2.1.27-21.el9
FIPS: disabled
rootdir: /mnt/tests/rhds/tests/upstream/ds/dirsrvtests
configfile: pytest.ini
plugins: metadata-3.0.0, html-3.2.0, libfaketime-0.1.2, flaky-3.7.0
collected 1 item                                                                                                                                                                                                                             

dirsrvtests/tests/suites/automember_plugin/automember_mod_test.py::test_mods PASSED                                                                                                                                                    [100%]

============================================================================================================= 1 passed in 38.78s =============================================================================================================

Comment 7 bsmejkal 2023-07-14 09:04:31 UTC
As per comment #c4 marking as VERIFIED.

Comment 11 errata-xmlrpc 2023-11-07 08:25:17 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 (389-ds-base 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:6350


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