diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-07-20 14:08:13 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-07-20 14:08:13 -0400 |
commit | d85ee728dede32e6a5f4ae93960245ef96b5d8c1 (patch) | |
tree | 3205bfc0934da2796fb84977469a51c88f1f1ad2 /roles/openshift_node/tasks | |
parent | 4f5aa38fc9bb2836d9409ad0e6ece87ae9da774a (diff) | |
download | openshift-d85ee728dede32e6a5f4ae93960245ef96b5d8c1.tar.gz openshift-d85ee728dede32e6a5f4ae93960245ef96b5d8c1.tar.bz2 openshift-d85ee728dede32e6a5f4ae93960245ef96b5d8c1.tar.xz openshift-d85ee728dede32e6a5f4ae93960245ef96b5d8c1.zip |
Fix log dumping on service failure
Also, add log dumping to master service startup too
Diffstat (limited to 'roles/openshift_node/tasks')
-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 |