summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-07-24 14:05:56 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-07-24 17:22:15 -0400
commit73551e320e0fd9f04e358fdba47d147eb425f48b (patch)
tree57309f744f7b66303837891d8f2b4c6b792ff91a
parentcd46a239484bb67c29cdffdad01f467183ff9653 (diff)
downloadopenshift-73551e320e0fd9f04e358fdba47d147eb425f48b.tar.gz
openshift-73551e320e0fd9f04e358fdba47d147eb425f48b.tar.bz2
openshift-73551e320e0fd9f04e358fdba47d147eb425f48b.tar.xz
openshift-73551e320e0fd9f04e358fdba47d147eb425f48b.zip
Add a pause after node startup to prevent restart handler from interfering with sdn configuration
-rw-r--r--roles/openshift_node/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index e18846db8..e84e74b40 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -71,3 +71,8 @@
- name: Start and enable openshift-node
service: name=openshift-node enabled=yes state=started
+ register: start_result
+
+- name: pause to prevent service restart from interfering with bootstrapping
+ pause: seconds=30
+ when: start_result | changed