From 3b927bbb6fe8205cb3298d606cdcadad7e531964 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Jul 08 2024 13:29:21 +0000 Subject: test_replica_install_after_restore: kinit after restore After uninstall and restore, kinit is required before launching any ipa command. Related: https://pagure.io/freeipa/issue/9613 Signed-off-by: Florence Blanc-Renaud Reviewed-By: Rob Crittenden --- diff --git a/ipatests/test_integration/test_backup_and_restore.py b/ipatests/test_integration/test_backup_and_restore.py index b537838..7e78879 100644 --- a/ipatests/test_integration/test_backup_and_restore.py +++ b/ipatests/test_integration/test_backup_and_restore.py @@ -903,6 +903,7 @@ class TestReplicaInstallAfterRestore(IntegrationTest): master.run_command(['ipa-restore', backup_path], stdin_text=dirman_password + '\nyes') + tasks.kinit_admin(master) # re-initialize topology after restore. for topo_suffix in 'domain', 'ca': topo_name = find_segment(master, replica1, topo_suffix)