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 2018153 - RFE - Provide an option to abort an Auto Member rebuild task.
Summary: RFE - Provide an option to abort an Auto Member rebuild task.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.9
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: 7.9
Assignee: mreynolds
QA Contact: RHDS QE
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks: 2052527 2052528
TreeView+ depends on / blocked
 
Reported: 2021-10-28 11:21 UTC by Têko Mihinto
Modified: 2023-07-04 16:35 UTC (History)
5 users (show)

Fixed In Version: 389-ds-base-1.3.10.2-16.el7_9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2052527 (view as bug list)
Environment:
Last Closed: 2022-06-28 09:54:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch file for "RFE abort automember rebuild task" for 389-ds-base-1.3.10 branch (10.84 KB, patch)
2022-02-08 17:47 UTC, mreynolds
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker IDMDS-1919 0 None None None 2022-01-13 17:33:08 UTC
Red Hat Issue Tracker IDMDS-1928 0 None None None 2022-01-20 10:27:45 UTC
Red Hat Issue Tracker RHELPLAN-107871 0 None None None 2022-01-13 16:33:09 UTC
Red Hat Product Errata RHSA-2022:5239 0 None None None 2022-06-28 09:54:40 UTC

Description Têko Mihinto 2021-10-28 11:21:50 UTC
Description of problem:
Depending of the size of the groups along with the complexity of the rules and the interactions with other plugins ( typically in an IPA context ), the Auto Member rebuild task can generate performance issues ( for instance a high CPU usage when the Schema Compatibility plugin is called ). 

Therefore a customer would like to have an option to abort the rebuild task.

Version-Release number of selected component (if applicable):
RHEL 7.9

How reproducible:
Was a 1 time issue at a customer site.

Steps to Reproduce:


Actual results:
High CPU usage for several hours.

Expected results:
Allow to stop the task.

Additional info:

Comment 6 mreynolds 2022-02-08 17:25:22 UTC
Upstream ticket: 

https://github.com/389ds/389-ds-base/issues/5155

Comment 7 mreynolds 2022-02-08 17:47:01 UTC
Created attachment 1859850 [details]
Patch file for "RFE abort automember rebuild task" for 389-ds-base-1.3.10 branch

This patch can be used to generate a hotfix for RHEL 7.9 that adds an abort task to cancel any running "automember rebuild tasks.  This is an example on how to execute the task:

# ldapmodify -D "cn=directory manager" -W
dn: cn=my abort task, cn=automember abort rebuild,cn=tasks,cn=config
objectClass: top
objectClass: extensibleObject
cn: my abort task


In addition to the new "Abort Task" the database transaction handling was also changed around the rebuild task, and it "might" help improve the impact of the rebuild task.  It would be good to know if the abort task is still needed after applying the hotfix.

Comment 23 errata-xmlrpc 2022-06-28 09:54:23 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 (Moderate: 389-ds-base security, 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/RHSA-2022:5239


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