Commit Graph

864 Commits

Author SHA1 Message Date
Pete Birley
a77206f90c Horizon: move to kolla 4.0.0 image
This PS moves the default horizon image to Kolla 4.0.0 - it is
backwards compatible with the 3.0.0 apis. The reason for changing is
the image iteslf is much enhanced with plugins installed for many
services: murano, designate etc that we deploy with openstack-helm.

The alternative would be producing a custom image for the project
if we wish to support these services.

Change-Id: Ib71cd27f077dd94a7ab56e621d13f0ba4ffb4e49
2017-06-21 14:44:52 -05:00
Jenkins
d37600b172 Merge "Use k8s 1.6 syntax of declaring affinity" 2017-06-20 17:53:35 +00:00
Jenkins
06b08eb714 Merge "Remove duplicate oslo_db entry in Neutron values" 2017-06-20 16:08:39 +00:00
Michał Dulko
a6cd9bac16 Use k8s 1.6 syntax of declaring affinity
K8s 1.6 has affinity/antiaffinity funtionalities as a beta feature. This
means we don't need to declare them using annotations. This commit
switches usages of affinity to 1.6 syntax.

Change-Id: Ia68f4ab28a018617bd44b1295fea58cd30eb4a39
2017-06-20 16:51:07 +02:00
Darla Ahlert
7ce9cbe3d2 Remove duplicate oslo_db entry in Neutron values
Change-Id: I9b0563cb304d6cd4bf0fbb1d4be3ccacf2ec2f46
2017-06-20 09:39:45 -05: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
Jenkins
349da76076 Merge "Nova: Add policy.yaml to pods and correct values.yaml" 2017-06-20 04:51:14 +00:00
Pete Birley
d27c041534 Neutron: fix mvp values.
This PS fixes the MVP values file to permit VM's to both be accessed
and access external networks.

Change-Id: If2243e55747c771ecd5fd9e2f4fb683899aa6623
2017-06-19 19:41:24 -05:00
Jenkins
2a06477397 Merge "Fix cpu and memory limits for glance" 2017-06-19 15:11:28 +00:00
Jenkins
2cec7222f7 Merge "Fix cpu and memory limits for keystone" 2017-06-19 14:24:05 +00:00
Jenkins
647a2098c3 Merge "Cinder: Fix dependencies values typo." 2017-06-19 14:00:39 +00:00
Pete Birley
c5100307a6 Nova: Add policy.yaml to pods and correct values.yaml
The policy.yaml was not mounted into pods in Nova, or its location
specified correctly in the default values, this PS resolves that.

Change-Id: Ie4d1b8414f626ac4b5fdc232644d5e8a3a99d8bb
2017-06-18 21:57:36 -05:00
Tin Lam
8c4e1c0e2d Fix cpu and memory limits for glance
Currently, the memory and cpu limits are identical to the requests.
This patch set ups the limits to be similar to other services
such as nova and neutron.

Change-Id: I597889dd9e19ae672926b772d7ae38947ede26bc
2017-06-18 01:21:39 -05:00
Tin Lam
9b6e57aa6b Fix cpu and memory limits for keystone
Currently, the memory and cpu limits are identical to the requests.
This patch set ups the limits to be similar to other services
such as nova and neutron.

Change-Id: I16985e622bdca95d88585d2f1e5bbb09e7dc766b
2017-06-18 01:14:54 -05:00
mattmceuen
5a93f0f596 Fixed typo in glance registry node port value name
The value path should have 'registry', not 'register'.

Change-Id: If00d5576757ba483cefad9acbe6f4a61d942eac2
Closes-Bug: #1698595
2017-06-17 18:36:39 -05:00
Pete Birley
f1fa268867 Cinder: Fix dependencies values typo.
The dependencies for cinder had a typo, so volume was specified twice
while backup was missed. This PS fixes that.

Change-Id: I97b94fe7cb2ceacdfc3e961c7c1eb8f5ddda26ad
2017-06-17 08:51:33 -05:00
Pete Birley
5aaf6ec121 Keystone: Add memcached as required dep.
Memcached is required by keystone to work optimally, this PS adds
it as a requirement. It could be argued that RabbitMQ should be
added as well, but this is only required when using Ceilometer AFAIK.

Change-Id: If2eec45455e05972c0fbb534262e5b1b69cef3b3
2017-06-16 07:46:22 -05:00
Jenkins
b465cdf0c2 Merge "Images: fix references to be explicit, and point to right dep image." 2017-06-15 17:26:05 +00:00
Jenkins
b7fa4dce2a Merge "Checks: enable remaining core services." 2017-06-15 15:12:11 +00:00
Jenkins
de1a0ece08 Merge "KubeADM-AIO: Make init more stable and support multiple PVC backends" 2017-06-15 15:11:37 +00:00
Pete Birley
0f88893a41 Images: fix references to be explicit, and point to right dep image.
This PS fixes some image references, to bring them inline with the
style and location with other services.

Change-Id: I1c42748875170a5a33bed7566382f3e31438dc7d
2017-06-15 08:59:08 -05:00
Pete Birley
f9741a9679 Checks: enable remaining core services.
This PS enables the remaining core services of openstack-helm in
the check/gate runs.

Change-Id: Ia6caafcd0975a5ae020fe204605ef734e26eebbc
2017-06-15 01:59:38 +00:00
Pete Birley
979591af87 KubeADM-AIO: Make init more stable and support multiple PVC backends
This PS makes the init of the KubeADM environment more stable by ensuring
all kube-system pods are up before trying to launch tiller. the NFS PVC
provider is now made optional but enabled by default, so that Ceph (and
other more complex providers) can be supported in future. Finaly the
scripts to bring up k8s/helm are refined to not bring in the clients if
already present with the correct versions on the host.

Change-Id: I4d7ceb6196e8fd5e3350ec99f09fbe6bb5fe01f6
2017-06-14 20:30:51 -05:00
Tin Lam
4358552d8b Fix whitespace linter trap
When the linter fails due to trailing whitespaces, the trapped
dump_logs.sh execution will attempt to collect logs using kubectl,
which is not installed, causing further errors in the log.
This patch set prevents the log gathering if kubectl does not
exists.

Change-Id: I83c13caec2ece7cc8ec9bfd838ae7d4af9dcbed3
2017-06-14 13:31:59 +00:00
Tin Lam
b780680232 Remove trailing whitespaces in rst
This patch set cleans up some whitespaces introduced in preparation
for the linter gate to be voting.

Change-Id: If92a754204c40171b055bfd71eb03ff519955f9d
2017-06-13 22:39:43 -05:00
Pete Birley
170ad26a60 Cinder: Fix indentation of init containers.
Change-Id: Id677c80a25eb52fecb213f473e42ffa56332d2da
2017-06-13 15:54:20 -05:00
Jenkins
a094df8a31 Merge "Remove temporary folder copying logic" 2017-06-13 20:34:12 +00:00
Tin Lam
39d12c6d77 Remove temporary folder copying logic
This patch set removes the need to create a temporary directory
brought up in patch set [0].

[0] https://review.openstack.org/#/c/472451/

Change-Id: I57448d9722a33bb63fca5576d19b61f3015828ec
2017-06-12 23:02:12 -05:00
mattmceuen
cf4c6d50de Clarified a couple documentation points.
Conditionals:  since the developer flag is no longer used by the
glance chart, it's no longer a good example.  However, we want to
keep the flag around for future use if needed.  So, replaced with
a foo/bar example.

gen-oslo-openstack-helm README:  it referred to "this directory",
which doesn't make sense when the README is sourced into the
overall ops guide.  Specified the directory explicitly.

Change-Id: I2ba02bd3efd87e58fcb701c8b7c2bb6af05994ba
2017-06-12 21:38:49 -05:00
Jenkins
0a8dfeb517 Merge "Checks: Run the helm template plugin against charts" 2017-06-12 22:44:05 +00:00
Jenkins
38e0bd042a Merge "Neutron: Move ovs-agent setup to init container" 2017-06-12 22:24:37 +00:00
Jenkins
98bb2e0a7e Merge "Keystone Bootstrapping" 2017-06-12 21:11:49 +00:00
Pete Birley
af493beb04 Keystone Bootstrapping
This PS adds a bootstrapping option to the Keystone Chart.

Partially implements: blueprint service-bootstrap

See: https://blueprints.launchpad.net/openstack-helm/+spec/service-bootstrap

Change-Id: I01432967d2ad71249e90d4beda3380125b210a7f
2017-06-12 15:11:41 -05: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
Jenkins
7a87aded1d Merge "Nova: remove requirement for NET_ADMIN capability for Nova Metadata" 2017-06-12 17:05:36 +00:00
Jenkins
c37aaaa857 Merge "Image-Agnostic: Keystone" 2017-06-12 17:05:15 +00:00
Jenkins
f51854d207 Merge "Configmaps: set default mode of files in *-bin configmaps to +x" 2017-06-12 15:50:24 +00:00
Jenkins
b5dcfcef59 Merge "Optimize the link address" 2017-06-12 15:43:52 +00:00
Jenkins
2903a7c216 Merge "Updating docs to be Calico 2.1 for consistency" 2017-06-12 15:38:31 +00:00
Jenkins
3b6dec1364 Merge "Adding pod disruption budget for mariadb" 2017-06-12 13:52:32 +00: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
Pete Birley
d8e4890772 Nova: remove requirement for NET_ADMIN capability for Nova Metadata
This PS removes the requirement for the Nova Metadata API to run with
NET_ADMIN capabilities, and also enables lightwight images without
iptables present to be used.

This has no effect on operation if Neutron is used for networking.

Change-Id: Ie69c74240ca7fd054e3c897c2bf8ebc8ec5c1377
2017-06-12 04:49:13 +00:00
Van Hung Pham
d6a7f743d1 Optimize the link address
Update link address to ensure safety and preciseness

Change-Id: I25d47bfc3869802400f59381a242ac7f170f69e9
2017-06-12 04:38:50 +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
9b8f6aef88 Image-Agnostic: Keystone
This PS helps improve the Image agnosticism of the Keystone chart.

This is achieved by removing the presumed locations of the Keystone
WSGI scripts, enabling support for images that either do not use a venv
or the same venv location that Kolla uses.

Change-Id: Id04f5e485d6a421b6ac7464cbb14f0e3819b778d
2017-06-11 23:03:39 +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