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 872595 - ssh ipa user failures indicating "Connection closed" denying service
Summary: ssh ipa user failures indicating "Connection closed" denying service
Keywords:
Status: CLOSED DUPLICATE of bug 872324
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Hrozek
QA Contact: Kaushik Banerjee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-02 14:06 UTC by baiesi
Modified: 2012-11-13 15:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-02 14:24:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description baiesi 2012-11-02 14:06:05 UTC
Summary:
ssh ipa user failures indicating "Connection closed"

Description of problem:
I reinstalled ipa3.0 with Rhel4 recently.  After approx 3 hours of ipaclient ssh/sudo system tests the tests began failing.  I could not ssh to an ipaclient with any of the defined 10k ipa users.  When failing the clients began returning the message "Connection closed by 10.16.24.xx" failing the tests.

The secure log on the Ipa clients then began generating system errors such as;
> Oct 31 09:12:26 sti-high-3 sshd[28205]: pam_sss(sshd:account): Access denied for user rh_ipa_user8382: 4 (System error)
> Oct 31 09:12:28 sti-high-3 sshd[28218]: pam_sss(sshd:account): Access denied for user rh_ipa_user6384: 4 (System error)
> Oct 31 09:12:29 sti-high-3 sshd[28231]: pam_sss(sshd:account): Access denied for user rh_ipa_user7383: 4 (System error)
> Oct 31 09:12:30 sti-high-3 sshd[28252]: pam_sss(sshd:account): Access denied for user rh_ipa_user5386: 4 (System error)

Note:I had run similar tests on Rhel63 and a previous Ipa 3.0 build with no issues 2 weeks ago.

Expected results:
Continued ipa user ssh/sudo operation

Temp work around to get running:
The temporary fix is to "service sssd restart " and the system would operate for another period of time.

Resolution:
I communicated the issue to dev ssd, Jakub Hrozek. He indicated leaking in file descriptors to /etc/selinux/targeted/logins/$username but he would have more info of the fix.  He found the issue and indicates that a patch has been acked on the upstream devel list already...
fast response..:)

Version-Release number of selected component (if applicable):
(ipa3.0 with Rhel4)
ipa-client-3.0.0-106.20121026T1837zgitf14dd98.el6.x86_64
ipa-server-3.0.0-106.20121026T1837zgitf14dd98.el6.x86_64
sssd-1.9.90-0.20121026T1831zgitac7a7ee.el6.x86_64
sssd-client-1.9.90-0.20121026T1831zgitac7a7ee.el6.x86_64
ipa-server-3.0.0-106.20121026T1837zgitf14dd98.el6.x86_64
libipa_hbac-1.9.90-0.20121026T1831zgitac7a7ee.el6.x86_64
ipa-pki-common-theme-9.0.3-7.20121026T1808z.el6.noarch
ipa-python-3.0.0-106.20121026T1837zgitf14dd98.el6.x86_64
ipa-server-selinux-3.0.0-106.20121026T1837zgitf14dd98.el6.x86_64
libipa_hbac-python-1.9.90-0.20121026T1831zgitac7a7ee.el6.x86_64
ipa-pki-ca-theme-9.0.3-7.20121026T1808z.el6.noarch
ipa-admintools-3.0.0-106.20121026T1837zgitf14dd98.el6.x86_64

Test Env:
2 IPA Master Servers
2 IPA Clients
10K users
10 Groups 1k per group
Sudo command setup

How to reproduce:
Setup the test env above
Simulate a 10 virtual user ssh/sudo use case runtime load against the test env for 3-4 hours.

Comment 2 Jakub Hrozek 2012-11-02 14:24:47 UTC
Sorry Bruce, I should have let you know that I already filed a bugzilla as well. But your text provides great info on how to reproduce.

*** This bug has been marked as a duplicate of bug 872324 ***

Comment 3 baiesi 2012-11-13 15:17:53 UTC
Test Type:
-System Test Defect Verification

Test Run Duration:
-6+ days

Test Env /Config:
-Red Hat Enterprise Linux Server release 6.4 Beta (Santiago)
-IPA server version 3.0.1.pre1. API version 2.44
-Installed 2012-10-29 10:49:25 -04:00 -04:00 Job=324310
-Kernel Linux version 2.6.32-330.el6.x86_64
-Installed 2 Ipa Servers and 2 Ipa clients
-10K Users divided into 10 user groups
-11 sudo rules and approx 1500 sudo commands

Installed Packages:
ipa-server-3.0.0-106.20121101T0117zgit5ff4025.el6.x86_64
ipa-client-3.0.0-106.20121101T0117zgit5ff4025.el6.x86_64
libipa_hbac-python-1.9.90-0.20121101T0057zgitf46bf56.el6.x86_64
ipa-pki-ca-theme-9.0.3-7.20121101T0026z.el6.noarch
libipa_hbac-1.9.90-0.20121101T0057zgitf46bf56.el6.x86_64
ipa-pki-common-theme-9.0.3-7.20121101T0026z.el6.noarch
ipa-python-3.0.0-106.20121101T0117zgit5ff4025.el6.x86_64
ipa-admintools-3.0.0-106.20121101T0117zgit5ff4025.el6.x86_64
ipa-server-selinux-3.0.0-106.20121101T0117zgit5ff4025.el6.x86_64
sssd-client-1.9.90-0.20121101T0057zgitf46bf56.el6.x86_64
sssd-1.9.90-0.20121101T0057zgitf46bf56.el6.x86_64
389-ds-base-libs-1.2.11.15-2.el6.x86_64
389-ds-base-debuginfo-1.2.11.15-2.el6.x86_64
389-ds-base-1.2.11.15-2.el6.x86_64

Load Applied:
-I yum upgraded my test environment with the fixes Jakob submitted and the issue immediately disappeared in the next system test run.
-The test environment has been subjected to tests that previously triggered the defect.  The test load is running through runtime ssh/sudo multi-thread load, cycling through 10k ipa users.  Load simulating 10 concurrent simulated users 24/7 while applying light administration work via cli and UI. Over 6+ days consisting of pos/neg ssh/sudo use cases were applied against the test environment.  The UI admin load use case was to add/delete sudo rules from each Ipa Server simultaneously each day.

Observations:
-I'm not seeing the reported symptoms/results described in this defect. Not able to reproduced, this is a good thing.

*** This bug has been marked as a duplicate of bug 872324 ***


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