24 Commits

Author SHA1 Message Date
Pete Birley
ff8744a9b9 Licence: Remove licence header from rendered files
This PS removes the licence header from rendered output from tiller,
significantly reducing the configmap size of charts deployed to the
cluster.

Change-Id: I5d1b246f2068f3b83bf59ba79fe8b88bbc9a6161
2017-08-07 17:16:13 -05:00
Jenkins
956cf735d1 Merge "Fix OVS tunnel interface grep" 2017-07-13 13:28:19 +00:00
Matt McEuen
6b917043c6 Fix OVS tunnel interface grep
Hardened the grep/awk that extracts the default interface for use
as the tunneling interface.  The command failed on multiple
Ubuntu machines as-was.

Change-Id: Ib7d0a8e55e67391d6cb7a58910cfc2ed617a4cbc
2017-07-12 22:52:29 -05:00
Pete Birley
ab52a43425 Neutron: Add bootstrap job
This PS adds a bootstrap job to Neutron, in the same format as
Keystone and other services.

Change-Id: Ice724be9c8b20b27aaddf528f6cc0e848793c1c1
2017-07-07 04:36:05 +00:00
Chris Wedgwood
1633197fda Merge ovs 'ensure' logic into the caller
Rename ml2.ovs.auto_bridge_add to network.auto_bridge_add

Change-Id: Idf0e746df8b91cbbf89373d1516108ce2163083c
Co-Authored-By: Artur Korzeniewski <artur.korzeniewski@intel.com>
2017-06-26 15:51:44 +00:00
Pete Birley
548f3f0854 Neutron: Move ovs-agent setup to init container
This PS moves the Neutron OVS agent setup to an init container.

Change-Id: Ib56e7f35cfc40ba617bd2f895d39efa8ef2849ea
2017-06-12 17:07:35 +00:00
Pete Birley
0df7427dc4 Refactor start scripts, to support graceful termination
This PS add Barbican support, and moves all potentially container
specific logic into the service start script from the api manifests.

Also fixes a permissions issue with the nova-api, which incorrectly
had the NET_ADMIN capability.

Change-Id: I18fc1ea5d7aa70ea7dabb829361a3da57e905100
2017-06-05 17:37:22 -05:00
Chris Wedgwood
7b96c5cfff Neutron fixes; fix external and tunnel interfaces.
Fixes to resolve confusion between gotpl and bash variable handling
and also how bash handles empty strings.

These are required to robustly:
 1. make use of an external network (for floating IPs)
 2. specify *which* interface in the nodes is used for the tunnelled
    traffic.

Change-Id: I30fd675cd471a77dc09a6c7f6ee81120a978b38b
2017-05-30 05:13:52 +00:00
Artur Korzeniewski
a378304490 Neutron chart: add tunnel types, bridge mappings and default interfaces
Correction of tunnel_types config option in values.yaml, regarding the
_openvswitch_agent.ini.tpl layout.
Added bridge mappings, since it was lost with auto-generate configs.

Removed br-physnet1 and physnet1 in favor of 'external' network config.

Removed default network interface, replacing it with search for interface
with default gateway for tunneling. The interface for external bridge
has to be defined explicitly, otherwise no interface will be added to
external bridge automatically.
In OVS configuration scripts, added handling null port passed.

Change-Id: I90ebe222323b3b1ec8d20a8038c0dfed3de9b58c
Closes-Bug: #1686365
Closes-Bug: #1686367
2017-05-23 18:48:40 +02:00
Gage Hugo
dc1ae977a5 Remove all trailing whitespaces
This change removes any trailing whitespaces found while
running:

find . -type f -exec egrep -l " +$" {} \;

Change-Id: Ic1dc8765a0971a32da4c3116871e9450a55b357f
2017-05-19 18:07:06 -05:00
Pete Birley
88e174bd90 Neutron: Move container start commands to scripts.
This PS moves the container start commands to scripts, which makes
debugging and overriding of container launch params easier.

Change-Id: If75087456e42a5214e428107ee5bd53778a1b822
2017-04-28 15:44:04 -05:00
Alan Meadows
5fffc517bd Ensure ports we add to bridges are up
The ports we add to the external network bridge or standard physical
network bridges may be in a down state after they are added. This
ensures we bring them up after adding them to the bridge

Change-Id: I34b1c2fa17bdfd4941c09de8162418ee3d36eaba
2017-04-13 13:21:27 -07:00
Larry Rensing
43c3ae584e Neutron ovs config file correction
OVS agent was pointing at the wrong config file, it should reference
'ml2_conf' rather than 'ml2-conf'.

Change-Id: I39d20d621f3634456498440cd4d35ac117cbe1f7
2017-04-12 10:38:57 -05:00
Alan Meadows
3ab6767c74 A few more neutron override bugfixes 2017-04-10 13:49:16 -07:00
Alan Meadows
68e53c38fc Merge branch 'master' into config_neutron 2017-04-10 13:32:52 -07:00
Alan Meadows
9b2970ded4 Initial commit of Neutron Configuration Overrides 2017-04-10 13:14:10 -07:00
Pete Birley
a0092c7922 Update Neutron DB Jobs 2017-04-04 11:33:42 -05:00
Pete Birley
74fe52295e Update Neutron Keystone Jobs to match common architecture 2017-03-14 13:02:18 -05:00
Pete Birley
3df5c19235 KS endpoint type lookup for Neutron 2017-03-07 01:30:07 +00:00
Brandon B. Jozsa
18b3bca8e0 add license headers to neutron 2017-02-17 13:05:32 -05:00
Pete Birley
116931bb51 Rename common chart, and update all references to functions within it. (#167)
* Rename common chart to helm-toolkit

* Update useage of helpers to include reference to chart they come from.

* Update helm-toolkit function naming

Also catches several functions missed in previous PS

* Update remaining requirements.yaml to use helm-toolbox

* Dep Check container fix for common -> helm-toolbox renaming
2017-02-14 16:52:38 -08:00
Alan Meadows
76086e2f2f Resolve feedback from PR#60
This commit addresses:

* Separating out stacked ovs daemonset into separate daemonsets.

* Fixes line ending issues.

* Enhances agents ovs pre-flight checks by using neutron-sanity-check.
2017-01-05 13:27:39 -08:00
Alan Meadows
f9cb3fc846 Bugfix a few typos from last three PRs
This resolves a few issues that crept in with the last
three pull requests.
2017-01-03 15:53:06 -08:00
Alan Meadows
b9a4a0b31d Commit neutron chart
This is a functioning neutron chart that leverages a flat network
but supports vxlan and gre networks in values.yaml.  We were unable
to test the vxlan functionality as it tickles the bnx2x cards in our
HP blade lab.

For now, this leverages daemonsets which make sense.  It does require
a new label, namely openvswitch=enabled as we need a label that can be
applied both to the control plane and tenant compute hosts as both
require neutron agents and openvswitch.  The interfaces today match
our labs, namely enp11s0f0 for the flat network on physnet1 and
enp12s0f0 for the external network.  These can be overriden in
values.yaml via set or a global environmental file.

It depends on the keystone endpoint work.

This chart was tested against a working nova chart not commited as
DTadrzak has one open in PR#45
2017-01-03 12:28:44 -08:00