diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-07-26 10:48:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-26 10:48:16 -0400 |
commit | b70e033ee5df2e27038fe49100bbabd8562b1010 (patch) | |
tree | 226fcef881e9e252939f30544772eb6e003711df /roles/openshift_node | |
parent | 7e7998b8b9c10e334f5afb2e8e752e0efbd3e9ea (diff) | |
parent | d85ee728dede32e6a5f4ae93960245ef96b5d8c1 (diff) | |
download | openshift-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')
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 2 |
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 |