58 Commits

Author SHA1 Message Date
Pete Birley
198ce69e71 Keystone: Member role fixes
This PS makes the initial Keystone Admin and Service account users
members of the projects that they are in.

Change-Id: I2de081a216b7e7b99d301ab605c84d882cdb5840
2017-06-24 16:28:56 +00:00
Pete Birley
a7503a7d3f Kubernetes Entrypoint: Lookup service names for dependency checks
The existing entrypoint logic used static names to reolve dependencies.
This prevented the service names, and thus the hostnames of services
being altered. This PS resolves that issue by looking up the service name
from the endpoints specified in the values for a chart.

Partial-Implements: blueprint enhance-entrypoint-dependency-checking
External-Tracking-Id: OSH-21
Change-Id: Ib49490f332f8cd88e98c50d9335dfd314a170936
2017-06-20 08:51:36 -05:00
Pete Birley
81aef1ecea Configmaps: set default mode of files in *-bin configmaps to +x
This PS sets the default modetype of mounts from *-bin configmaps
to 0555, and removes the then unnecessary commands from the manifests.

Change-Id: I93ce0facb06affdf362a58f8520e69ba94ea3034
2017-06-12 00:22:30 -05:00
Steve Wilkerson
161170bf96 Move init containers from annotation to official object
With 1.6, init containers are officially part of the kubernetes
API.  This changes the format of the helm template for the
entrypoint container from json to yaml, and updates the
charts accordingly.

Co-Authored-By: Pete Birley <pete@port.direct>

Change-Id: I569566ce4b031d107af2d38483040a26210bec45
2017-06-09 16:31:53 -05: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
Darla Ahlert
c394d22112 Add Graceful Termination to all existing charts
This commit adds graceful termination to all existing charts.
It also adds a setting in the values.yaml file for clarity and
the ability to override if wished.

Change-Id: I42025e4be86d248be467c1d2f0980f864c4d440e
2017-06-05 12:38:26 -05:00
Jenkins
592692fdf8 Merge "Update deployment for kubernetes 1.6" 2017-06-02 15:35:15 +00:00
Darla Ahlert
78dd37efc2 Update deployment for kubernetes 1.6
In Kubernetes 1.6, the deployment API version was changed
from extensions/v1beta1 to apps/v1beta1

Change-Id: I14ee465de381d25866224b9eae3512f0b42588d3
2017-06-02 08:45:08 -05:00
Pete Birley
e82846f1c7 Consistency: Move Heat container start commands to scripts
This PS moves the container start commands to scripts. This brings
the service into alignment with others in OpenStack-Helm, and enables
easier debugging and modifcation of the launch commands for services.

Change-Id: I9a3ca50ea303fe7e866f41f6acb0194cc2aa3dac
2017-06-01 10:34:42 -05:00
Jenkins
a5420f4290 Merge "Helm-Toolkit: Update naming to be explict and remove old functions." 2017-06-01 14:49:54 +00:00
Jenkins
3d88336677 Merge "Pod Disruption Budget: Set default to 0" 2017-05-31 21:28:39 +00:00
Pete Birley
8c29949c0d Helm-Toolkit: Update naming to be explict and remove old functions.
This PS updates the way helm-toolkit functions are named to
reference the full path they are loacted at. This should make
development and debugging easier. Addtionally unused functions
have been pruned as well.

Change-Id: I03c553f1d01bccc70c86768b416b147c90d9b2f0
2017-05-31 19:52:02 +00:00
Pete Birley
5e193580ed Pod Disruption Budget: Set default to 0
With pod disruption budget set it is not possible to drain nodes
and perform other expected operations. This PS changes the default
value to 0, restoring the typically expected operation of pods.

Change-Id: I43ef35638c98caee2cf567487173399157000ada
2017-05-31 06:11:58 -05:00
Mark Burnett
26517c908c Remove ConfigMap hash annotations from StatefulSets
Kubernetes does not allow updating annotations on StatefulSets (it
actually only allows a couple of fields to be modified), so the
existence of these hash annotations makes it impossible to modify
configmap values.

This will be a problem not only for upgrades, but for normal operation
with charts like `mariadb`, which will occasionally require
`helm upgrade ...` to modify settings to allow recovery from certain
cluster failure modes.

Change-Id: I5f0433fc05c5aa22b4ad7ec296efbde3acca3d5a
2017-05-30 15:42:52 -05:00
Mark Burnett
de20cbb15d Use the standard Dockerhub MariaDB image
Addresses consistency issues that appear with autoincrement fields in
the existing chart, as demonstrated in [1].  It should allow automatic
recovery of 2 out of the 3 (default) cluster members.

It does not address automatic recovery of a complete shutdown of all
cluster nodes.

[1] https://review.openstack.org/#/c/465977/

Change-Id: I84c86e1862f03a6d381bf219b821ea3636049f0b
2017-05-25 08:56:35 -05:00
Jenkins
ef6657deab Merge "Adding pod disruption budgets for heat" 2017-05-23 12:04:20 +00:00
Jenkins
fb11f693ab Merge "Cleanup - add remaining configmap hashes" 2017-05-20 23:08:07 +00:00
Larry Rensing
3d9b17cd8e Adding pod disruption budgets for heat
This PS adds a pod disruption budget for heat api, cfn, cloudwatch,
and engine to ensure 1 replica of each pod is running.

Change-Id: I8f5f224be7e804155390e18aa56dd86331f3645c
2017-05-19 18:14:21 +00:00
Larry Rensing
fea453ba72 Consolidate volumes across charts
This PS standardizes configmap mounts across all charts to be named
<project>-etc or <project>-bin.  This reduces the amount of volumes
listed in each file.

Change-Id: Idbaf495fa243bb9ea0f6ad755ca4f899d5fc0d6f
2017-05-16 15:49:51 +00:00
Larry Rensing
365132a4c5 Cleanup - add remaining configmap hashes
This adds a configmap-bin/etc hash value to the remainder of the manifests

Change-Id: Icccadccfd1d68e89b452b1c722e28b7340d9164b
2017-05-15 20:51:35 +00:00
Michał Dulko
d95bad0b5c Add project mascots as charts icons
OpenStack Foundation started serving project mascots files on
openstack.org. This commit adds URLs to those files as chart icons for
OpenStack projects.

Change-Id: I2482174cd1d9a0f32df91d7d81974a0dc37f5c4d
2017-05-09 14:28:11 +02:00
Larry Rensing
a95a15a48b heat deployment file permissions
small cleanup - changing heat deployment to have same file
permissions as the rest of the .yaml files

Change-Id: I71ac1aa5106e36809bc49ff139b7cf0628900799
2017-04-26 11:02:15 +00:00
Pete Birley
a8a7247a0b Heat: Add rolling update strategy
This ps adds a rolling update strategy to heat, bringing it inline
with other core services.

Change-Id: I702f2f351b4b34f68530617738e3d1566b71f0df
2017-04-22 11:53:19 -05:00
Jenkins
47a8faf058 Merge "Heat: Add volume over-rides" 2017-04-19 22:41:33 +00:00
Jenkins
020e4cdd11 Merge "Heat - Fix template filename" 2017-04-18 18:15:18 +00:00
Jenkins
cc98e57e86 Merge "chart.yaml enhancement: heat" 2017-04-18 18:13:20 +00:00
Pete Birley
8b42b24a23 Heat: Add volume over-rides
This PS brings Heat inline with Nova, Neutron and Keystone providing
a mechanism for appending additional volumes to the manifests as
required.

Change-Id: I17045d35ce5d3e7cfc654c1d962aabd8e6fc73f8
2017-04-18 10:35:57 -05:00
Pete Birley
f7ae407bdb chart.yaml enhancement: heat
Change-Id: I337499596c67f7ac9ab0267d19da5a2fb7a948ad
2017-04-18 09:31:30 -05:00
Pete Birley
fbfe2b570f Move Heat images to Kolla
This PS moves Heat to Kolla produced and published images:
 * This is part of a larger effort to move to a single image source

Change-Id: I6d784ad53363987d9a1e62865e332c835ed9fea3
2017-04-18 00:16:11 -05:00
Pete Birley
50fb37a28f Heat - Fix template filename
Somehow an extra .yaml extension got into the repo, this commit
removes it.

Change-Id: Ib8d2211b9902486198a0ad44ffb95dc4778ac3cf
2017-04-17 17:13:18 -05:00
Pete Birley
b6aed791fb Update chart.yaml to be consistent across repo
This PS updates the chart.yaml to be consistent across the repo, and
changes the description to make clear that they are the OpenStack-Helm
derived versions of the charts while using `helm search`.

Change-Id: Iac3cfd2cddba7130b28a65c3d353712c8a3aa02b
2017-04-16 11:21:07 -05:00
Pete Birley
e3ef3bf888 Heat Configuration overrides
This commit moves Heat to use the configuration methods from Nova,
Neutron and Keystone.

To make reviewing easier, volume configuration will be summited in
a seperate PS.

Change-Id: I3714f885cf4a6a9a34ba13fc9ea4a37e5bcef638
2017-04-12 00:05:09 -05:00
Pete Birley
c0141e1442 Update Heat DB Jobs 2017-04-04 11:33:42 -05:00
Brandon B. Jozsa
2f1b04dcbe Merge pull request #262 from alanmeadows/keystone_config_squashed
Configuration Management Overrides for Keystone
2017-03-23 15:01:24 -04:00
Pete Birley
7dbc762d2f Heat Client Endpoint Lookup 2017-03-22 18:26:38 -04:00
Alan Meadows
3886ba09e9 update other entrypoint macrros correctly this time 2017-03-22 12:31:37 -07:00
Alan Meadows
0537f138ac update other entrypoint macrros with empty mounts parameter until they are refactored 2017-03-22 12:30:21 -07:00
Brandon B. Jozsa
e111e8bc6a Merge pull request #274 from larryrensing/feat/add-nodeports-heat
feat: Add NodePorts to heat service
2017-03-21 07:12:37 -04:00
Pete Birley
43df15137d update kubernetes-entrypoint version 2017-03-19 21:48:29 -05:00
Larry Rensing
b82e4fbd19 Added nodeports to heat service 2017-03-14 11:09:48 -05:00
Pete Birley
9638fdccbf KS endpoint type lookup for Heat 2017-03-07 00:23:35 +00:00
Brandon B. Jozsa
05783b9b35 add license headers to heat 2017-02-17 10:07:30 -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
maris-accenture
1e7203a523 #106 CPU and memory resources (#106)
* resource requests and limits for cinder, heat, nova
2017-01-30 16:22:51 -08:00
Pete Birley
1a13f9ba83 Add support for daemonsets to the Kubernetes-Entrypoint init-container.
It also makes two other changes:

 * Moves the entrypoint container manifest snippet to its own file to reduce loading on the _funcs.tpl file
 * Changes dep-check-init-cont to dep_check_init_cont to match the formatting of other defines used in OpenStack Helm
2017-01-22 05:35:31 +00:00
Pete Birley
f498fcb6dd fix typos in init-container merge 2017-01-19 23:49:22 +00:00
Brandon B. Jozsa
c532b5c4d8 Merge pull request #113 from portdirect/heat_engine/clients
Update Heat to mount policy at engine pods and set client endpoints
2017-01-19 17:01:31 -06:00
DTadrzak
81d9c7fe7e Removing default values from template.
Fixing typo.

Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-16 12:16:45 +01:00
DTadrzak
71427ce905 A few changes according to intlabs's review.
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-16 10:47:43 +01:00
DTadrzak
d3d38876c8 A few changes according to Alan's review.
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-13 13:34:28 +01:00