Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] VX-236 start ovs after boot and before kubelet service #209

Merged
merged 1 commit into from
Aug 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion developers/systemctl/ovs-vswitchd.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=Open vSwitch Forwarding Unit
After=ovsdb-server.service network-pre.target systemd-udev-settle.service
Before=network.target network.service
Before=network.target network.service kubelet.service
Requires=ovsdb-server.service
ReloadPropagatedFrom=ovsdb-server.service
AssertPathIsReadWrite=/var/run/openvswitch/db.sock
Expand All @@ -19,3 +19,7 @@ ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server \
--ovs-user=${OVS_USER_ID} \
restart $OPTIONS
TimeoutSec=300

[Install]
WantedBy=multi-user.target
RequiresBy=ovsdb-server.service
5 changes: 4 additions & 1 deletion developers/systemctl/ovsdb-server.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=Open vSwitch Database Unit
After=syslog.target network-pre.target
Before=network.target network.service
Before=network.target network.service kubelet.service
Wants=ovs-delete-transient-ports.service

[Service]
Expand All @@ -15,3 +15,6 @@ ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd stop
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd \
--ovs-user=${OVS_USER_ID} \
--no-monitor restart $OPTIONS

[Install]
WantedBy=multi-user.target