<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
<blockquote>I am still fighting to reproduce this issue.<br>
Have you a reproducible test case, so that I could investigate
locally ?<br>
<br>
thanks<br>
thierry<br>
</blockquote>
On 08/22/2014 06:47 PM, Shilen Patel wrote:<br>
</div>
<blockquote cite="mid:D01CEC2E.A187C%25shilen@duke.edu" type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div>While the issue is happening, if I add another entry to the
same suffix, it does not replicate over it seems. The same
error continues.</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>-- Shilen</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt;
text-align:left; color:black; BORDER-BOTTOM: medium none;
BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>thierry bordaz
<<a moz-do-not-send="true" href="mailto:tbordaz@redhat.com">tbordaz@redhat.com</a>><br>
<span style="font-weight:bold">Date: </span>Friday, August
22, 2014 12:02 PM<br>
<span style="font-weight:bold">To: </span>Shilen Patel <<a
moz-do-not-send="true" href="mailto:shilen@duke.edu">shilen@duke.edu</a>><br>
<span style="font-weight:bold">Cc: </span>"<a
moz-do-not-send="true" href="mailto:mreynolds@redhat.com">mreynolds@redhat.com</a>"
<<a moz-do-not-send="true"
href="mailto:mreynolds@redhat.com">mreynolds@redhat.com</a>>,
"General discussion list for the 389 Directory server
project." <<a moz-do-not-send="true"
href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re:
[389-users] Replication error after initializing consumer<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0
0 0 5;">
<div>
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Shilen,<br>
<br>
<blockquote>I wonder if it is not a transient issue.<br>
If you add an other entry on the supplier, is it
replicated and the warning messages do no long occur
?<br>
<br>
thanks<br>
theirry<br>
</blockquote>
On 08/22/2014 03:59 PM, Shilen Patel wrote:<br>
</div>
<blockquote cite="mid:D01CC43C.A17DC%25shilen@duke.edu"
type="cite">
<div>
<div>Once the init is done, the following is repeated
on the consumer (when logging is turned up). Note
that the ADD was done while the init was happening
and after the init is done, the entry does exist on
the consumer but, from what I can tell, the supplier
wants to still send it to the consumer and the
consumer is rejecting it.</div>
<div><br>
</div>
<div>Also, the other issue that I'm noticing is that a
couple of my consumers seem to be crashing (about
once a day). Right now, they are not getting any
traffic at all other than updates from replication.
I'm debugging that at the moment and will report
what I find.</div>
<div><br>
</div>
<div>
<div>[22/Aug/2014:14:48:34 +0100] - import test:
Import complete. Processed 282 entries in 145
seconds. (1.94 entries/sec)</div>
<div>[22/Aug/2014:14:48:34 +0100]
NSMMReplicationPlugin -
multimaster_be_state_change: replica
ou=test,dc=duke,dc=edu is coming online; enabling
replication</div>
<div>[22/Aug/2014:14:48:34 +0100]
NSMMReplicationPlugin - _replica_configure_ruv: No
ruv tombstone found for replica
ou=test,dc=duke,dc=edu. Created a new one</div>
<div>[22/Aug/2014:14:48:34 +0100]
NSMMReplicationPlugin - conn=0 op=0
repl="ou=test,dc=duke,dc=edu": Released replica
held by locking_purl=conn=15 id=4</div>
<div>[22/Aug/2014:14:48:34 +0100]
NSMMReplicationPlugin -
replica_enable_replication: replica
ou=test,dc=duke,dc=edu is relinquished</div>
<div>[22/Aug/2014:14:48:34 +0100]
NSMMReplicationPlugin - conn=15 op=287
repl="ou=test,dc=duke,dc=edu": Replica not in use</div>
<div>[22/Aug/2014:14:48:34 +0100]
NSMMReplicationPlugin - conn=15 op=287
Relinquishing consumer connection extension</div>
<div>[22/Aug/2014:14:48:36 +0100]
NSMMReplicationPlugin - conn=13 op=69 Acquired
consumer connection extension</div>
<div>[22/Aug/2014:14:48:36 +0100]
NSMMReplicationPlugin - conn=13 op=69
repl="ou=test,dc=duke,dc=edu": Begin incremental
protocol</div>
<div>[22/Aug/2014:14:48:36 +0100] -
csngen_adjust_time: gen state before
53f74a330001:1408715314:0:1</div>
<div>[22/Aug/2014:14:48:36 +0100] -
_csngen_adjust_local_time: gen state before
53f74a330001:1408715314:0:1</div>
<div>[22/Aug/2014:14:48:36 +0100] -
_csngen_adjust_local_time: gen state after
53f74a350000:1408715316:0:1</div>
<div>[22/Aug/2014:14:48:36 +0100]
NSMMReplicationPlugin - conn=13 op=69
repl="ou=test,dc=duke,dc=edu": Acquired replica</div>
<div>[22/Aug/2014:14:48:36 +0100]
NSMMReplicationPlugin - conn=13 op=69
repl="ou=test,dc=duke,dc=edu":
StartNSDS50ReplicationRequest: response=0 rc=0</div>
<div>[22/Aug/2014:14:48:36 +0100]
NSMMReplicationPlugin - conn=13 op=69
Relinquishing consumer connection extension</div>
<div>[22/Aug/2014:14:48:36 +0100]
NSMMReplicationPlugin - ruv_add_csn_inprogress:
successfully inserted csn 53f749bb000000050000
into pending list</div>
<div>[22/Aug/2014:14:48:36 +0100] £ - urp_add
(uid=shilen3,ou=people,ou=test,dc=duke,dc=edu): an
entry with this uniqueid already exists.</div>
<div>[22/Aug/2014:14:48:36 +0100]
NSMMReplicationPlugin - conn=13 op=70
csn=53f749bb000000050000 process postop: canceling
operation csn</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=16 op=63 Acquired
consumer connection extension</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=16 op=63
repl="ou=test,dc=duke,dc=edu": Begin incremental
protocol</div>
<div>[22/Aug/2014:14:48:37 +0100] -
csngen_adjust_time: gen state before
53f74a350000:1408715316:0:1</div>
<div>[22/Aug/2014:14:48:37 +0100] -
_csngen_adjust_local_time: gen state before
53f74a350000:1408715316:0:1</div>
<div>[22/Aug/2014:14:48:37 +0100] -
_csngen_adjust_local_time: gen state after
53f74a360000:1408715317:0:1</div>
<div>[22/Aug/2014:14:48:37 +0100] -
csngen_adjust_time: gen state after
53f74a360000:1408715317:0:1</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=16 op=63
repl="ou=test,dc=duke,dc=edu": Replica in use
locking_purl=conn=13 id=69</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=16 op=63
replica="ou=test,dc=duke,dc=edu": Unable to
acquire replica: error: replica busy locked by
conn=13 id=69 for incremental update</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=16 op=63
repl="ou=test,dc=duke,dc=edu":
StartNSDS50ReplicationRequest: response=1 rc=0</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=16 op=63
Relinquishing consumer connection extension</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=18 op=4 Acquired
consumer connection extension</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=18 op=4
repl="ou=test,dc=duke,dc=edu": Begin incremental
protocol</div>
<div>[22/Aug/2014:14:48:37 +0100] -
csngen_adjust_time: gen state before
53f74a360000:1408715317:0:1</div>
<div>[22/Aug/2014:14:48:37 +0100] -
csngen_adjust_time: gen state after
53f74a360000:1408715317:0:1</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=18 op=4
repl="ou=test,dc=duke,dc=edu": Replica in use
locking_purl=conn=13 id=69</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=18 op=4
replica="ou=test,dc=duke,dc=edu": Unable to
acquire replica: error: replica busy locked by
conn=13 id=69 for incremental update</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=18 op=4
repl="ou=test,dc=duke,dc=edu":
StartNSDS50ReplicationRequest: response=1 rc=0</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=18 op=4 Relinquishing
consumer connection extension</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=13 op=71 Acquired
consumer connection extension</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=13 op=71
repl="ou=test,dc=duke,dc=edu": Released replica
held by locking_purl=conn=13 id=69</div>
<div>[22/Aug/2014:14:48:37 +0100]
NSMMReplicationPlugin - conn=13 op=71
Relinquishing consumer connection extension</div>
<div>[22/Aug/2014:14:48:38 +0100]
NSMMReplicationPlugin - conn=17 op=63 Acquired
consumer connection extension</div>
<div>[22/Aug/2014:14:48:38 +0100]
NSMMReplicationPlugin - conn=17 op=63
repl="ou=test,dc=duke,dc=edu": Begin incremental
protocol</div>
<div>[22/Aug/2014:14:48:38 +0100] -
csngen_adjust_time: gen state before
53f74a360000:1408715317:0:1</div>
<div>[22/Aug/2014:14:48:38 +0100] -
_csngen_adjust_local_time: gen state before
53f74a360000:1408715317:0:1</div>
<div>[22/Aug/2014:14:48:38 +0100] -
_csngen_adjust_local_time: gen state after
53f74a370000:1408715318:0:1</div>
<div>[22/Aug/2014:14:48:38 +0100]
NSMMReplicationPlugin - conn=17 op=63
repl="ou=test,dc=duke,dc=edu": Acquired replica</div>
<div>[22/Aug/2014:14:48:38 +0100]
NSMMReplicationPlugin - conn=17 op=63
repl="ou=test,dc=duke,dc=edu":
StartNSDS50ReplicationRequest: response=0 rc=0</div>
<div>[22/Aug/2014:14:48:38 +0100]
NSMMReplicationPlugin - conn=17 op=63
Relinquishing consumer connection extension</div>
<div>[22/Aug/2014:14:48:38 +0100]
NSMMReplicationPlugin - ruv_add_csn_inprogress:
successfully inserted csn 53f749bb000000050000
into pending list</div>
</div>
<div>
<div>[22/Aug/2014:14:48:38 +0100] £ - urp_add
(uid=shilen3,ou=people,ou=test,dc=duke,dc=edu): an
entry with this uniqueid already exists.</div>
</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>-- Shilen</div>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt;
text-align:left; color:black; BORDER-BOTTOM: medium
none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in;
PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP:
#b5c4df 1pt solid; BORDER-RIGHT: medium none;
PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>thierry
bordaz <<a moz-do-not-send="true"
href="mailto:tbordaz@redhat.com">tbordaz@redhat.com</a>><br>
<span style="font-weight:bold">Date: </span>Thursday,
August 21, 2014 10:20 AM<br>
<span style="font-weight:bold">To: </span>"<a
moz-do-not-send="true"
href="mailto:mreynolds@redhat.com">mreynolds@redhat.com</a>"
<<a moz-do-not-send="true"
href="mailto:mreynolds@redhat.com">mreynolds@redhat.com</a>><br>
<span style="font-weight:bold">Cc: </span>"General
discussion list for the 389 Directory server
project." <<a moz-do-not-send="true"
href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>>,
Shilen Patel <<a moz-do-not-send="true"
href="mailto:shilen@duke.edu">shilen@duke.edu</a>><br>
<span style="font-weight:bold">Subject: </span>Re:
[389-users] Replication error after initializing
consumer<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0
5; MARGIN:0 0 0 5;">
<div>
<div bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
<br>
<blockquote>This logs are coming from the
supplier. It confirms what you said. The
supplier retrieves a starting point for
sending updates (53f5e4b5000000050000) then
sends the next update 53f5e647000000050000
(uid=shilen3,ou=people,ou=test,dc=duke,dc=edu).
For some reason the consumerhost:636 is
unwilling to apply the update (is the
backend readonly ?).<br>
Have you got the error logs from
consumerhost (with replication logging
enabled) ?.<br>
<br>
thanks<br>
theirry<br>
</blockquote>
On 08/21/2014 02:45 PM, Shilen Patel wrote:<br>
</div>
<blockquote
cite="mid:D01B6027.A15AE%25shilen@duke.edu"
type="cite">
<div>Here's the additional logging for the
init issue:</div>
<div><br>
</div>
<div>
<div>[21/Aug/2014:13:31:55 +0100]
NSMMReplicationPlugin - Finished total
update of replica "agmt="cn=test5toSing1"
(consumerhost:636)". Sent 278 entries.</div>
<div>[21/Aug/2014:13:31:55 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
Cancelling linger on the connection</div>
<div>[21/Aug/2014:13:31:55 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
Disconnected from the consumer</div>
<div>[21/Aug/2014:13:31:55 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
State: start ->
ready_to_acquire_replica</div>
<div>[21/Aug/2014:13:31:55 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
Trying secure slapi_ldap_init_ext</div>
<div>[21/Aug/2014:13:31:55 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
binddn = cn=xxx passwd = xxx </div>
<div>[21/Aug/2014:13:31:56 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
No linger to cancel on the connection</div>
<div>[21/Aug/2014:13:31:57 +0100] -
_csngen_adjust_local_time: gen state
before 53f5e64c0000:1408624203:0:1</div>
<div>[21/Aug/2014:13:31:57 +0100] -
_csngen_adjust_local_time: gen state after
53f5e6be0000:1408624317:0:1</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
Replica was successfully acquired.</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
State: ready_to_acquire_replica ->
sending_updates</div>
<div>[21/Aug/2014:13:31:58 +0100] -
csngen_adjust_time: gen state before
53f5e6be0001:1408624317:0:1</div>
<div>[21/Aug/2014:13:31:58 +0100] -
_csngen_adjust_local_time: gen state
before 53f5e6be0001:1408624317:0:1</div>
<div>[21/Aug/2014:13:31:58 +0100] -
_csngen_adjust_local_time: gen state after
53f5e6bf0000:1408624318:0:1</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin - changelog program
- _cl5GetDBFile: found DB object 2b9c0c0
for database
/var/lib/dirsrv/slapd-idms-authdir/changelogdb/e9c04c06-1c0711e4-a066d327-58be45f0_53e0f14e000000050000.db4</div>
<div>[21/Aug/2014:13:31:58 +0100] -
_cl5PositionCursorForReplay
(agmt="cn=test5toSing1"
(consumerhost:636)): Consumer RUV:</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replicageneration} 53e0f14e000000050000</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replica 5
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="ldap://xxx:389">ldap://xxx:389</a>}
53e0f3cc000000050000 53f5e4b5000000050000
00000000</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replica 8
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="ldap://xxx:389">ldap://xxx:389</a>}</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replica 7
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="ldap://xxx:389">ldap://xxx:389</a>}
53f3a401000000070000 53f3a401000000070000
00000000</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replica 6
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="ldap://xxx:389">ldap://xxx:389</a>}
53e3b64f000000060000 53f3a68e000000060000
00000000</div>
<div>[21/Aug/2014:13:31:58 +0100] -
_cl5PositionCursorForReplay
(agmt="cn=test5toSing1"
(consumerhost:636)): Supplier RUV:</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replicageneration} 53e0f14e000000050000</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replica 5
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="ldap://xxx:389">ldap://xxx:389</a>}
53e0f3cc000000050000 53f5e647000000050000
53f5e646</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replica 8
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="ldap://xxx:389">ldap://xxx:389</a>}</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replica 7
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="ldap://xxx:389">ldap://xxx:389</a>}
53f3a401000000070000 53f3a401000000070000
00000000</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
{replica 6
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="ldap://xxx:389">ldap://xxx:389</a>}
53e3b64f000000060000 53f3a68e000000060000
00000000</div>
<div>[21/Aug/2014:13:31:58 +0100]
agmt="cn=test5toSing1" (consumerhost:636)
- clcache_get_buffer: found thread private
buffer cache 7fac100773d0</div>
<div>[21/Aug/2014:13:31:58 +0100]
agmt="cn=test5toSing1" (consumerhost:636)
- clcache_get_buffer: _pool is 2b8b6f0
_pool->pl_busy_lists is 7fac140012e0
_pool->pl_busy_lists->bl_buffers is
7fac04126e60</div>
<div>[21/Aug/2014:13:31:58 +0100]
agmt="cn=test5toSing1" (consumerhost:636)
- session start:
anchorcsn=53f5e4b5000000050000</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin - changelog program
- agmt="cn=test5toSing1"
(consumerhost:636): CSN
53f5e4b5000000050000 found, position set
for replay</div>
<div>[21/Aug/2014:13:31:58 +0100]
agmt="cn=test5toSing1" (consumerhost:636)
- load=1 rec=1 csn=53f5e647000000050000</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
replay_update: Sending add operation
(dn="uid=shilen3,ou=people,ou=test,dc=duke,dc=edu"
csn=53f5e647000000050000)</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
replay_update: Consumer successfully sent
operation with csn 53f5e647000000050000</div>
<div>[21/Aug/2014:13:31:58 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
Consumer failed to replay change (uniqueid
b92e2101-292e11e4-a066d327-58be45f0, CSN
53f5e647000000050000): Server is unwilling
to perform (53). Will retry later.</div>
<div>[21/Aug/2014:13:31:58 +0100]
agmt="cn=test5toSing1" (consumerhost:636)
- session end: state=0 load=1 sent=1
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</div>
<div>[21/Aug/2014:13:31:59 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
Successfully released consumer</div>
<div>[21/Aug/2014:13:31:59 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
Beginning linger on the connection</div>
<div>[21/Aug/2014:13:31:59 +0100]
NSMMReplicationPlugin -
agmt="cn=test5toSing1" (consumerhost:636):
State: sending_updates -> start_backoff</div>
</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>-- Shilen</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;
font-size:11pt; text-align:left;
color:black; BORDER-BOTTOM: medium none;
BORDER-LEFT: medium none; PADDING-BOTTOM:
0in; PADDING-LEFT: 0in; PADDING-RIGHT:
0in; BORDER-TOP: #b5c4df 1pt solid;
BORDER-RIGHT: medium none; PADDING-TOP:
3pt">
<span style="font-weight:bold">From: </span>Mark
Reynolds <<a moz-do-not-send="true"
href="mailto:mareynol@redhat.com">mareynol@redhat.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"<a
moz-do-not-send="true"
href="mailto:mreynolds@redhat.com">mreynolds@redhat.com</a>"
<<a moz-do-not-send="true"
href="mailto:mreynolds@redhat.com">mreynolds@redhat.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday,
August 19, 2014 3:32 PM<br>
<span style="font-weight:bold">To: </span>"General
discussion list for the 389 Directory
server project." <<a
moz-do-not-send="true"
href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>>,
Shilen Patel <<a moz-do-not-send="true"
href="mailto:shilen@duke.edu">shilen@duke.edu</a>><br>
<span style="font-weight:bold">Subject: </span>Re:
[389-users] Replication error after
initializing consumer<br>
</div>
<div><br>
</div>
<blockquote
id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
style="BORDER-LEFT: #b5c4df 5 solid;
PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div bgcolor="#FFFFFF" text="#000000"><br>
<div class="moz-cite-prefix">On
08/19/2014 03:05 PM, Shilen Patel
wrote:<br>
</div>
<blockquote
cite="mid:D019172D.A132E%25shilen@duke.edu"
type="cite">
<div>Hi Mark,</div>
<div><br>
</div>
<div>So with this issue, I'm not
adding a password at all to the
entry. See the LDIF in (2) below.
</div>
</blockquote>
No, I was referring to your first
email, not this issue. Sorry I should
of responded separately.
<br>
<blockquote
cite="mid:D019172D.A132E%25shilen@duke.edu"
type="cite">
<div> I'll open a ticket.</div>
</blockquote>
For what issue? For the
initialization issue I want you to
grab the logging first. For the first
issue(userpassword not being
replicated), if you can reproduce it
when only adding already hashed
passwords, then please file a ticket
with a reproducible testcase.
<br>
<br>
I hope that clears things up.<br>
<br>
Regards,<br>
Mark<br>
<br>
<br>
<blockquote
cite="mid:D019172D.A132E%25shilen@duke.edu"
type="cite">
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>-- Shilen</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;
font-size:11pt; text-align:left;
color:black; BORDER-BOTTOM:
medium none; BORDER-LEFT: medium
none; PADDING-BOTTOM: 0in;
PADDING-LEFT: 0in;
PADDING-RIGHT: 0in; BORDER-TOP:
#b5c4df 1pt solid; BORDER-RIGHT:
medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From:
</span>Mark Reynolds <<a
moz-do-not-send="true"
href="mailto:mareynol@redhat.com">mareynol@redhat.com</a>><br>
<span style="font-weight:bold">Reply-To:
</span>"<a
moz-do-not-send="true"
href="mailto:mreynolds@redhat.com">mreynolds@redhat.com</a>"
<<a moz-do-not-send="true"
href="mailto:mreynolds@redhat.com">mreynolds@redhat.com</a>><br>
<span style="font-weight:bold">Date:
</span>Tuesday, August 19, 2014
2:58 PM<br>
<span style="font-weight:bold">To:
</span>"General discussion list
for the 389 Directory server
project." <<a
moz-do-not-send="true"
href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a>>,
Shilen Patel <<a
moz-do-not-send="true"
href="mailto:shilen@duke.edu">shilen@duke.edu</a>><br>
<span style="font-weight:bold">Subject:
</span>Re: [389-users]
Replication error after
initializing consumer<br>
</div>
<div><br>
</div>
<blockquote
id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
style="BORDER-LEFT: #b5c4df 5
solid; PADDING:0 0 0 5; MARGIN:0
0 0 5;">
<div>
<div bgcolor="#FFFFFF"
text="#000000">Shilen,<br>
<br>
A few things, you should not
be adding a prehashed
password (e.g.
{SSHA}DMK4S6PK6+rKSLNOL1Hl01mVJmgGi5jH)
- but that should not break
replication. Can you
confirm that only prehashed
passwords are causing the
issue? If so, please files
a ticket with a reproducible
testcase: <a
moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://fedorahosted.org/389/newticket">
https://fedorahosted.org/389/newticket</a><br>
<br>
As for this replication
issue, enabling replication
logging might provide more
information:<br>
<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Configuration_Command_and_File_Reference/error-logs.html#error-logs-levels">https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/9.0/html/Configuration_Command_and_File_Reference/error-logs.html#error-logs-levels</a><br>
<br>
Then post the logging output
back on this list. You
should also undo this
logging level once you're
done - as this logging level
can impact performance.<br>
<br>
Thanks,<br>
Mark<br>
<br>
<br>
<div class="moz-cite-prefix">On
08/19/2014 01:08 PM,
Shilen Patel wrote:<br>
</div>
<blockquote
cite="mid:D018FCCB.A12CF%25shilen@duke.edu"
type="cite">
<div>Hi,</div>
<div><br>
</div>
<div>I'm not sure if this
is related to my
previous email, but I'm
also seeing issues when
adding an entry while a
suffix on a consumer is
being initialized.
Again, I'm
running 1.2.11.30. Here
are the details:</div>
<div><br>
</div>
<div>1. Using the
console, I started to
initialize a suffix.</div>
<div><br>
</div>
<div>
<div>[19/Aug/2014:17:46:35
+0100]
NSMMReplicationPlugin
- Beginning total
update of replica
"agmt="cn=test5toSing1"
(consumerhost:636)".</div>
</div>
<div><br>
</div>
<div>2. While that was
happening, I added an
entry to the suffix on
the master.</div>
<div><br>
</div>
<div>
<div>dn:
uid=shilen3,ou=people,ou=test,dc=duke,dc=edu</div>
<div>changetype: add</div>
<div>objectclass: top</div>
<div>objectclass: person</div>
<div>objectclass:
inetorgperson</div>
<div>objectclass:
organizationalperson</div>
<div>cn: test</div>
<div>sn: test</div>
<div>uid: shilen3</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>[19/Aug/2014:17:47:04
+0100] conn=155 op=1
ADD
dn="uid=shilen3,ou=people,ou=test,dc=duke,dc=edu"</div>
<div>[19/Aug/2014:17:47:04
+0100] conn=155 op=1
RESULT err=0 tag=105
nentries=0 etime=0
csn=53f37f89000000050000</div>
</div>
<div><br>
</div>
<div>3. The init later
finished.</div>
<div><br>
</div>
<div>
<div>[19/Aug/2014:17:48:55
+0100]
NSMMReplicationPlugin
- Finished total
update of replica
"agmt="cn=test5toSing1"
(consumerhost:636)".
Sent 270 entries.</div>
</div>
<div><br>
</div>
<div>At this point, the
entry does exist on the
consumer. Presumably it
was added as part of the
init.</div>
<div><br>
</div>
<div><br>
</div>
<div>4. However, the
master still wants to
send the ADD to the
consumer. On the
consumer, I have the
following repeated every
few seconds:</div>
<div><br>
</div>
<div>
<div>[19/Aug/2014:17:48:54
+0100] conn=2002 op=56
ADD
dn="uid=shilen3,ou=people,ou=test,dc=duke,dc=edu"</div>
<div>[19/Aug/2014:17:48:54
+0100] conn=2002 op=56
RESULT err=53 tag=105
nentries=0 etime=0
csn=53f37f89000000050000</div>
</div>
<div><br>
</div>
<div>And on the master, I
have this:</div>
<div><br>
</div>
<div>
<div>[19/Aug/2014:17:48:58
+0100]
NSMMReplicationPlugin
-
agmt="cn=test5toSing1"
(consumerhost:636):
Consumer failed to
replay change
(uniqueid
5d458a02-27c011e4-a066d327-58be45f0,
CSN
53f37f89000000050000):
Server is unwilling to
perform (53). Will
retry later.</div>
</div>
<div><br>
</div>
<div>A cl-dump shows the
following:</div>
<div><br>
</div>
<div>
<div>changetype: add</div>
<div>replgen:
53e0f14e000000050000</div>
<div>csn:
53f37f89000000050000</div>
<div>nsuniqueid:
5d458a02-27c011e4-a066d327-58be45f0</div>
<div>parentuniqueid:
bcd34401-21ba11df-80799838-3cd697e9</div>
<div>dn:
uid=shilen3,ou=people,ou=test,dc=duke,dc=edu</div>
<div>change::</div>
<div>add: objectClass</div>
<div>objectClass: top</div>
<div>objectClass: person</div>
<div>objectClass:
inetorgperson</div>
<div>objectClass:
organizationalperson</div>
<div>-</div>
<div>add: cn</div>
<div>cn: test</div>
<div>-</div>
<div>add: sn</div>
<div>sn: test</div>
<div>-</div>
<div>add: uid</div>
<div>uid: shilen3</div>
<div>-</div>
<div>add: creatorsName</div>
<div>creatorsName:
cn=directory manager</div>
<div>-</div>
<div>add: modifiersName</div>
<div>modifiersName:
cn=directory manager</div>
<div>-</div>
<div>add:
createTimestamp</div>
<div>createTimestamp:
20140819164704Z</div>
<div>-</div>
<div>add:
modifyTimestamp</div>
<div>modifyTimestamp:
20140819164704Z</div>
<div>-</div>
<div>add: nsUniqueId</div>
<div>nsUniqueId:
5d458a02-27c011e4-a066d327-58be45f0</div>
<div>-</div>
<div>add: parentid</div>
<div>parentid: 2</div>
<div>-</div>
<div>add: entryid</div>
<div>entryid: 277</div>
<div>-</div>
<div>add: entrydn</div>
<div>entrydn:
uid=shilen3,ou=people,ou=test,dc=duke,dc=edu</div>
<div>-</div>
<div><br>
</div>
</div>
<div><br>
</div>
<div>If anyone has any
thoughts on this one,
that would be
appreciated.</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div>-- Shilen</div>
<br>
<fieldset
class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
389 users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
</blockquote>
<br>
</div>
</div>
</blockquote>
</span><br>
<fieldset
class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
389 users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
</blockquote>
<br>
</div>
</div>
</blockquote>
</span><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
389 users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:389-users@lists.fedoraproject.org">389-users@lists.fedoraproject.org</a><a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/389-users">https://admin.fedoraproject.org/mailman/listinfo/389-users</a></pre>
</blockquote>
<br>
</div>
</div>
</blockquote>
</span></blockquote>
<br>
</div>
</div>
</blockquote>
</span>
</blockquote>
<br>
</body>
</html>