Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2274562

Summary: Incomplete messages about replication in the errors log.
Product: Red Hat Directory Server Reporter: Têko Mihinto <tmihinto>
Component: 389-ds-baseAssignee: LDAP Maintainers <idm-ds-dev-bugs>
Status: CLOSED MIGRATED QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: medium Docs Contact: Evgenia Martynyuk <emartyny>
Priority: unspecified    
Version: 12.3CC: idm-ds-dev-bugs, musoni, progier, tbordaz
Target Milestone: DS12.5Keywords: Triaged
Target Release: dirsrv-12.5   
Hardware: x86_64   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-26 13:51:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Têko Mihinto 2024-04-11 18:48:03 UTC
Description of problem:
There are several missing information.
Format specifiers are shown as such.
There are also missing return carriages.

eg:
$ grep "Failed to send update operation to receiver" errors | tail -5
[11/Apr/2024:08:42:16.202000767 +0000] - WARN - send_updates - %s: Failed to send update operation to receiver (uniqueid %s, CSN %s): %s. %s.
[11/Apr/2024:08:42:16.251659128 +0000] - WARN - send_updates - %s: Failed to send update operation to receiver (uniqueid %s, CSN %s): %s. %s.
[11/Apr/2024:08:42:18.027223365 +0000] - WARN - send_updates - %s: Failed to send update operation to receiver (uniqueid %s, CSN %s): %s. %s.
 - agmt="cn=<AGREEMENT_NAME>" (<HOST>:389)[11/Apr/2024:08:42:18.028740465 +0000] - WARN - send_updates - %s: Failed to send update operation to receiver (uniqueid %s, CSN %s): %s. %s.
[11/Apr/2024:08:42:20.800074874 +0000] - WARN - send_updates - %s: Failed to send update operation to receiver (uniqueid %s, CSN %s): %s. %s.
$

Version-Release number of selected component (if applicable):
$ cat <SOS_REPORT>/etc/redhat-release 
Red Hat Enterprise Linux release 9.3 (Plow)
$
$ grep ^389-ds <SOS_REPORT>/installed-rpms 
389-ds-base-2.3.6-8.module+el9dsrv+20821+6bc979c1.x86_64    Wed Apr  3 08:33:05 2024
389-ds-base-libs-2.3.6-8.module+el9dsrv+20821+6bc979c1.x86_64 Wed Apr  3 08:33:04 2024
$

How reproducible:
Always at a customer site.

Steps to Reproduce:
At the customer site:
1. Setup replication
2. Check the errors logs

Actual results:
Incomplete messages in the errors log.

Expected results:
Full messages with the actual values.

Additional info:

Comment 2 Pierre Rogier 2024-04-12 09:57:08 UTC
Indeed the repl_plugin_name is missing in one of the slapi_log_err() calls at repl5_inc_protocol.c[2359] so the message format is interpreted as the plugin name

Comment 5 Viktor Ashirov 2024-06-26 13:51:12 UTC
This BZ has been automatically migrated to Red Hat Issue Tracker https://issues.redhat.com/browse/DIRSRV-78. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.