ipa/0148-ipatests-fix-TestIPAMigratewithBackupRestore-setup.patch
Florence Blanc-Renaud 96af1045d6 ipa-4.12.2-27
- Resolves: RHEL-122767
ATTR_NAME_BY_OID is missing OID 2.5.4.97, organizationIdentifier
- Resolves: RHEL-119628
Include fixes in python3-ipatests
- Resolves: RHEL-110204
RFE: Enable external password reset agents to use ipa_pwd_extop in RHEL IdM
- Resolves: RHEL-119481
RFE: Update IdM password policy configurations to meet M-22-09 by restricting spaces and require number character class
- Resolves: RHEL-126761
[RFE] Support storing LWCA private keys on an HSM
- Resolves: RHEL-86030
[RFE] ipa-client-automount should have an option to include domain of the machine.
- Resolves: RHEL-119617
test_cacert_manage fails due to expired Let's Encrypt R3 certificate

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
2025-11-18 10:15:42 +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