805 Commits

Author SHA1 Message Date
Jenkins
239b83b1b5 Merge "Add sudo to docker log command" 2017-06-07 22:40:09 +00:00
Jenkins
0dc65da60d Merge "Fix the to_ini function name" 2017-06-07 22:11:45 +00:00
Jenkins
a35b9bee94 Merge "Fix a misnamed file" 2017-06-07 22:11:39 +00:00
Pete Birley
afc2243f85 Fix the to_ini function name
The to_ini fucntion was missed in the refactor of function names
this ps fixes that.

Change-Id: I2726aada96bdef451284ee993517fcb6908408ec
2017-06-07 16:03:29 -05:00
Tin Lam
c0acd86912 Fix a misnamed file
A template file was misspelt with ``_babican.sh.tpl``.  This patch
set renames this to ``_barbican.sh.tpl``.

Change-Id: I3e3664d6711b6d0d0de2f8de28d6caa43f783548
2017-06-07 15:47:12 -05:00
Curtis Collicutt
6ffd10403c Add sudo to docker log command
There are two spots where docker log is run without sudo, and
without sudo the command will usually fail and the loop will
never be exited. This would only be hit on an error.

Change-Id: I4335783478ad2583b581bd9264b029e929bfc8c3
2017-06-07 11:51:39 -06:00
Pete Birley
0dc8031549 Cinder: Fix helm-toolkit references
This PS fixes the references to helm-toolkit in Cinder

Change-Id: Ia2d7672059035eecaf9176666aad2dfc4e9ca0f5
2017-06-07 12:50:09 -05:00
Jenkins
78f6d00c15 Merge "Fix ceph instructions in multinode guide." 2017-06-07 04:11:07 +00:00
mattmceuen
b086b3fba9 Fix ceph instructions in multinode guide.
Removed inappropriate quotes from around kube_version in
the controller manager sed command, and clarified version
info for the controller manager.

Change-Id: Ied241a2d36524951942171630647411e2d76644c
Closes-Bug: #1695021
2017-06-06 21:26:26 -05:00
Jenkins
caca8b9d56 Merge "Helm Test: Glance" 2017-06-07 00:22:52 +00:00
Pete Birley
77e02f143c Helm Test: Glance
This PS introduces 'helm test' functionaility to Glance.

Change-Id: I7a25a89f8413aa5e88f28c30f8a040e8d5909bc9
Partial-Implements: blueprint implement-helm-test-for-charts
2017-06-06 18:40:59 -05:00
Jenkins
71152b4fce Merge "Helm Test: Framework & Keystone" 2017-06-06 23:32:41 +00:00
Pete Birley
97f781d6c3 Helm Test: Framework & Keystone
This PS introduces 'helm test' functionaility to keystone and
provides the basic framwork for charts to use.

Change-Id: Ie84a6ca0ed007fb55e10d503d1c3e49788908eec
Partial-Implements: blueprint implement-helm-test-for-charts
2017-06-06 16:52:34 -05:00
Jenkins
85d7b67385 Merge "Multinode-check: 2 Node via kubeadm with NFS" 2017-06-06 21:51:38 +00:00
Pete Birley
6c5e82e096 Multinode-check: 2 Node via kubeadm with NFS
This PS introduces a 2 node check in zuul, it uses the KubeADM-AIO
container to stand up a master and worker node, before deploying
OpenStack-Helm using NFS as a PV backend. This check is a stopgap
untill a 3 node gate is deployed which will use ceph and enable
HA of all components to be tested.

Change-Id: I7bb70e6b103a483a0e1df1492fa2047d229eb86f
2017-06-06 15:15:16 -05:00
Curtis Collicutt
249536bc18 Add -r to xargs command
-r on xargs will not run the command if the input is empty.
Otherwise the command will get run once and it will fail, though
the || true catches the error. With this the || true can be
removed.

Change-Id: I12fbe83b69de39d0cae67e337cbacf8cfab02180
2017-06-06 13:58:47 -06:00
Jenkins
086411857b Merge "Fix some warnings from keystone-manage doctor" 2017-06-06 19:44:16 +00:00
Jenkins
4cc1621d5f Merge "Remove executable flag from Chart.yaml" 2017-06-06 19:44:01 +00:00
Tin Lam
5fcb0e3d10 Remove executable flag from Chart.yaml
TrivialFix: Some Chart.yaml's have permission 755; this patchset changes
that to 644 and be consistent with other yaml files.

Change-Id: I6453f91f0cd22330259bf24be9d4c331f2769ec2
2017-06-06 11:43:25 -05:00
Jenkins
fa0bfeb0b5 Merge "Refactor start scripts, to support graceful termination" 2017-06-06 16:26:26 +00:00
Jenkins
3224aed2a8 Merge "Cinder Bootstrap" 2017-06-06 15:09:07 +00:00
Michał Dulko
807ec54afd Fix some warnings from keystone-manage doctor
This commit fixes some warnings shown by `keystone-manage doctor`
command that are present in Keystone installed with default chart
configuration. In particular:

* Set max_toke_size=32 as this is correct value for uuid token provider.
* Enable caching using memcache by setting [cache] memcache_servers
  option correctly in configmap-etc.yaml

Change-Id: I38cc7be577e0a7cd9be715e633f3637baafcc21b
Closes-Bug: 1693806
2017-06-06 09:39:32 +02:00
Jenkins
59cb374ad3 Merge "Keystone: Update config to clean Newton checkout" 2017-06-06 04:44:54 +00:00
Jenkins
13341d85a6 Merge "KubeADM-AIO: Update Image to support Multinode Operation Natively" 2017-06-05 23:40:32 +00:00
Pete Birley
1ca8efa3a6 KubeADM-AIO: Update Image to support Multinode Operation Natively
This PS also pins the remaining components of the kubelet, moves
the K8s version to 1.6.4 and restores CentOS 7 operation.

Change-Id: Ia32c9e02dbf9451c13addce436f6e36f5a0a622f
2017-06-05 18:09:16 -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
Jeff Augustine
d95d9990de Cinder Bootstrap
This commit adds the bootstrap framework to Cinder.

- If volume type already exists do not recreate
- Create volume types as defined in Values.conf.backends
- Create additional volume types defined in Values.bootstrap,
    available backends must be defined in Values.conf.backends

Change-Id: I577df7bf50d66c8ef70e74466a0bf1c4c221ca68
Partially implements: https://blueprints.launchpad.net/openstack-helm/+spec/service-bootstrap
2017-06-05 15:25:10 -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
Pete Birley
31b1c3f1cc Keystone: Update config to clean Newton checkout
This PS updates the Keystone template to use a template generated
from the current version of the oslo-gen util.

Change-Id: Id900da732a49b2e154baf950881f0bd15ce3672e
2017-06-05 11:32:07 -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