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 1955572 - Adding hosts to a big host_group causes IPA to hang for long time
Summary: Adding hosts to a big host_group causes IPA to hang for long time
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: LDAP Maintainers
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-30 12:19 UTC by Aleksandr Sharov
Modified: 2022-08-01 20:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-01 20:19:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker IDMDS-1881 0 None None None 2021-12-08 16:43:26 UTC

Description Aleksandr Sharov 2021-04-30 12:19:19 UTC
Description of problem:
Client is trying to implement a HBAC rule for a big host_group - around 2500+ hosts.

After trying to add a bunch of new hosts to the group, IPA hangs for some time, possibly because it tries to iterate all memberof plugin tasks.

After some time - after adding 1000 hosts to a 1000 host group it was around 1 hour - the IPA becomes responsive back. The IPA's host systems are intact all the time.

We've tried to capture strace of dirserv, sosreport and atop from the system, you can find them in the case attached.

Version-Release number of selected component (if applicable):
389-ds-base-1.3.10.1-14.el7_8.x86_64                        Mon Aug 31 23:07:33 2020
ipa-server-4.6.6-11.el7.x86_64                              Mon Aug 31 23:08:07 2020
RHEL 7.8


How reproducible:
- not enough hosts in lab env to reproduce

Actual results:
IPA is hung fro long time and can't serve clients at all

Expected results:
IPA remains responsive, or processing takes significantly less time

Additional info:
Sosreports

sosreport-m1-freeipa01p-02903063-2021-04-29-foxtelk.tar.xz
sosreport-ds-freeipa01p-02903063-2021-04-29-ojefijs.tar.xz

strace
m1-freeipa01p_strace_dirsrv_32320.txt.gz

atop
m1-freeipa01p_atop_20210429
ds-freeipa01p_atop_20210429

Comment 2 Corey Brown 2021-05-06 14:43:35 UTC
Hi,

The case owner asked for the following in the case and the customer has provided a response:

Can we take a look at the current HBAC rule - 

# ipa hbacrule-find <rule name>

-------------------
1 HBAC rule matched
-------------------
  Rule name: unix-admins_hbac
  Host category: all
  Service category: all
  Enabled: TRUE

Corey Brown


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