Skip to content

Replication broken after backup restore with freeipa configuration  #6032

Closed
@progier389

Description

@progier389

Issue Description
Replication never synchronize after DS restore from a previous backup

Package Version and Platform:

  • Platform: Fedora
  • Package and version: 3.0.0

Steps to Reproduce
Steps to reproduce the behavior:

  1. setup a freeipa server and a freeipa replica
  2. (on server) dsconf IPA-TEST backup create
  3. (on server) kinit admin
  4. (on server) ipa user-add test1_supplier --first test --last user
  5. (on replica) kinit admin
  6. (on replica) ipa user-add test1_replica --first test --last user
  7. Wait until replication is in sync
  8. dsconf IPA-TEST backup restore /var/lib/dirsrv/slapd-IPA-TEST/bak/IPA-TEST-*
  9. Wait a few minutes to let the time for the replica to replay its changes toward the server
  10. dsctl IPA-TEST healthcheck
  11. See Error: The replication agreement (metoipareplica.ipa.test) under "dc=ipa,dc=test" is not in synchronization.

Expected results
Replication should be able to synchronize

Additional context
dsconf IPA-TEST repl get-ruv --suffix dc=ipa,dc=test
Show that the server maxcsn is higher than the replica one.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions