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 2084223 - 'ipa idview-show idviewname' & IPA WebUI takes longer time to return the results [rhel-7.9.z]
Summary: 'ipa idview-show idviewname' & IPA WebUI takes longer time to return the resu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.9
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-11 16:59 UTC by Akshay Sakure
Modified: 2022-12-13 07:30 UTC (History)
24 users (show)

Fixed In Version: ipa-4.6.8-5.el7_9.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-02 16:37:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-8275 0 None None None 2022-09-08 09:04:12 UTC
Red Hat Issue Tracker RHELPLAN-121808 0 None None None 2022-05-12 07:30:39 UTC
Red Hat Issue Tracker SSSD-4706 0 None None None 2022-06-07 19:58:11 UTC
Red Hat Product Errata RHBA-2022:7342 0 None None None 2022-11-02 16:37:08 UTC

Description Akshay Sakure 2022-05-11 16:59:16 UTC
Description of problem:
'ipa idview-show idviewname' & IPA WebUI takes longer time to return the results

Version-Release number of selected component (if applicable):
ipa-server-4.6.8-5.el7_9.6.x86_64
sssd-1.16.5-10.el7_9.8.x86_64 

How reproducible:
Always

Steps to Reproduce:
1. Install IPA server, set up IPA-AD trust. 
2. Create IDView  (idview) in IPA with larger number of idoverrides.
3. Run '# time ipa idview-show idviewname' command and see how long it takes.

Actual results:
'ipa idview-show idviewname' & IPA WebUI taking long time to show results, it almost take 1-2.5 minutes which is not acceptable and makes the tool unusable.

Expected results:
'ipa idview-show idviewname' & IPA WebUI should show the results quicker. 

Additional info:
Several things including some sssd tweaks have been tried but it didn't make significant difference yet.

Comment 4 Alexander Bokovoy 2022-05-12 07:40:25 UTC
All that is done on IPA side is a call to SSSD to resolve SIDs. If there is a slowdown, that means SSSD responses are slow.
Moving to SSSD to investigate.

Comment 13 Mike Murphy 2022-06-09 15:10:52 UTC
This happening on RHEL 8.5 also. Customer has an ad trust - one way non transitive with CHILD DOMAIN in AD, NOT Root domain.


389-ds-base-1.4.3.23-14.module+el8.5.0+14377+c731dc97.x86_64 Tue May 17 11:27:46 2022
389-ds-base-libs-1.4.3.23-14.module+el8.5.0+14377+c731dc97.x86_64 Tue May 17 11:27:17 2022
device-mapper-multipath-0.8.4-17.el8.x86_64                 Tue Jan 25 10:03:12 2022
device-mapper-multipath-libs-0.8.4-17.el8.x86_64            Tue Jan 25 10:03:12 2022
ipa-client-4.9.6-10.module+el8.5.0+13587+92118e57.x86_64    Tue Jan 25 10:03:38 2022
ipa-client-common-4.9.6-10.module+el8.5.0+13587+92118e57.noarch Tue Jan 25 10:00:18 2022
ipa-common-4.9.6-10.module+el8.5.0+13587+92118e57.noarch    Tue Jan 25 10:03:03 2022
ipa-healthcheck-0.7-6.module+el8.5.0+11410+91a33fe4.noarch  Tue Jan 25 10:03:41 2022
ipa-healthcheck-core-0.7-6.module+el8.5.0+11410+91a33fe4.noarch Tue Jan 25 10:02:40 2022
ipa-selinux-4.9.6-10.module+el8.5.0+13587+92118e57.noarch   Tue Jan 25 10:02:41 2022
ipa-server-4.9.6-10.module+el8.5.0+13587+92118e57.x86_64    Tue Jan 25 10:03:40 2022
ipa-server-common-4.9.6-10.module+el8.5.0+13587+92118e57.noarch Tue Jan 25 10:03:29 2022
ipa-server-dns-4.9.6-10.module+el8.5.0+13587+92118e57.noarch Tue Jan 25 10:03:41 2022
ipa-server-trust-ad-4.9.6-10.module+el8.5.0+13587+92118e57.x86_64 Tue Jan 25 10:03:41 2022
krb5-libs-1.18.2-14.el8.x86_64                              Tue Jan 25 10:01:11 2022
krb5-pkinit-1.18.2-14.el8.x86_64                            Tue Jan 25 10:03:15 2022
krb5-server-1.18.2-14.el8.x86_64                            Tue Jan 25 10:02:40 2022
krb5-workstation-1.18.2-14.el8.x86_64                       Tue Jan 25 10:02:41 2022
libipa_hbac-2.5.2-2.el8_5.4.x86_64                          Tue Mar 15 11:23:01 2022
perl-Text-ParseWords-3.30-395.el8.noarch                    Mon May  4 10:07:18 2020
perl-threads-2.21-2.el8.x86_64                              Mon May  4 10:07:21 2020
perl-threads-shared-1.58-2.el8.x86_64                       Mon May  4 10:07:21 2020
python3-iniparse-0.4-31.el8.noarch                          Fri May  1 20:44:35 2020
python3-ipaclient-4.9.6-10.module+el8.5.0+13587+92118e57.noarch Tue Jan 25 10:03:38 2022
python3-ipalib-4.9.6-10.module+el8.5.0+13587+92118e57.noarch Tue Jan 25 10:03:36 2022
python3-ipaserver-4.9.6-10.module+el8.5.0+13587+92118e57.noarch Tue Jan 25 10:03:40 2022
python3-libipa_hbac-2.5.2-2.el8_5.4.x86_64                  Tue Mar 15 11:23:31 2022
redhat-logos-ipa-84.5-1.el8.noarch                          Tue Jan 25 10:00:18 2022
slapi-nis-0.56.6-4.module+el8.5.0+12583+bf7ffcf6.x86_64     Tue Jan 25 10:03:28 2022
sssd-ipa-2.5.2-2.el8_5.4.x86_64                             Tue Mar 15 11:23:23 2022
sssd-krb5-2.5.2-2.el8_5.4.x86_64                            Tue Mar 15 11:23:24 2022
sssd-krb5-common-2.5.2-2.el8_5.4.x86_64                     Tue Mar 15 11:23:23 2022
words-3.0-28.el8.noarch                                     Fri May  1 20:45:51 2020

Comment 38 Corey Brown 2022-08-16 17:22:59 UTC
Hi all,

I am providing the encrypted file with logs that were requested. I apologize for the delay.

If anything else is needed, please let me know.

Corey Brown, RHCE
Technical Account Manager(TAM)
Red Hat, Inc.

Comment 45 Florence Blanc-Renaud 2022-09-08 09:02:03 UTC
I am re-opening this issue in order to properly track the IPA fix on RHEL 7.9.
RHEL 7.9 needs the fix from ipa-4-6 branch. RHEL 8 and RHEL 9 will inherit the fix from the releases 4.9.10+ and 4.10.0+.

Fixed upstream:
ipa-4-6:
    https://pagure.io/freeipa/c/6787812a3512f5135516cc8849d3b27565e7910f
ipa-4-9:
    https://pagure.io/freeipa/c/cfca49c469e822199cbdccd05d4c4a4cbf281448
master:
    https://pagure.io/freeipa/c/e06f0cc9b4982a4a5f10e841d99c8264f9ac0feb

Comment 55 Prathap 2022-11-02 15:35:05 UTC
Is this version "ipa-4.6.8-5.el7_9.12" available to download ? 

It was metnioned that the issue is fixed as per 

Florence Blanc-Renaud  2022-10-06 14:41:54 UTC
Fixed In Version: ipa-4.6.8-5.el7_9.12

Comment 56 errata-xmlrpc 2022-11-02 16:37:02 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 (ipa 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-2022:7342

Comment 57 Prathap 2022-12-05 15:07:49 UTC
Did this solution worked for anyone ? We seem to have this working okay with manageable time in CLI. But on the GUI, it is taking still very long times.
We have updated the errata on our systems to the recommended levels and do not see the issue resolved yet .
Are we missing anything ? Can someone take a look and help ?

[root@IDMmaster~]# rpm -qa |grep ipa
python2-ipalib-4.6.8-5.el7_9.12.noarch
ipa-client-common-4.6.8-5.el7_9.12.noarch
libipa_hbac-1.16.5-10.el7_9.13.x86_64
ipa-server-common-4.6.8-5.el7_9.12.noarch
ipa-client-4.6.8-5.el7_9.12.x86_64
python-iniparse-0.4-9.el7.noarch
python-libipa_hbac-1.16.5-10.el7_9.13.x86_64
ipa-server-4.6.8-5.el7_9.12.x86_64
python-ipaddress-1.0.16-2.el7.noarch
ipa-common-4.6.8-5.el7_9.12.noarch
python2-ipaclient-4.6.8-5.el7_9.12.noarch
sssd-ipa-1.16.5-10.el7_9.13.x86_64
python2-ipaserver-4.6.8-5.el7_9.12.noarch
ipa-server-trust-ad-4.6.8-5.el7_9.12.x86_64
python-ipaddr-2.1.11-2.el7.noarch
[root@IDMmaster~]#

Comment 58 Florence Blanc-Renaud 2022-12-13 07:30:58 UTC
@(In reply to Prathap from comment #57)
> Did this solution worked for anyone ? We seem to have this working okay with
> manageable time in CLI. But on the GUI, it is taking still very long times.
> We have updated the errata on our systems to the recommended levels and do
> not see the issue resolved yet .
> Are we missing anything ? Can someone take a look and help ?
> 

If the issue seems to happen mainly while using the GUI, please open a new BZ and provide the usual logs:
- enable SSSD debug logs in /etc/sssd/sssd.conf (debug_level = 9)
- set ipa server in debug mode:
  - create a file /etc/ipa/server.conf with the following content:
[globa]
debug = True
  - restart ipa with ipactl restart
- repeat the webui operation that is taking a long time
- wait a few sec for 389-ds to flush the logs
- gather the fresh logs with sos report


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