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
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base
Version: 7.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: LDAP Maintainers
QA Contact: RHDS QE
Depends On:
TreeView+ depends on / blocked
Reported: 2021-04-30 12:19 UTC by Aleksandr Sharov
Modified: 2021-05-18 01:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Target Upstream Version:

Attachments (Terms of Use)

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-                        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:




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

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.