<div dir="ltr"><div><div>I think that : <br><br><span class="im"><span>Starting replication, please wait
until this has completed.<br>
<span class="">Update</span> in progress, 127 seconds
elapsed<br>
<span class="">Update</span> in progress yet not in
progress<br><br></span></span></div><span class="im"><span><br></span></span></div><span class="im"><span>looks like a time error : <a href="https://fedorahosted.org/freeipa/ticket/4756">https://fedorahosted.org/freeipa/ticket/4756</a><br></span></span></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-15 16:00 GMT+02:00 Rich Megginson <span dir="ltr"><<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<div>On 05/15/2015 07:55 AM, James James
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Is it possible to change the <font face="Times New
Roman, Times, serif">nsds5ReplicaTimeout value to get rid of
this timeout <span>error</span> ?</font></div>
</blockquote>
<br>
</span><font face="Times New Roman, Times, serif">What timeout error?<br>
<br>
</font><div><div class="h5">
<blockquote type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-04-17 4:52 GMT+02:00 Rich
Megginson <span dir="ltr"><<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span>
<div>On 04/15/2015 10:44 PM, James James wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">The ipareplica-install.log file in
attachment ... </div>
</blockquote>
<br>
</span> Here are the pertinent bits:<br>
<br>
2015-04-15T15:06:31Z DEBUG wait_for_open_ports: localhost
[389] timeout 300<br>
2015-04-15T15:06:32Z DEBUG flushing <a>ldap://ipa.example.com:389</a>
from SchemaCache<br>
2015-04-15T15:06:32Z DEBUG retrieving schema for
SchemaCache url=<a>ldap://ipa.example.com:389</a>
conn=<ldap.ldapobject.SimpleLDAPObject instance at
0x484f4d0><br>
2015-04-15T15:06:32Z DEBUG flushing <a>ldaps://ipa1.example.com:636</a>
from SchemaCache<br>
2015-04-15T15:06:32Z DEBUG retrieving schema for
SchemaCache url=<a>ldaps://ipa1.example.com:636</a>
conn=<ldap.ldapobject.SimpleLDAPObject instance at
0x4170290><br>
2015-04-15T15:08:44Z DEBUG Traceback (most recent call
last):<br>
File
"/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
line 382, in start_creation<br>
run_step(full_msg, method)<br>
File
"/usr/lib/python2.7/site-packages/ipaserver/install/service.py",
line 372, in run_step<br>
method()<br>
File
"/usr/lib/python2.7/site-packages/ipaserver/install/dsinstance.py",
line 368, in __setup_replica<br>
r_bindpw=self.dm_password)<br>
File
"/usr/lib/python2.7/site-packages/ipaserver/install/replication.py",
line 969, in setup_replication<br>
raise RuntimeError("Failed to start replication")<span><br>
RuntimeError: Failed to start replication<br>
<br>
</span> 2015-04-15T15:08:44Z DEBUG [error] RuntimeError:
Failed to start replication<br>
<br>
The times are a little off, but I believe this corresponds
to<span><br>
[15/Apr/2015:17:08:39 +0200] - import userRoot: Import
complete. Processed 1539 entries in 126 seconds. (12.21
entries/sec)<br>
[15/Apr/2015:17:08:39 +0200] NSMMReplicationPlugin -
multimaster_be_state_change: replica
dc=lix,dc=polytechnique,dc=fr is coming online; enabling
replication<br>
<br>
</span> I don't know why setup_replication is reporting an
error if replication completed successfully.
<div>
<div><br>
<br>
<blockquote type="cite">
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-04-16 2:22 GMT+02:00
Rob Crittenden <span dir="ltr"><<a href="mailto:rcritten@redhat.com" target="_blank">rcritten@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Rich Megginson
wrote:<br>
> On 04/15/2015 02:58 PM, James James
wrote:<br>
>> Nothing on the replica .. maybye a
process on the master. How can I<br>
>> check that ?<br>
><br>
> I have no idea. But it seems highly
unlikely that a process on the<br>
> master is able to shutdown a process on
the replica . . .<br>
><br>
> I would say that there is some problem
with the ipa-replica-install not<br>
> properly checking the status - see
below:<br>
><br>
>><br>
>> 2015-04-15 21:37 GMT+02:00 Rich
Megginson <<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a><br>
</span>>> <mailto:<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>>>:<br>
<span>>><br>
>> On 04/15/2015 12:43 PM, James
James wrote:<br>
>>> Here the log<br>
>>><br>
>>> 2015-04-15 18:58 GMT+02:00
Rich Megginson <<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a><br>
</span>>>> <mailto:<a href="mailto:rmeggins@redhat.com" target="_blank">rmeggins@redhat.com</a>>>:<br>
<span>>>><br>
>>> On 04/15/2015 09:46 AM,
James James wrote:<br>
>>>> Hello,<br>
>>>><br>
>>>> I have been looking
to solve my problem but I 'm asking for<br>
>>>> some help.<br>
>>>><br>
>>>> The replication
begins but cannot be completed ....<br>
>>>><br>
>>>> I want to install a
new fresh replica but I've always got<br>
>>>> this error :<br>
>>>><br>
>>>> [21/35]: configure
dirsrv ccache<br>
>>>> [22/35]: enable
SASL mapping fallback<br>
>>>> [23/35]:
restarting directory server<br>
>>>> [24/35]: setting
up initial replication<br>
>>>> Starting
replication, please wait until this has
completed.<br>
>>>> Update in progress,
127 seconds elapsed<br>
>>>> Update in progress
yet not in progress<br>
>>>><br>
>>>> Update in progress
yet not in progress<br>
>>><br>
><br>
> in progress yet not in progress????
The error log below clearly shows<br>
> that replica init succeeded after 127
seconds.<br>
><br>
> IPA-ers - wasn't there some bug about
checking replica status properly?<br>
><br>
<br>
</span>The loop looks at
nsds5BeginReplicaRefresh,
nsds5replicaUpdateInProgress<br>
and nsds5ReplicaLastInitStatus.<br>
<br>
It loops looking for nsds5BeginReplicaRefresh.
If there is no value it<br>
prints "Update in progress, %d seconds
elapsed". Once it gets a status,<br>
the update is done, and it looks at
nsds5ReplicaLastInitStatus. If it<br>
isn't empty, doesn't include 'replica busy' or
'Total update succeeded'<br>
then it looks to see if
nsds5replicaUpdateInProgress is TRUE. If it
is,<br>
ir prints Update in progress yet not in
progress and tries the loop again.<br>
<br>
AFAICT this part of a replica install doesn't
restart 389-ds.<br>
<br>
/var/log/ipareplica-install.log may hold some
details.<br>
<span><font color="#888888"><br>
rob<br>
<br>
</font></span></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>