URL: https://github.com/freeipa/freeipa/pull/3943 Author: flo-renaud Title: #3943: ipatests: generic uninstall should call ipa server-del Action: opened
PR body: """ ### ipatests: generic uninstall should call ipa server-del
At the end of any integration test, the method uninstall is called and uninstalls master, replicas and clients. Usually the master is the CA renewal master and DNSSec master, and uninstallation may fail. This commits modifies the uninstall method in order to: - call 'ipa server-del replica' before running uninstall on a replica - uninstall the replicas before uninstalling the master
Fixes: https://pagure.io/freeipa/issue/7985
### ipatests: fix teardown
The uninstall method of some tests can be skipped as the cleanup is already done before.
### ipatests: fix test_crlgen_manage
The goal of the last test in test_crlgen_manage is to ensure that ipa-server-install --uninstall can proceed if the server is the last one in the topology, even if it is the CRL generation master.
The current code is wrong because it tries to uninstall the master (which has already been uninstalled in the prev test), It should rather uninstall replicas[0]. """
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/3943/head:pr3943 git checkout pr3943
URL: https://github.com/freeipa/freeipa/pull/3943 Author: flo-renaud Title: #3943: ipatests: generic uninstall should call ipa server-del Action: closed
To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/3943/head:pr3943 git checkout pr3943
freeipa-devel@lists.fedorahosted.org