summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-06-17 13:42:48 -0400
committerGitHub <noreply@github.com>2016-06-17 13:42:48 -0400
commit856175c0a9167d1dba0ac46ec900bda497a8c0a7 (patch)
treed511cfe71da136e420234a42f32eaeea1fc0cbb8
parent4597740a002236c70d45829bc22e0d0d126a0cbd (diff)
parent555ab6db54423fde7440e8ca4178d44a442f32f2 (diff)
downloadopenshift-856175c0a9167d1dba0ac46ec900bda497a8c0a7.tar.gz
openshift-856175c0a9167d1dba0ac46ec900bda497a8c0a7.tar.bz2
openshift-856175c0a9167d1dba0ac46ec900bda497a8c0a7.tar.xz
openshift-856175c0a9167d1dba0ac46ec900bda497a8c0a7.zip
Merge pull request #2055 from sdodson/bz1347209
Stop dumping debug output, re-try startng the node once
-rw-r--r--roles/openshift_node/tasks/main.yml15
1 files changed, 8 insertions, 7 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 242437a85..6aac0dc21 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -118,14 +118,15 @@
service: name={{ openshift.common.service_type }}-node enabled=yes state=started
register: node_start_result
ignore_errors: yes
-
-- name: Check logs on failure
- command: journalctl -xe
- register: node_failure
+
+- name: Wait 30 seconds for docker initialization whenever node has failed
+ pause:
+ seconds: 30
when: node_start_result | failed
-
-- name: Dump failure information
- debug: var=node_failure
+
+- name: Start and enable node again
+ service: name={{ openshift.common.service_type }}-node enabled=yes state=started
+ register: node_start_result
when: node_start_result | failed
- set_fact: