The test test_integration/test_backup_and_restore.py::TestReplicaInstallAfterRestore::test_replica_install_after_restore is performing a topologysegment-reinitialize command in the wrong direction.
test_integration/test_backup_and_restore.py::TestReplicaInstallAfterRestore::test_replica_install_after_restore
Test scenario: - install server - install replica - backup server - simulate crash (disable replication agreement, uninstall master) - restore server from backup. The server is the source of truth. - reinitialize replica
The test is currently doing ipa topologysegment-reinitialize server-to-replica domain --left but this means that the source is the replica, while the goal is to do the opposite.
ipa topologysegment-reinitialize server-to-replica domain --left
The 2nd potential issue is that the topologysegment is hardcoded but it could be server-to-replica or replica-to-server as well
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6230
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)