778 Commits

Author SHA1 Message Date
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
eb11ac0425 Merge "Add cinder-backup service" 2017-06-05 14:49:37 +00:00
Jenkins
4ecb3cda3e Merge "Fix .gitignore to not include logs dir" 2017-06-05 14:38:27 +00:00
Jenkins
8bf8282f6d Merge "Configuration Management Overrides for Cinder" 2017-06-05 14:31:45 +00:00
Pete Birley
4a3b9dd03d Fix .gitignore to not include logs dir
This PS fixes the .gitignore file to not include the logs dir
created by development operation of OpenStack-Helm.

Change-Id: I67a71157b62afc76877285d1a90e191988df8afe
2017-06-05 09:16:22 -05:00
Michał Dulko
74df9d19cb Add cinder-backup service
cinder-backup binary is responsible for backing up volumes and snapshots
as well as restoring them. Without this service being deployed, we
cannot use those features.

This commit introduces the service into OpenStack-Helm.

Change-Id: I4ff5a56a77e5e10471a653ee1fbc3837de48ad38
2017-06-05 12:41:54 +02:00
Michał Dulko
f0b92663d5 Configuration Management Overrides for Cinder
This commit is based on how Nova got its configuration overrides
implemented.

An important thing here is support for setting multiple Cinder backends
(e.g. Ceph cluster + NFS) in the values.yaml. This was required as Cinder
accepts backend configurations only in [<backend_id>] sections in the
cinder.conf.

Please note that autogeneration of ceph.conf and
ceph.client.<rbd_user>.keyring works only for a backend named "rbd1".
In case you want to add another RBD backend, you need to mount those
files by yourself. Commit ehancing this is planned to follow shortly.

Change-Id: Ifb58a85300bbfbb9e63d6b3bfc2ad19a99d2c9d4
2017-06-05 12:41:38 +02:00
Pete Birley
c0b830fb60 Helm-Toolkit: remove unused values generation script.
This PS removes a vestigial script from early development of
openstack-helm.

Change-Id: I7b28df28f2ff87c31d3f30999b6a1baf20be8270
2017-06-02 19:19:35 -05:00
Jenkins
c1e008643d Merge "Move dev directory contents and update VagrantFile" 2017-06-02 19:49:10 +00:00
Jenkins
592692fdf8 Merge "Update deployment for kubernetes 1.6" 2017-06-02 15:35:15 +00:00
Stacey Fletcher
bf5c643ce1 Move dev directory contents and update VagrantFile
This PS moves the dev contents to the tools directory as well
as updates the VagrantFile to use the existing scripts
for installing kubeadm-aio and deploying helm charts.

Change-Id: I6768d1f96abe6b15f66931d543e9adcc0e82829b
2017-06-02 10:11:04 -05: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
Jenkins
07bf94ae82 Merge "Neutron fixes; fix external and tunnel interfaces." 2017-06-02 00:07:36 +00:00
Jenkins
11d0561ecf Merge "Consistency: Move Mistral container start commands to scripts" 2017-06-01 23:34:33 +00:00
Jenkins
e101e71d68 Merge "Consistency: Move Heat container start commands to scripts" 2017-06-01 23:34:10 +00:00
Jenkins
d391a06c70 Merge "Consistency: Move Glance container start commands to scripts" 2017-06-01 23:34:04 +00:00
Jenkins
8de5d01bf8 Merge "Consistency: Move Cinder container start commands to scripts" 2017-06-01 23:32:28 +00:00
Jenkins
efc68f4347 Merge "Make remaining volumeMounts readOnly" 2017-06-01 21:40:26 +00:00
Jenkins
1ca77db357 Merge "Update remaining markdown docs to RST" 2017-06-01 21:32:41 +00:00
Pete Birley
f44f1ba7f1 Consistency: Move Mistral 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: I1d063eaf1c15d94bc14988affbcedb627aa8c212
2017-06-01 16:23:20 -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
Pete Birley
c0651f3e22 Consistency: Move Glance 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: I433b5d94d3cfc8c9167a4f4ee75fb460a9c6bd9a
2017-06-01 10:34:42 -05:00
Pete Birley
5f3bb7674e Consistency: Move Cinder container start commands to scripts
This PS moves the container start commands to scripts. This brings
the service into alignment with other ones in OpenStack-Helm, and enables
easier debugging and modifcation of the launch commands for services.

Change-Id: Iff08c9fdaf34efeee3dea2c4b859b0a4e77bc9a9
2017-06-01 10:34:25 -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
89b4ae24e1 Merge "Add pod disruption budget for neutron" 2017-05-31 21:29:50 +00:00
Jenkins
2400001bbc Merge "Adding pod disruption budget for senlin" 2017-05-31 21:29:44 +00:00
Jenkins
0a6e378387 Merge "Add pod disruption budget for ceph" 2017-05-31 21:28:57 +00:00
Jenkins
3d88336677 Merge "Pod Disruption Budget: Set default to 0" 2017-05-31 21:28:39 +00:00
Jenkins
847698bff1 Merge "Add dry-runs to all charts in OpenStack-Helm in dev and gate scripts" 2017-05-31 20:46:30 +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
d33cf42b84 Add dry-runs to all charts in OpenStack-Helm in dev and gate scripts
This PS adds a dry-run to all the charts in OpenStack-Helm as part
of the Checking process. The output is logged to a ./log dir by
default so the results are caught and handled by the devstack-logs
publisher.

Change-Id: I8f82e371b5098c97311d51071ebb60e8734c2900
2017-05-31 12:50:18 -05:00
Larry Rensing
e4ad30a64a Adding pod disruption budget for senlin
This PS adds a default pod disruption budget for senlin-api

Change-Id: I41448b9b45bbbee356839919c9dfcd9e7c3d40b7
2017-05-31 17:11:03 +00:00
Larry Rensing
3720765608 Add pod disruption budget for neutron
This PS adds a pod disruption budget for neutron server

Change-Id: I512d97c5dba281af21cc767a3744e2f5c05c7019
2017-05-31 16:41:17 +00:00
Larry Rensing
96e827e6b7 Add pod disruption budget for ceph
This adds default pod disruption budgets for ceph mons

Change-Id: I4a85140aea2a532bc073d97c7b985c7f61205a6d
2017-05-31 16:39:31 +00:00
Jenkins
673c41e50f Merge "Fix broken link in README" 2017-05-31 16:36:09 +00:00
Jenkins
cdfe1b34e6 Merge "Remove ConfigMap hash annotations from StatefulSets" 2017-05-31 15:53:36 +00:00
Darla Ahlert
7e86b04b57 Fix broken link in README
Change-Id: I4f56ae008c05543ff2aeba93a974cdc472f7eb99
2017-05-31 08:44:12 -05: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
Jenkins
c846259675 Merge "Neutron; fix paths for l2' and arp'" 2017-05-31 03:09:40 +00: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
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
Jenkins
c95897846b Merge "Neutron; set the default az to nova to be consistent with everything else." 2017-05-28 01:06:51 +00:00
Jenkins
0e10437f0b Merge "Glance; use /var/lib/glance/images for consistency." 2017-05-27 23:00:12 +00:00
Chris Wedgwood
2dba908e73 Neutron; set the default az to nova to be consistent with everything else.
Change-Id: I0f763d1a35a481cbea28c9ee4875c44933fc7781
2017-05-27 21:41:42 +00:00
Chris Wedgwood
b5e55a92b4 Neutron; fix paths for l2' and arp'
Change-Id: Ib3906fcd7f0509737fc6bbfa1cf601e585a88305
2017-05-27 05:27:45 +00:00
Chris Wedgwood
3e0a00f39a Glance; use /var/lib/glance/images for consistency.
Change-Id: I023c7fa473aab21f81bc7271d389d89824869083
2017-05-27 05:20:52 +00:00
Chris Wedgwood
f9252a8235 Use storageClassName in preference to the annotation.
Change-Id: I60a2b607b85cd22abbd5b0d10c4571430f56d62f
2017-05-27 05:18:51 +00:00
Larry Rensing
ed2b82977b Make remaining volumeMounts readOnly
This cleanup adds a readOnly tag for the remaining volumeMounts
across the project.

Change-Id: I1035c075c2e0c6f2b1b76a14e45094ed4e90a879
2017-05-26 13:46:30 +00:00
Jenkins
78abb8218c Merge "Use the standard Dockerhub MariaDB image" 2017-05-25 21:02:50 +00:00