Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 967636 - SSSD frequently fails to return automount maps from LDAP
SSSD frequently fails to return automount maps from LDAP
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd (Show other bugs)
6.4
Unspecified Unspecified
unspecified Severity medium
: rc
: ---
Assigned To: Jakub Hrozek
Kaushik Banerjee
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-27 13:46 EDT by Derek Warren
Modified: 2014-07-23 04:24 EDT (History)
8 users (show)

See Also:
Fixed In Version: sssd-1.9.2-91.el6
Doc Type: Bug Fix
Doc Text:
Cause: The number of autofs maps returned from the SSSD to the automounter deamon was incorrect in some cases, especially with large automounter maps. Consequence: As a consequence, large automounter maps were not returned reliably to the automounter deamon. Fix: The number of maps returned was fixed to be correct in all cases. Result: Large automounter maps work reliably after the update.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-21 17:18:10 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
FedoraHosted SSSD 1739 None None None Never
Red Hat Product Errata RHBA-2013:1680 normal SHIPPED_LIVE sssd bug fix and enhancement update 2013-11-20 16:52:37 EST

  None (edit)
Description Derek Warren 2013-05-27 13:46:54 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.
Comment 2 Jakub Hrozek 2013-05-28 04:24:30 EDT
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/
Comment 3 Derek Warren 2013-05-28 12:03:10 EDT
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
Comment 4 Jakub Hrozek 2013-05-29 05:31:57 EDT
Thank you for testing, Derek!
Comment 5 Jakub Hrozek 2013-05-30 06:03:57 EDT
Upstream ticket:
https://fedorahosted.org/sssd/ticket/1739
Comment 11 Nirupama Karandikar 2013-09-23 08:49:07 EDT
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
Comment 12 errata-xmlrpc 2013-11-21 17:18:10 EST
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

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