summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2017-05-17 09:24:20 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2017-05-17 09:24:22 +0200
commit7f805f9a0c41477365dd88b0ac73f0d221bd654a (patch)
tree8d090156212666ba9005d2de4fe2a8deab31069f /roles/openshift_node/templates
parentbbb54088844b862e6c0b28b1606d3ca3cea76490 (diff)
downloadopenshift-7f805f9a0c41477365dd88b0ac73f0d221bd654a.tar.gz
openshift-7f805f9a0c41477365dd88b0ac73f0d221bd654a.tar.bz2
openshift-7f805f9a0c41477365dd88b0ac73f0d221bd654a.tar.xz
openshift-7f805f9a0c41477365dd88b0ac73f0d221bd654a.zip
node, systemd: change Requires to Wants for openvswitch
Sometimes the node container is not started on a container-engine restart. Use a weaker dependency on openvswitch that is causing this issue Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1451192 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'roles/openshift_node/templates')
-rw-r--r--roles/openshift_node/templates/openshift.docker.node.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_node/templates/openshift.docker.node.service b/roles/openshift_node/templates/openshift.docker.node.service
index 06782cb8b..d89b64b06 100644
--- a/roles/openshift_node/templates/openshift.docker.node.service
+++ b/roles/openshift_node/templates/openshift.docker.node.service
@@ -5,7 +5,7 @@ After=openvswitch.service
PartOf={{ openshift.docker.service_name }}.service
Requires={{ openshift.docker.service_name }}.service
{% if openshift.common.use_openshift_sdn %}
-Requires=openvswitch.service
+Wants=openvswitch.service
After=ovsdb-server.service
After=ovs-vswitchd.service
{% endif %}