Commit Graph

819 Commits

Author SHA1 Message Date
Jenkins
3b6dec1364 Merge "Adding pod disruption budget for mariadb" 2017-06-12 13:52:32 +00:00
Larry Rensing
bcdb673e49 Adding pod disruption budget for mariadb
This PS adds pod disruption budgets for mariadb

Change-Id: I6ca698c15ec6693dd001183220e619e305f2732c
2017-06-12 04:12:37 +00:00
Pete Birley
e4954a861b Glance: Fix bootstrap image reference
The glance boostrap job used the db_init image. This PS rectifies
that.

Change-Id: I4007de943a7fb97f3ca5ecd23e5533d2e10d97c1
2017-06-11 17:31:54 -05:00
Jenkins
2ae4147dc8 Merge "[Cinder] Fix Ceph backend" 2017-06-10 15:30:38 +00:00
Jenkins
d73f81c9fa Merge "Move init containers from annotation to official object" 2017-06-09 22:09:54 +00:00
Jenkins
d0f61affce Merge "libvirtd pod is not starting when Ceph is enabled" 2017-06-09 21:47:13 +00: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
Jenkins
eac0cd7115 Merge "[Ceph] Update default cluster network" 2017-06-09 20:59:45 +00:00
Jenkins
374752131d Merge "N-Node gate, and improved logging" 2017-06-09 20:50:21 +00:00
Chris Wedgwood
fbaf3fd196 [Cinder] Fix Ceph backend
Fix for corrupt (malformed) configMap and missing files.

Change-Id: I94ed8af6d37c47d14b3642d7fbc43bed1fc59cb3
2017-06-09 20:43:28 +00:00
Chris Wedgwood
192f02d100 [Ceph] Update default cluster network
The current default network for ceph works for very few people by
default.  Update it to match what most people seem to be using.

Change-Id: Icd5f87189b067865721203065e8caf33772d56ba
2017-06-09 20:29:01 +00:00
Pete Birley
de656ea7f2 N-Node gate, and improved logging
This PS sets up the check scripts to support a N node gate in zuul
it also adds more comprehensive logging of OS-H.

Change-Id: Id2af01c688a438eeec348f221fb05b09401c80a0
2017-06-09 15:00:29 -05:00
Dae Seong Kim
3f98813b1e libvirtd pod is not starting when Ceph is enabled
When trying to install nova chart with Ceph enabled, libvirtd pod isn't
starting. It's because container is executing virsh commands before
libvirtd process is up. _libvirt.sh.tpl script needs to be fixed to
start the process first and then execute the commands.

Closes-Bug: #1691384
Change-Id: Icd5f31a5fbeb5985ed19213aeb236a25f600b18c
2017-06-09 19:00:07 +00:00
Alan Meadows
a3972f6e5d Ensure gate failure summary shows node assigned to each pod
Change-Id: Ic765a423eddcd13961b395cbcee7b86c5fd07760
2017-06-09 08:10:15 -07:00
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