In ipa-4-6 branch test_integration/test_server_del.py fails in test_ignore_topology_disconnect_replica1 at step tasks.uninstall_master ( https://pagure.io/freeipa/blob/master/f/ipatests/test_integration/test_server_del.py#_183)
This happens because: 1. ipa-server-install --uninstall must be called with --ignore-topology-disconnect, similar to previous execution of "ipa server del" 2. tasks.uninstall_master adds this option only if domain level is 1 3. tasks.uninstall_master calls domainlevel() which executes "ipa domainlevel-get" 4. this command fails in our case as records for all services have been removed from ldap and ipa command fails to authorize at kerberos 5. domainlevel() returns default value in this case. In master and ipa-4-7 it is 1 after commit 13000e2f (https://pagure.io/freeipa/issue/7669). This patch has not been backported to ipa-4-6, so domainlevel() returns 0, --ignore-topology-disconnect option is not used, unintsallation stops and the test fails.
PR: https://github.com/freeipa/freeipa/pull/3108
Metadata Update from @sorlov: - Issue set to the milestone: FreeIPA 4.6.6
ipa-4-6:
Metadata Update from @sorlov: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)