Red Hat Bugzilla – Bug 967636
SSSD frequently fails to return automount maps from LDAP
Last modified: 2014-07-23 04:24:18 EDT
Description of problem: SSSD 1.9.2's autofs component frequently fails to read any automount maps in LDAP. Version-Release number of selected component (if applicable): 1.9.2 How reproducible: Very easily. Steps to Reproduce: 1. Have lots of automount entries in an LDAP server (~250 in our case). 2. On an SSSD+autofs+LDAP client, run `automount --dumpmaps` 10 times. 3. Behold: you will only get automount maps from LDAP ~30% of the time. Actual results: Out of 10 attempts at running `automount --dumpmaps` only attempts #5, 6 and 8 returned automount information from LDAP. Expected results: automount --dumpmaps should always return a complete set of automount maps from LDAP. Additional info: This has already been reported against RHEL7: https://bugzilla.redhat.com/show_bug.cgi?id=891281 Fedora 18: https://bugzilla.redhat.com/show_bug.cgi?id=928447 The bug has already been fixed in SSSD 1.9.5: https://fedorahosted.org/sssd/ticket/1739 This bug is basically a request for the fix to be backported to the base CentOS 6 SSSD package (1.9.2). Relevant debug output is available in the above tickets.
I agree we should fix this problem in RHEL6.5, too. Here is a test package, it's the latest 6.4 plus that one patch. Would you mind trying it out? http://jhrozek.fedorapeople.org/sssd-test-builds/autofs/
Thanks for looking at this and for the quick response. I tested these packages on two CentOS 6.4 hosts and in both cases things look very good. These hosts were using SSSD and Active Directory for authorization, automount maps, and UID/GID lookups. All existing functionality continued to work. Let us know if there's anything else we can test for you. Before: [libsss_autofs-1.9.2-82.7.el6_4.x86_64, sssd-client-1.9.2-82.7.el6_4.x86_64] # while :; do automount --dumpmaps | wc -l ; sleep 1 ; done 15 344 344 354 15 344 354 354 354 302 15 344 354 304 15 344 344 354 354 354 354 354 354 344 344 15 354 354 354 After: [libsss_autofs-1.9.2-82.7.el6_4.1.x86_64, sssd-client-1.9.2-82.7.el6_4.1.x86_64] # while :; do automount --dumpmaps | wc -l ; sleep 1 ; done 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333 333
Thank you for testing, Derek!
Upstream ticket: https://fedorahosted.org/sssd/ticket/1739
Output of beaker run with sssd-1.9.2-127.el6.x86_64 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: autofs15 - BZ 967636 SSSD frequently fails to return automount maps from LDAP :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ LOG ] :: Duration: 25s :: [ LOG ] :: Assertions: 10 good, 0 bad :: [ PASS ] :: RESULT: autofs15 - BZ 967636 SSSD frequently fails to return automount maps from LDAP
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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1680.html