summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-12 13:20:02 -0400
committerGitHub <noreply@github.com>2016-09-12 13:20:02 -0400
commiteb18b3c3b85da23853b9e0c3607d5b8b56f51811 (patch)
tree7b009effb571b2df6cbba007846cf78e966f4cc4
parenta528b97c741ec8d6ece35849ea29f2e5efd6f8c4 (diff)
parent3c76455faaac61aa74a3b840e1831aa95a9dea6e (diff)
downloadopenshift-eb18b3c3b85da23853b9e0c3607d5b8b56f51811.tar.gz
openshift-eb18b3c3b85da23853b9e0c3607d5b8b56f51811.tar.bz2
openshift-eb18b3c3b85da23853b9e0c3607d5b8b56f51811.tar.xz
openshift-eb18b3c3b85da23853b9e0c3607d5b8b56f51811.zip
Merge pull request #2429 from dgoodwin/openvswitch-restart-pause
Pause after restarting openvswitch in containerized upgrade.
-rw-r--r--roles/openshift_node/handlers/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/openshift_node/handlers/main.yml b/roles/openshift_node/handlers/main.yml
index df3f6ee65..b24f61569 100644
--- a/roles/openshift_node/handlers/main.yml
+++ b/roles/openshift_node/handlers/main.yml
@@ -2,6 +2,12 @@
- name: restart openvswitch
service: name=openvswitch state=restarted
when: not (ovs_service_status_changed | default(false) | bool)
+ notify:
+ - restart openvswitch pause
+
+- name: restart openvswitch pause
+ pause: seconds=15
+ when: openshift.common.is_containerized | bool
- name: restart node
service: name={{ openshift.common.service_type }}-node state=restarted