Commit Graph

12 Commits

Author SHA1 Message Date
Hyunsun Moon
896fc6b8d2 ovs,neutron: use auto_bridge_add for external bridge and interface
Also changed ovs-agent-init to take care of configuring default external
bridge and interface for cosistency with lb-agent.

Change-Id: I1d893b73a784f55594c30f17ef022348d68f0f1b
2018-05-15 14:20:22 +00:00
Hyunsun Moon
6c9b4df6fe openvswitch: allow setting ovsdb connection using vsctl
Also changed neutron agents to use default, ptcp:6640:127.0.0.1.

Change-Id: Id43c376851f0c408da4684c219dc79ef4a1c157b
Closes-Bug: 1761117
2018-04-24 11:01:31 +09:00
Hyunsun Moon
18d85dbf7f openvswitch: use pidfile option
Make appctl to search pidfile for exit command as pid 1 is not
always the target process in some cases. For example, pid 1 is
"pause" when pid namespace sharing is enabled in your k8s cluster.

Change-Id: I90e202245a9522fe53bea7e1f047061a0a280834
2018-04-12 04:58:59 +00:00
portdirect
cc81c5f558 OvS: Implement cleaner shutdown and start logic
This PS adds cleaner shutdown and start logic to the OvS components.

Change-Id: I5c7fb212163a19d7584b37c20e7c6c757b498856
Co-Authored-By: SamYaple <sam@yaple.net>
2017-11-28 21:42:24 -05:00
Zuul
d6f1aead74 Merge "Revert "openvswitch: Move IP address from physical device to bridge"" 2017-11-17 02:50:36 +00:00
Pete Birley
d6a30ff6a4 Revert "openvswitch: Move IP address from physical device to bridge"
This prevents the pod restarting correctly on a node reboot - we need
to find another way to do this.

This reverts commit 27aadd67e0.

Change-Id: Id7d4ae94ade99d38729b30d6d2ba7d5385d50a4b
2017-11-15 17:43:11 +00:00
Zuul
f8377b1258 Merge "Kernel Modules: Load via chroot into host" 2017-11-13 20:08:00 +00:00
intlabs
35267bffe4 Kernel Modules: Load via chroot into host
This PS moves the loading of kernel modules required by services to
being perfromed via a chroot on the host, this ensures that the correct
module is found and provides compatibility across distros.

Change-Id: I889fdd047a24bf4b123dadf9f6d6e6e8079d69d1
2017-10-31 23:51:53 +00:00
Hyunsun Moon
27aadd67e0 openvswitch: Move IP address from physical device to bridge
A physical ethernet device that is part of an Open vSwitch bridge
should not have an IP address. This patch restores the IP address
by moving it to the bridge itself.

Change-Id: I9100a65ecfbb0433a55449178d06879509d01987
2017-10-25 11:56:37 +09:00
Pete Birley
592cd2a939 Bash: remove tabs in openvswitch script
This PS removes the tabs in the openvswitch vswitchd start script.

Change-Id: I80f3251ea8fef536694862f91c750277cc912eb3
2017-10-14 11:58:46 -05:00
Chris Wedgwood
2715620d17 openvswitch: wait for ovs socket readiness
Add a check (with a timeout) to wait for the openvswitch socket to
prevent erronious crashes on inital startup.

Change-Id: I000425a439f320974904129b65b7840702693ab4
2017-10-13 22:52:34 +00:00
Pete Birley
37b099e320 Neutron: Move OpenVSwitch into its own chart
This PS moves OpenVSwitch into its own chart - decoupling it from neutron,
both making it easier to deploy and use seperately and permitting
use of other network backends.

Partially implements: blueprint split-nova-and-neutron-infra

Change-Id: Ifd637136b950ddf1ba1c26ce76c9bbdeafc232c3
2017-08-30 16:01:29 +00:00