Bug 1454921

Summary: Fixup memberof task throws error "memberof_fix_memberof_callback: Weird "
Product: Red Hat Enterprise Linux 7 Reporter: Sankar Ramalingam <sramling>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.4CC: lmiksik, nkinder, rmeggins
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.6.1-16.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 21:17:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sankar Ramalingam 2017-05-23 18:48:58 UTC
Description of problem: Fixup memberof task throws "memberof_fix_memberof_callback: Weird, uid=user0,ou=people,dc=example,dc=com is not in the cache"

Version-Release number of selected component (if applicable): 389-ds-base-1.3.6.1-14

How reproducible: Consistently

Steps to Reproduce:
1. Create data_ldif using create_test_data.py script. Customize the script to use it for 389-ds-base alone setup.
2. Create 5000 users, 100 groups and 10 users/group
https://github.com/freeipa/freeipa-tools/blob/master/create-test-data.py
3. Enable memberOf plugin.
4. Run online import to add 5000 users and 100 groups.
5. Run fixup-memberof.pl to fix/create memberOf for all users.
6. DS error logs print "ERR - memberof-plugin - memberof_fix_memberof_callback: Weird, uid=user4500,ou=people,dc=example,dc=com is not in the cache" error

Actual results: memberOf fixup task throws error.

Expected results: No error messages.

Additional info:
[root@cypher ~]# rpm -qa |grep -i 389-ds
389-ds-base-libs-1.3.6.1-14.el7.x86_64
389-ds-base-debuginfo-1.3.6.1-14.el7.x86_64
389-ds-base-1.3.6.1-14.el7.x86_64

Comment 3 Sankar Ramalingam 2017-06-08 15:29:58 UTC
Executed memberOf performance tests and checked error logs for "memberof_fix_memberof_callback: Weird" error.

[root@bkr-hv03-guest09 perf]#  grep -i "*memberof_fix_memberof_callback: Weird*" /var/log/dirsrv/slapd-standalone_1/errors 
[root@bkr-hv03-guest09 perf]# 

[root@auto-hv-02-guest04 perf]# grep -i "memberof_fix_memberof_callback: Weird" /var/log/dirsrv/slapd-standalone_1/errors 
[root@auto-hv-02-guest04 perf]# 

[root@auto-hv-02-guest04 perf]# rpm -qa |grep -i 389-ds
389-ds-base-libs-1.3.6.1-16.el7.x86_64
389-ds-base-snmp-1.3.6.1-16.el7.x86_64
389-ds-base-1.3.6.1-16.el7.x86_64
389-ds-base-debuginfo-1.3.6.1-16.el7.x86_64

Hence, marking the bug as Verified.

Comment 4 errata-xmlrpc 2017-08-01 21:17:44 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, 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-2017:2086