14 Commits

Author SHA1 Message Date
portdirect
fa2620d54b RBAC for OSH
This PS applys RBAC rules to OSH, based off the work
done in https://review.openstack.org/#/c/526464/

Change-Id: I541b0ac1a3972566ef2b66571ae32744dab70c17
2017-12-26 10:24:19 -05: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 27aadd67e05632afb86e97a39f775c0a1cc5f81f.

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
intlabs
fe6107cf76 Images: Update values to allow simple parse of images being used
This PS updates the values file layout for images to allow simple
parsing of the images in use by charts, allowing them to be queried
and modified much more simply. By moving the image tags to a 'tags'
key, we can extend the options used simply to accomodate extra
options simply (eg prefixing the tag for use with an internal
registry) or pre-pulling the images to reduce chart deploy failure.

Change-Id: I9ec1dbb00d997ab6cb021bf0b698f7aae740e95d
2017-10-23 10:05:20 -05: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
Chris Wedgwood
cb28c05da5 Clarify type of auto_bridge_add
With auto_bridge_add defined as:

  auto_bridge_add:
  # nothing here

helm doesn't treat is as am empty table so issues warnings such as:

    2017/10/03 19:24:37 warning: destination for auto_bridge_add is a table. Ignoring non-table value <nil>

This happens most of the time as we use `helm --values=...` to augment
values.yaml in the chart.

This change clarifies it is indeed a table and the warnings no long
appear.

Change-Id: Ib733ed72df49e134a9199e4024b2893629b990dc
2017-10-03 23:54:05 +00:00
Artur Korzeniewski
4eb5e8b5fb OpenVSwitch: remove not used value network.interface.tunnel
Removing the network.interface.tunnel value from openvswitch chart not
to confuse the users.

After splitting out openvswitch from neutron chart, the value in config
network.interface.tunnel is not used in openvswitch chart.
Tunnel interface is specific to neutron's L2 agent only, not openvswitch
itself.

Change-Id: I40a645398bac8ca56c9e4e96bdbfafcbcc95e9b8
2017-09-08 15:27:00 +02:00
Artur Korzeniewski
ca05f7ac3c Neutron and OVS: add full name to ovs and lb daemonsets
Add neutron prefix to lb-agent and ovs-agent.
Rename ovs-db and ovs-vswitchd to openvswitch-db and openvswitch-vswitchd.

Change-Id: Iad69b0c00d17e59a9f0eb66003e4512ccaeab128
2017-09-04 13:58:59 +02: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