summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-26 10:48:16 -0400
committerGitHub <noreply@github.com>2017-07-26 10:48:16 -0400
commitb70e033ee5df2e27038fe49100bbabd8562b1010 (patch)
tree226fcef881e9e252939f30544772eb6e003711df /roles/openshift_node/tasks
parent7e7998b8b9c10e334f5afb2e8e752e0efbd3e9ea (diff)
parentd85ee728dede32e6a5f4ae93960245ef96b5d8c1 (diff)
downloadopenshift-b70e033ee5df2e27038fe49100bbabd8562b1010.tar.gz
openshift-b70e033ee5df2e27038fe49100bbabd8562b1010.tar.bz2
openshift-b70e033ee5df2e27038fe49100bbabd8562b1010.tar.xz
openshift-b70e033ee5df2e27038fe49100bbabd8562b1010.zip
Merge pull request #4813 from sdodson/log-dumper
Fix log dumping on service failure
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r--roles/openshift_node/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 879f6c207..0133533fc 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -230,7 +230,7 @@
ignore_errors: true
- name: Dump logs from node service if it failed
- command: journalctl --no-pager -n 100 {{ openshift.common.service_type }}-node
+ command: journalctl --no-pager -n 100 -u {{ openshift.common.service_type }}-node
when: node_start_result | failed
- name: Abort if node failed to start