ipa/0124-ipatests-fix-TestIPAMigratewithBackupRestore-setup.patch
Florence Blanc-Renaud 445b79154e ipa-4.12.2-25
- Resolves: RHEL-128238
[RFE] Support storing LWCA private keys on an HSM [rhel-9]
- Resolves: RHEL-126515
RFE: Enable external password reset agents to use ipa_pwd_extop in RHEL IdM [rhel-9]
- Resolves: RHEL-73399
RFE: Update IdM password policy configurations to meet M-22-09 by restricting spaces and require number character class
- Resolves: RHEL-128241
ATTR_NAME_BY_OID is missing OID 2.5.4.97, organizationIdentifier [rhel-9]
- Resolves: RHEL-126514
[RFE] ipa-client-automount should have an option to include domain of the machine. [rhel-9]
- Resolves: RHEL-124171
Include latest fixes in python3-ipatests package
- Resolves: RHEL-120514
Include fixes in python3-ipatests [rhel-9.8]
- Resolves: RHEL-118609
test_cacert_manage fails due to expired Let's Encrypt R3 certificate
2025-11-19 17:18:01 +01:00

36 lines
1.6 KiB
Diff

From 325108c7134db2a4ea631ee4b31fc2e1b70580ff Mon Sep 17 00:00:00 2001
From: Florence Blanc-Renaud <flo@redhat.com>
Date: Fri, 19 Sep 2025 16:31:36 +0200
Subject: [PATCH] ipatests: fix TestIPAMigratewithBackupRestore setup
The test is installing a first master with DNS enabled, then a
second master (same domain name, with DNS enabled) in order to
perform migration.
Add --allow-zone-overlap to the 2nd master installation.
Fixes: https://pagure.io/freeipa/issue/9858
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Sudhir Menon <sumenon@redhat.com>
---
ipatests/test_integration/test_ipa_ipa_migration.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ipatests/test_integration/test_ipa_ipa_migration.py b/ipatests/test_integration/test_ipa_ipa_migration.py
index c6247e772b257748aa0c0f58bd04b53d3756125c..d076510f90aa65d37cfe72b52e915504155aa2e4 100644
--- a/ipatests/test_integration/test_ipa_ipa_migration.py
+++ b/ipatests/test_integration/test_ipa_ipa_migration.py
@@ -1283,7 +1283,8 @@ class TestIPAMigratewithBackupRestore(IntegrationTest):
def install(cls, mh):
tasks.install_master(cls.master, setup_dns=True, setup_kra=True)
prepare_ipa_server(cls.master)
- tasks.install_master(cls.replicas[0], setup_dns=True, setup_kra=True)
+ tasks.install_master(cls.replicas[0], setup_dns=True, setup_kra=True,
+ extra_args=['--allow-zone-overlap'])
tasks.install_replica(cls.master, cls.replicas[1],
setup_dns=True, setup_kra=True)
--
2.51.1