URL: https://github.com/freeipa/freeipa/pull/1026 Author: tomaskrizek Title: #1026: Backport PR 1025 to ipa-4-5 Action: opened
PR body: """ This PR was opened automatically because PR #1025 was pushed to master and backport to ipa-4-5 is required. """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/1026/head:pr1026 git checkout pr1026
From 11378f802a0ec9b0a59e2cb47c934ea23cafe448 Mon Sep 17 00:00:00 2001 From: Tomas Krizek <tkri...@redhat.com> Date: Thu, 31 Aug 2017 12:37:46 +0200 Subject: [PATCH] ipatests: collect log after ipa-ca-install Make sure logs are collected after calling ipa-ca-install command. Related: https://pagure.io/freeipa/issue/7060 Signed-off-by: Tomas Krizek <tkri...@redhat.com> --- ipatests/pytest_plugins/integration/tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ipatests/pytest_plugins/integration/tasks.py b/ipatests/pytest_plugins/integration/tasks.py index 66a780f56e..ba7e1058c3 100644 --- a/ipatests/pytest_plugins/integration/tasks.py +++ b/ipatests/pytest_plugins/integration/tasks.py @@ -1172,7 +1172,9 @@ def install_ca(host, domain_level=None, first_instance=False, raiseonerr=True): if domain_level == DOMAIN_LEVEL_0 and not first_instance: replica_file = get_replica_filename(host) command.append(replica_file) - return host.run_command(command, raiseonerr=raiseonerr) + result = host.run_command(command, raiseonerr=raiseonerr) + setup_server_logs_collecting(host) + return result def install_dns(host, raiseonerr=True):
_______________________________________________ FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org