#587 Replication error messages in the DS error logs
Closed: wontfix None Opened 8 years ago by nkinder.

Description of problem: When replication is in place and DNA is used, I see lot of error messages in the error logs which is very confusing. I observe these error messages even though the replication works just fine.

Version-Release number of selected component (if applicable):
389-ds-base-1.2.11

How reproducible: Consistent

[04/Feb/2013:23:02:04 -0500] NSMMReplicationPlugin - agmt="cn=S2 Agreement"
(dell-pe2800-01:24204): Replica has a different generation ID than the local
data.

[04/Feb/2013:23:13:01 -0500] slapi_ldap_bind - Error: could not send bind
request for id [cn=Replication Manager,cn=config] mech [SIMPLE]: error -1
(Can't contact LDAP server) 0 (unknown) 107 (Transport endpoint is not
connected)
[04/Feb/2013:23:13:01 -0500] dna-plugin - dna_request_range: Error binding to
replica server dell-pe2800-01.rhts.eng.bos.redhat.com:24204. [error -1]
[04/Feb/2013:23:13:01 -0500] dna-plugin - dna_pre_op: Passed threshold of 5
remaining values for range cn=account uids,cn=distributed numeric assignment
plugin,cn=plugins,cn=config. (2 values remain)

[04/Feb/2013:23:12:23 -0500] NSMMReplicationPlugin - agmt="cn=S1 Agreement"
(dell-pe2800-01:24202): Warning: unable to receive endReplication extended
operation response (Can't contact LDAP server)
[04/Feb/2013:23:12:23 -0500] slapi_ldap_bind - Error: could not send bind
request for id [cn=Replication Manager,cn=config] mech [SIMPLE]: error -1
(Can't contact LDAP server) 0 (unknown) 107 (Transport endpoint is not
connected)

Expected results:

The error/warning mesages should be more meaningful and user friendly.


Looks good! One character in the patch comment is missing... ;)

Fix Description: Moved some DNA plugin errors mesages to log as ...
^^^^^^^

git merge ticket587
Updating 81b9974..4c4cb3b
Fast-forward
ldap/servers/plugins/dna/dna.c | 4 ++--
.../servers/plugins/replication/repl5_connection.c | 4 ++--
.../plugins/replication/repl5_inc_protocol.c | 5 +++--
.../plugins/replication/repl5_protocol_util.c | 4 ++--
.../plugins/replication/windows_inc_protocol.c | 5 +++--
ldap/servers/slapd/entry.c | 5 +++--
ldap/servers/slapd/errormap.c | 8 ++++++--
ldap/servers/slapd/ldaputil.c | 15 ++++++++-------
8 files changed, 29 insertions(+), 21 deletions(-)

git push origin master
Counting objects: 31, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (16/16), 2.13 KiB, done.
Total 16 (delta 14), reused 0 (delta 0)
To ssh://git.fedorahosted.org/git/389/ds.git
81b9974..4c4cb3b master -> master

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 1.3.1

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/587

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

a year ago

Login to comment on this ticket.

Metadata