[Freeipa-users] Replication seems to begin but failed after 127 seconds ...

James James jreg2k at gmail.com
Thu Apr 16 04:44:14 UTC 2015


The ipareplica-install.log file in attachment ...

2015-04-16 2:22 GMT+02:00 Rob Crittenden <rcritten at redhat.com>:

> Rich Megginson wrote:
> > On 04/15/2015 02:58 PM, James James wrote:
> >> Nothing on the replica .. maybye a process on the master. How can I
> >> check that ?
> >
> > I have no idea.  But it seems highly unlikely that a process on the
> > master is able to shutdown a process on the replica . . .
> >
> > I would say that there is some problem with the ipa-replica-install not
> > properly checking the status - see below:
> >
> >>
> >> 2015-04-15 21:37 GMT+02:00 Rich Megginson <rmeggins at redhat.com
> >> <mailto:rmeggins at redhat.com>>:
> >>
> >>     On 04/15/2015 12:43 PM, James James wrote:
> >>>     Here the log
> >>>
> >>>     2015-04-15 18:58 GMT+02:00 Rich Megginson <rmeggins at redhat.com
> >>>     <mailto:rmeggins at redhat.com>>:
> >>>
> >>>         On 04/15/2015 09:46 AM, James James wrote:
> >>>>         Hello,
> >>>>
> >>>>         I have been looking to solve my problem but I 'm asking for
> >>>>         some help.
> >>>>
> >>>>         The replication begins but cannot be completed ....
> >>>>
> >>>>         I want to install a new fresh replica but I've always got
> >>>>         this error :
> >>>>
> >>>>         [21/35]: configure dirsrv ccache
> >>>>           [22/35]: enable SASL mapping fallback
> >>>>           [23/35]: restarting directory server
> >>>>           [24/35]: setting up initial replication
> >>>>         Starting replication, please wait until this has completed.
> >>>>         Update in progress, 127 seconds elapsed
> >>>>         Update in progress yet not in progress
> >>>>
> >>>>         Update in progress yet not in progress
> >>>
> >
> > in progress yet not in progress????  The error log below clearly shows
> > that replica init succeeded after 127 seconds.
> >
> > IPA-ers - wasn't there some bug about checking replica status properly?
> >
>
> The loop looks at nsds5BeginReplicaRefresh, nsds5replicaUpdateInProgress
> and nsds5ReplicaLastInitStatus.
>
> It loops looking for nsds5BeginReplicaRefresh. If there is no value it
> prints "Update in progress, %d seconds elapsed". Once it gets a status,
> the update is done, and it looks at nsds5ReplicaLastInitStatus. If it
> isn't empty, doesn't include 'replica busy' or 'Total update succeeded'
> then it looks to see if nsds5replicaUpdateInProgress is TRUE. If it is,
> ir prints Update in progress yet not in progress and tries the loop again.
>
> AFAICT this part of a replica install doesn't restart 389-ds.
>
> /var/log/ipareplica-install.log may hold some details.
>
> rob
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20150416/aad3354c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipareplica-install.log
Type: text/x-log
Size: 57867 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20150416/aad3354c/attachment.bin>


More information about the Freeipa-users mailing list