summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/handlers
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-10 13:47:51 -0400
committerScott Dodson <sdodson@redhat.com>2017-07-18 12:03:15 -0400
commita05fbeb6135864fedfb648644b06702ee1afea68 (patch)
tree0960b7d68dd00d5daeed7d709c717914468edf3a /roles/openshift_node/handlers
parentb98dd4f1ac8582dbdee70128151f7e14c68c9b74 (diff)
downloadopenshift-a05fbeb6135864fedfb648644b06702ee1afea68.tar.gz
openshift-a05fbeb6135864fedfb648644b06702ee1afea68.tar.bz2
openshift-a05fbeb6135864fedfb648644b06702ee1afea68.tar.xz
openshift-a05fbeb6135864fedfb648644b06702ee1afea68.zip
Wrap additional service changes in retries
Diffstat (limited to 'roles/openshift_node/handlers')
-rw-r--r--roles/openshift_node/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_node/handlers/main.yml b/roles/openshift_node/handlers/main.yml
index 0d4af9f53..6b38da7f8 100644
--- a/roles/openshift_node/handlers/main.yml
+++ b/roles/openshift_node/handlers/main.yml
@@ -4,9 +4,14 @@
name: openvswitch
state: restarted
when: (not skip_node_svc_handlers | default(False) | bool) and not (ovs_service_status_changed | default(false) | bool) and openshift.common.use_openshift_sdn | bool
+ register: l_openshift_node_stop_openvswitch_result
+ until: not l_openshift_node_stop_openvswitch_result | failed
+ retries: 3
+ delay: 30
notify:
- restart openvswitch pause
+
- name: restart openvswitch pause
pause: seconds=15
when: (not skip_node_svc_handlers | default(False) | bool) and openshift.common.is_containerized | bool