Hi List, After upgrading from DS 1.1.2 to 1.3.4.4 , I am seeing errors with master/slave ( fractional replication: memberOf): all transactions are been committed to supplier but the following case the transactions will Not been committed to consumer DS : ( our case: create 2 new groups:A, B , next: add group A as memberOf group B <--- this fails to be applied to consumer DS side). Any input , suggestions , workaround for this case? See the error log for both servers: From supplier :
repl5_inc_result_threadmain: result 1, 10, 1, 11, (null) NSMMReplicationPlugin - agmt="cn=): Consumer failed to replay change (uniqueid c0ef0503-bbb611e5-aea4abb9-cafb5c20, CSN 56993c2c000100030000): Referral (10). Will retry later. [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: got op result 202 should finish 1 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 12 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 12, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 13, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_waitfor_async_results: 13 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain exiting [15/Jan/2016:10:36:27 -0800] agmt="cn=..........) - session end: state=5 load=1 sent=3 skipped=0 skipped_new_rid=0 skipped_csn_gt_cons_maxcsn=0 skipped_up_to_date=0 skipped_csn_gt_ruv=0 skipped_csn_covered=0 [15/Jan/2016:10:36:27 -0800] NSMMReplicationPlugin - agmt="" (ns1-05:389): Successfully released consumer *********************************************************** And the error from consumer:
NSMMReplicationPlugin - conn=70 op=9 repl="dc=": Acquired replica NSMMReplicationPlugin - conn=70 op=9 repl="dc=": StartNSDS90ReplicationRequest: response=0 rc=0 NSMMReplicationPlugin - conn=70 op=9 Relinquishing consumer connection extension NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000100030000 into pending list ] memberof-plugin - memberof_postop_add: failed to add dn(cn=......,ou=Groups,ou=), error (10) ] NSMMReplicationPlugin - conn=70 op=10 csn=56993c2c000100030000 process postop: canceling operation csn NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000200030000 into pending list NSMMReplicationPlugin - Purged state information from entry cn=,ou=...... up to CSN 5622952b000100030000 NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000200030000 NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000400030000 into pending list NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000400030000
Thank you Isabella
What are your replicas: Two masters? One master, one consumer?
If you are using a consumer, the memberof plugin should "not" be enabled on it. It should only be enabled on the master/supplier.
Mark
On 01/15/2016 03:26 PM, ghiureai wrote:
Hi List, After upgrading from DS 1.1.2 to 1.3.4.4 , I am seeing errors with master/slave ( fractional replication: memberOf): all transactions are been committed to supplier but the following case the transactions will Not been committed to consumer DS : ( our case: create 2 new groups:A, B , next: add group A as memberOf group B <--- this fails to be applied to consumer DS side). Any input , suggestions , workaround for this case? See the error log for both servers: From supplier :
repl5_inc_result_threadmain: result 1, 10, 1, 11, (null) NSMMReplicationPlugin - agmt="cn=): Consumer failed to replay change (uniqueid c0ef0503-bbb611e5-aea4abb9-cafb5c20, CSN 56993c2c000100030000): Referral (10). Will retry later. [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: got op result 202 should finish 1 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 12 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 12, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 13, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_waitfor_async_results: 13 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain exiting [15/Jan/2016:10:36:27 -0800] agmt="cn=..........) - session end: state=5 load=1 sent=3 skipped=0 skipped_new_rid=0 skipped_csn_gt_cons_maxcsn=0 skipped_up_to_date=0 skipped_csn_gt_ruv=0 skipped_csn_covered=0 [15/Jan/2016:10:36:27 -0800] NSMMReplicationPlugin - agmt="" (ns1-05:389): Successfully released consumer
And the error from consumer:
NSMMReplicationPlugin - conn=70 op=9 repl="dc=": Acquired replica NSMMReplicationPlugin - conn=70 op=9 repl="dc=": StartNSDS90ReplicationRequest: response=0 rc=0 NSMMReplicationPlugin - conn=70 op=9 Relinquishing consumer connection extension NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000100030000 into pending list ] memberof-plugin - memberof_postop_add: failed to add dn(cn=......,ou=Groups,ou=), error (10) ] NSMMReplicationPlugin - conn=70 op=10 csn=56993c2c000100030000 process postop: canceling operation csn NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000200030000 into pending list NSMMReplicationPlugin - Purged state information from entry cn=,ou=...... up to CSN 5622952b000100030000 NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000200030000 NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000400030000 into pending list NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000400030000
Thank you Isabella -- 389 users mailing list 389-users@%(host_name)s http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
Hi Mark, my replication cfg is :master/slave ( one consumer only ) , I am using fractional replication with memberof plugin excluded from rep agreement ( this was suggested in my old version DS 1.1.2), Now after upgrade of both supplier and consumer seeing issues when adding groups to another group using memberof plugin ( as per error log in initial thread). Both supplier and consumer have memberof plugin enabled , you suggest I should disable on consumer side ?( there is already excluded from replication , would not be sufficient?) Thank you, Isabella
On 01/15/2016 12:26 PM, ghiureai wrote:
Hi List, After upgrading from DS 1.1.2 to 1.3.4.4 , I am seeing errors with master/slave ( fractional replication: memberOf): all transactions are been committed to supplier but the following case the transactions will Not been committed to consumer DS : ( our case: create 2 new groups:A, B , next: add group A as memberOf group B <--- this fails to be applied to consumer DS side). Any input , suggestions , workaround for this case? See the error log for both servers: From supplier :
repl5_inc_result_threadmain: result 1, 10, 1, 11, (null) NSMMReplicationPlugin - agmt="cn=): Consumer failed to replay change (uniqueid c0ef0503-bbb611e5-aea4abb9-cafb5c20, CSN 56993c2c000100030000): Referral (10). Will retry later. [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: got op result 202 should finish 1 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 12 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 12, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 13, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_waitfor_async_results: 13 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain exiting [15/Jan/2016:10:36:27 -0800] agmt="cn=..........) - session end: state=5 load=1 sent=3 skipped=0 skipped_new_rid=0 skipped_csn_gt_cons_maxcsn=0 skipped_up_to_date=0 skipped_csn_gt_ruv=0 skipped_csn_covered=0 [15/Jan/2016:10:36:27 -0800] NSMMReplicationPlugin - agmt="" (ns1-05:389): Successfully released consumer
And the error from consumer:
NSMMReplicationPlugin - conn=70 op=9 repl="dc=": Acquired replica NSMMReplicationPlugin - conn=70 op=9 repl="dc=": StartNSDS90ReplicationRequest: response=0 rc=0 NSMMReplicationPlugin - conn=70 op=9 Relinquishing consumer connection extension NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000100030000 into pending list ] memberof-plugin - memberof_postop_add: failed to add dn(cn=......,ou=Groups,ou=), error (10) ] NSMMReplicationPlugin - conn=70 op=10 csn=56993c2c000100030000 process postop: canceling operation csn NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000200030000 into pending list NSMMReplicationPlugin - Purged state information from entry cn=,ou=...... up to CSN 5622952b000100030000 NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000200030000 NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000400030000 into pending list NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000400030000
Thank you Isabella
On 01/15/2016 03:43 PM, ghiureai wrote:
Hi Mark, my replication cfg is :master/slave ( one consumer only ) , I am using fractional replication with memberof plugin excluded from rep agreement ( this was suggested in my old version DS 1.1.2), Now after upgrade of both supplier and consumer seeing issues when adding groups to another group using memberof plugin ( as per error log in initial thread). Both supplier and consumer have memberof plugin enabled , you suggest I should disable on consumer side ?( there is already excluded from replication , would not be sufficient?)
You need to disable the plugin on the consumer. The plugin is attempting to update the memberOf attribute on the consumer because the plugin is enabled. But since its a consumer its receiving a referral to the master which is aborting the replicated operation.
Thank you, Isabella
On 01/15/2016 12:26 PM, ghiureai wrote:
Hi List, After upgrading from DS 1.1.2 to 1.3.4.4 , I am seeing errors with master/slave ( fractional replication: memberOf): all transactions are been committed to supplier but the following case the transactions will Not been committed to consumer DS : ( our case: create 2 new groups:A, B , next: add group A as memberOf group B <--- this fails to be applied to consumer DS side). Any input , suggestions , workaround for this case? See the error log for both servers: From supplier :
repl5_inc_result_threadmain: result 1, 10, 1, 11, (null) NSMMReplicationPlugin - agmt="cn=): Consumer failed to replay change (uniqueid c0ef0503-bbb611e5-aea4abb9-cafb5c20, CSN 56993c2c000100030000): Referral (10). Will retry later. [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: got op result 202 should finish 1 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 12 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 12, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 13, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_waitfor_async_results: 13 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain exiting [15/Jan/2016:10:36:27 -0800] agmt="cn=..........) - session end: state=5 load=1 sent=3 skipped=0 skipped_new_rid=0 skipped_csn_gt_cons_maxcsn=0 skipped_up_to_date=0 skipped_csn_gt_ruv=0 skipped_csn_covered=0 [15/Jan/2016:10:36:27 -0800] NSMMReplicationPlugin - agmt="" (ns1-05:389): Successfully released consumer
And the error from consumer:
NSMMReplicationPlugin - conn=70 op=9 repl="dc=": Acquired replica NSMMReplicationPlugin - conn=70 op=9 repl="dc=": StartNSDS90ReplicationRequest: response=0 rc=0 NSMMReplicationPlugin - conn=70 op=9 Relinquishing consumer connection extension NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000100030000 into pending list ] memberof-plugin - memberof_postop_add: failed to add dn(cn=......,ou=Groups,ou=), error (10) ] NSMMReplicationPlugin - conn=70 op=10 csn=56993c2c000100030000 process postop: canceling operation csn NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000200030000 into pending list NSMMReplicationPlugin - Purged state information from entry cn=,ou=...... up to CSN 5622952b000100030000 NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000200030000 NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000400030000 into pending list NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000400030000
Thank you Isabella
-- 389 users mailing list 389-users@%(host_name)s http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
Hi Mark, as your suggestion I have disabled the member of plugin from the consumer side , re-run the tests and replication works fine now.
How about in a master/master cfg with fractional replication( member of excluded) what will be the cfg for this pluging in DS1.3.4 ?
Thank you Isabella
with On 01/15/2016 12:43 PM, ghiureai wrote:
Hi Mark, my replication cfg is :master/slave ( one consumer only ) , I am using fractional replication with memberof plugin excluded from rep agreement ( this was suggested in my old version DS 1.1.2), Now after upgrade of both supplier and consumer seeing issues when adding groups to another group using memberof plugin ( as per error log in initial thread). Both supplier and consumer have memberof plugin enabled , you suggest I should disable on consumer side ?( there is already excluded from replication , would not be sufficient?) Thank you, Isabella
On 01/15/2016 12:26 PM, ghiureai wrote:
Hi List, After upgrading from DS 1.1.2 to 1.3.4.4 , I am seeing errors with master/slave ( fractional replication: memberOf): all transactions are been committed to supplier but the following case the transactions will Not been committed to consumer DS : ( our case: create 2 new groups:A, B , next: add group A as memberOf group B <--- this fails to be applied to consumer DS side). Any input , suggestions , workaround for this case? See the error log for both servers: From supplier :
repl5_inc_result_threadmain: result 1, 10, 1, 11, (null) NSMMReplicationPlugin - agmt="cn=): Consumer failed to replay change (uniqueid c0ef0503-bbb611e5-aea4abb9-cafb5c20, CSN 56993c2c000100030000): Referral (10). Will retry later. [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: got op result 202 should finish 1 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 11 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 12 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 12, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: result 1, 0, 0, 13, (null) [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain: read result for message_id 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_waitfor_async_results: 13 13 [15/Jan/2016:10:36:27 -0800] - repl5_inc_result_threadmain exiting [15/Jan/2016:10:36:27 -0800] agmt="cn=..........) - session end: state=5 load=1 sent=3 skipped=0 skipped_new_rid=0 skipped_csn_gt_cons_maxcsn=0 skipped_up_to_date=0 skipped_csn_gt_ruv=0 skipped_csn_covered=0 [15/Jan/2016:10:36:27 -0800] NSMMReplicationPlugin - agmt="" (ns1-05:389): Successfully released consumer
And the error from consumer:
NSMMReplicationPlugin - conn=70 op=9 repl="dc=": Acquired replica NSMMReplicationPlugin - conn=70 op=9 repl="dc=": StartNSDS90ReplicationRequest: response=0 rc=0 NSMMReplicationPlugin - conn=70 op=9 Relinquishing consumer connection extension NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000100030000 into pending list ] memberof-plugin - memberof_postop_add: failed to add dn(cn=......,ou=Groups,ou=), error (10) ] NSMMReplicationPlugin - conn=70 op=10 csn=56993c2c000100030000 process postop: canceling operation csn NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000200030000 into pending list NSMMReplicationPlugin - Purged state information from entry cn=,ou=...... up to CSN 5622952b000100030000 NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000200030000 NSMMReplicationPlugin - ruv_add_csn_inprogress: successfully inserted csn 56993c2c000400030000 into pending list NSMMReplicationPlugin - ruv_update_ruv: successfully committed csn 56993c2c000400030000
Thank you Isabella
389-users@lists.fedoraproject.org