Red Hat Bugzilla – Bug 1162997
Directory Server crashes while trying to perform export task for automember plugin with dynamic plugin on.
Last modified: 2015-03-05 04:36:59 EST
Created attachment 956588 [details] stacktrace Description of problem: Directory Server crashes while trying to perform export task for automember plugin with dynamic plugin on. Version-Release number of selected component (if applicable): Red Hat Enterprise Linux Server release 7.1 Beta (Maipo) 389-ds-base-libs-1.3.3.1-7.el7.x86_64 389-ds-base-1.3.3.1-7.el7.x86_64 389-ds-base-debuginfo-1.3.3.1-8.el7.x86_6 How reproducible: Always Steps to Reproduce: Add 10 users and enable autoMembers plug-in and then run automembers export task to create an ldif file with member attributes Actual results: Server crashes. Expected results: Server should not crash and operation should complete successfully. Additional info: PFA for stack trace.
Created attachment 956623 [details] Referme_stacktrace
Acceptance logs :: http://dhcp201-126.englab.pnq.redhat.com/qa/archive/ds/10/acceptance/output/Linux/20141112-142205/autoMembers/autoMembers.run.out.23420
Executed with latest bits with same crash:: rpm -qa | grep 389 389-ds-base-1.3.3.1-8.el7.x86_64 389-ds-base-libs-1.3.3.1-8.el7.x86_64 389-ds-base-debuginfo-1.3.3.1-8.el7.x86_64 PFA for stacktrace "stacktrace.1415784332.txt" for this build
Created attachment 956652 [details] stacktrace for latest build
Information by Ludwig :: the crash is in updating a counter for the plugin, the code was introduced when allowing to enable plugins without restart. Either the plugin counter is not properly initialized in a dynamic enabling or there is a race in enablin the plugin and adding a task.
(In reply to Amita Sharma from comment #6) > Information by Ludwig :: the crash is in updating a counter for the plugin, > the code was introduced when allowing to enable plugins without restart. > Either the plugin counter is not properly initialized in a dynamic enabling > or there is a race in enablin the plugin and adding a task. Adding Mark.
This has been fixed upstream via: https://fedorahosted.org/389/ticket/47451
Test Case passed with dynamic plugin ON :: ----------------- Starting Test autoMemTask_02 ------------------------- This test case and all test cases after this test case will FAIL due to bug https://bugzilla.redhat.com/show_bug.cgi?id=1162997 Disabling plugin Disabling Auto Membership plugin and checking status Entry uid=User_autoMemTask_012,ou=TaskEmployees,dc=autoMembers,dc=com deleted successfully modifying entry cn=Auto Membership Plugin,cn=plugins,cn=config Running /usr/lib64/mozldap/ldapsearch -1 -h cloud-qe-4.idmqe.lab.eng.bos.redhat.com -p 21625 -D cn=directory manager -w Secret123 -b cn=Auto Membership Plugin,cn=plugins,cn=config objectclass=* |grep -i nsslapd-pluginEnabled: |awk '{ print }' Automembership plugin successfully disabled. TestCase [autoMemTask02] result-> [PASS] Hence marking as VERIFIED.
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. https://rhn.redhat.com/errata/RHSA-2015-0416.html