mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
freeipa replica: allow ipa server-del to fail
If it fails, the replica is probably already gone from the config so things are fine. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
6fea5cc452
commit
c24e3fa9a1
@ -27,9 +27,10 @@ sub run {
|
|||||||
# test failed due to server issue)
|
# test failed due to server issue)
|
||||||
$self->post_fail_hook();
|
$self->post_fail_hook();
|
||||||
if (get_var("FREEIPA_REPLICA_MASTER")) {
|
if (get_var("FREEIPA_REPLICA_MASTER")) {
|
||||||
# delete the replica, otherwise we may get errors at uninstall
|
# delete the replica if it's still there, otherwise we may get
|
||||||
|
# errors at uninstall
|
||||||
assert_script_run 'echo "monkeys123" | kinit admin';
|
assert_script_run 'echo "monkeys123" | kinit admin';
|
||||||
assert_script_run 'ipa server-del ipa003.test.openqa.fedoraproject.org';
|
script_run 'ipa server-del ipa003.test.openqa.fedoraproject.org';
|
||||||
}
|
}
|
||||||
assert_script_run 'systemctl stop ipa.service';
|
assert_script_run 'systemctl stop ipa.service';
|
||||||
# check server is stopped
|
# check server is stopped
|
||||||
|
Loading…
Reference in New Issue
Block a user