URL: https://github.com/freeipa/freeipa/pull/710 Author: Rezney Title: #710: [ipatests] - added krb5kdc.log to pytest logging Action: opened
PR body: """ KRB5KDC_LOG = '/var/log/krb5kdc.log' added to paths host.collect_log(paths.KRB5KDC_LOG) added to tasks.py Signed-off-by: Michal Reznik <mrez...@redhat.com> """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/710/head:pr710 git checkout pr710
From 8bf1913e92050fc06746f70dd21ae5dd90fda05f Mon Sep 17 00:00:00 2001 From: Michal Reznik <mrez...@redhat.com> Date: Wed, 12 Apr 2017 16:28:59 +0200 Subject: [PATCH] [ipatests] - added krb5kdc.log to pytest logging KRB5KDC_LOG = '/var/log/krb5kdc.log' added to paths host.collect_log(paths.KRB5KDC_LOG) added to tasks.py Signed-off-by: Michal Reznik <mrez...@redhat.com> --- ipaplatform/base/paths.py | 1 + ipatests/pytest_plugins/integration/tasks.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index 070d3ff..5e27553 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -355,5 +355,6 @@ class BasePathNamespace(object): GSSPROXY_CONF = '/etc/gssproxy/10-ipa.conf' KRB5CC_HTTPD = '/tmp/krb5cc-httpd' IF_INET6 = '/proc/net/if_inet6' + KRB5KDC_LOG = '/var/log/krb5kdc.log' path_namespace = BasePathNamespace diff --git a/ipatests/pytest_plugins/integration/tasks.py b/ipatests/pytest_plugins/integration/tasks.py index 1705e25..172f5b8 100644 --- a/ipatests/pytest_plugins/integration/tasks.py +++ b/ipatests/pytest_plugins/integration/tasks.py @@ -77,6 +77,7 @@ def setup_server_logs_collecting(host): # kerberos related logs host.collect_log(paths.KADMIND_LOG) + host.collect_log(paths.KRB5KDC_LOG) # httpd logs host.collect_log(paths.VAR_LOG_HTTPD_ERROR)
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code