#7617 ipa-replica-install defines nsds5replicabinddngroup before the group contains the DN of the replication manager
Closed: fixed 3 years ago Opened 3 years ago by tbordaz.

Issue

The issue is related to the way 389-ds manage nsds5replicabinddngroup

When the replica LDAP entry is created, if it contains nsds5replicabinddngroup, then the group is fetched. So if at that time the group does not contains the DN of the replication manager, replication will fail until the group is updated and fetched again.

With current setting (nsDS5ReplicaBindDnGroupCheckInterval=60s) that means that replication will fail during the next 60s of the creation of the replica entry.

The way group is fetched is improved with https://pagure.io/389-ds-base/issue/49818.
But ipa-replica-install against a master not containing #49818, replication will be delayed by 60s

Steps to Reproduce

  1. ipa-server-install + ipa-replica-install
    Check in master and consumer error logs

    Unable to acquire replica: permission denied. The bind dn "" does not have permission to supply replication updates to the replica. Will retry later.

Actual behavior

replication is delayed by 60 sec

Expected behavior

if the group contains the replication manager DN, the first replication session should succeed

Version/Release/Distribution

since 4.5


Any easy way to mitigate this issue is to reduce nsDS5ReplicaBindDnGroupCheckInterval=2s
But after first sessions it would be good to return nsDS5ReplicaBindDnGroupCheckInterval=60s (for performance reason)

master:

  • 811b0fd Tune DS replication settings

ipa-4-6:

  • 6ba653c Tune DS replication settings

ipa-4-5:

  • ec60901 replicainstall: DS SSL replica install pick right certmonger host
  • 5ef8333 Fix race condition in get_locations_records()
  • a9cc862 Tune DS replication settings
  • 79fe981 Auto-retry failed certmonger requests
  • f3dd0cb Wait for client certificates

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 years ago

master:

  • 02f4a7a DS replication settings: fix regression with <3.3 master

ipa-4-6:

  • 2563f6f DS replication settings: fix regression with <3.3 master

ipa-4-7:

  • 30443d1 DS replication settings: fix regression with <3.3 master

ipa-4-5:

  • f4ee36a DS replication settings: fix regression with <3.3 master

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1623112

3 years ago

Login to comment on this ticket.

Metadata