Hide Forgot
there are reports of frequent error messages like: {{{ [22/Sep/2015:17:20:45 +0200] attrlist_replace - attr_replace (nsds50ruv, {replicageneration} 56012d2f000000040000) failed. [22/Sep/2015:17:21:15 +0200] attrlist_replace - attr_replace (nsds50ruv, {replicageneration} 56012d2f000000040000) failed. [22/Sep/2015:17:21:45 +0200] attrlist_replace - attr_replace (nsds50ruv, {replicageneration} 56012d2f000000040000) failed. }}} these messages appear mostly in connection with cleanallruv, but can appear independently
Hi Ludwig, Could there be verification steps for this bug? Just do cleanallruv, and if we don't see "attrlist_replace - attr_replace (nsds50ruv, {replicageneration} 56012d2f000000040000) failed." message in the error log, we could say the fix is verified? Thanks!
Hi Noriko, there are two requirements to trigger the bug. - the RUV needs to contain a lareg number of RIDs, I have seen this with 9 replicas - the RID to be cleaned should be in the beginning of the replica list in the ruv (position 1 is always the local RID), so the RID on pos 2 or 3 should do. so if you have a RUV like: nsds50ruv: {replicageneration} 51dc3bac000000640000 nsds50ruv: {replica 200 ldap://localhost:5200} 5609f0a4000000c80000 560e0886000000c80000 nsds50ruv: {replica 100 ldap://localhost:5100} 5609deae000000640000 560e0970000100640000 nsds50ruv: {replica 500 ldap://localhost:5500} 5609f0a4000000c80000 560e0886000000c80000 nsds50ruv: {replica 400 ldap://localhost:5400} 5609deae000000640000 560e0970000100640000 nsds50ruv: {replica 600 ldap://localhost:5600} 5609f0a4000000c80000 560e0886000000c80000 nsds50ruv: {replica 700 ldap://localhost:5700} 5609deae000000640000 560e0970000100640000 nsds50ruv: {replica 800 ldap://localhost:5800} 5609f0a4000000c80000 560e0886000000c80000 nsds50ruv: {replica 900 ldap://localhost:5900} 5609deae000000640000 560e0970000100640000 nsds50ruv: {replica 300 ldap://localhost:5300} 5609f0a4000000c80000 560e0886000000c80000 then clean rid 100 and don't see the message the fix is verified
6 master replication. PORT="1189" ; ldapsearch -LLL -x -p $PORT -h localhost -D "cn=Directory Manager" -w Secret123 -b "dc=passsync,dc=com" -s one '(&(nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff)(objectclass=nstombstone))' nsds50ruv dn: nsuniqueid=ffffffff-ffffffff-ffffffff-ffffffff,dc=passsync,dc=com nsds50ruv: {replicageneration} 56d266c6000008a30000 nsds50ruv: {replica 2211 ldap://qe-blade-01.idmqe.lab.eng.bos.redhat.com:1189} 56d2699a000008a30000 56e96992001708a30000 nsds50ruv: {replica 2216 ldap://qe-blade-01.idmqe.lab.eng.bos.redhat.com:3289} nsds50ruv: {replica 2215 ldap://qe-blade-01.idmqe.lab.eng.bos.redhat.com:3189} nsds50ruv: {replica 2214 ldap://qe-blade-01.idmqe.lab.eng.bos.redhat.com:2289} nsds50ruv: {replica 2213 ldap://qe-blade-01.idmqe.lab.eng.bos.redhat.com:2189} nsds50ruv: {replica 2212 ldap://qe-blade-01.idmqe.lab.eng.bos.redhat.com:1289}
[root@qe-blade-01 MMR_WINSYNC]# ldapmodify -x -p 1189 -h localhost -D "cn=Directory Manager" -w Secret123 -avf /export/cleanruv.ldif ldap_initialize( ldap://localhost:1189 ) add cn: M3clean add objectclass: extensibleObject add replica-base-dn: dc=passsync,dc=com add replica-id: 2213 adding new entry "cn=M3clean,cn=cleanallruv,cn=tasks,cn=config" modify complete [root@qe-blade-01 MMR_WINSYNC]# cat /export/cleanruv.ldif dn: cn=M3clean,cn=cleanallruv,cn=tasks,cn=config cn: M3clean objectclass: extensibleObject replica-base-dn: dc=passsync,dc=com replica-id: 2213 [root@qe-blade-01 MMR_WINSYNC]# tail -f /var/log/dirsrv/slapd-M1/errors [16/Mar/2016:10:51:46 -0400] NSMMReplicationPlugin - CleanAllRUV Task (rid 2213): Waiting for all the replicas to be cleaned... [16/Mar/2016:10:51:47 -0400] NSMMReplicationPlugin - CleanAllRUV Task (rid 2213): Waiting for all the replicas to finish cleaning... [16/Mar/2016:10:51:47 -0400] NSMMReplicationPlugin - CleanAllRUV Task (rid 2213): Not all replicas finished cleaning, retrying in 10 seconds [16/Mar/2016:10:51:57 -0400] NSMMReplicationPlugin - CleanAllRUV Task (rid 2213): Successfully cleaned rid(2213). [root@qe-blade-01 MMR_WINSYNC]# grep -i "attr_replace*.*failed*" /var/log/dirsrv/slapd-*/errors [root@qe-blade-01 MMR_WINSYNC]# echo $? 1 [root@qe-blade-01 MMR_WINSYNC]# No errors observed as "attrlist_replace - attr_replace". Hence, marking the bug as Verified. [root@qe-blade-01 MMR_WINSYNC]# rpm -qa |grep -i 389-ds 389-ds-base-libs-1.2.11.15-74.el6.x86_64 389-ds-base-1.2.11.15-74.el6.x86_64 389-ds-base-debuginfo-1.2.11.15-73.el6.x86_64 389-ds-base-devel-1.2.11.15-74.el6.x86_64
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/RHBA-2016-0737.html