440 Commits

Author SHA1 Message Date
Pete Birley
c48e47b47a Nagios: update functions to live in correct locations
This PS simply moves functions within the chart to their correct location.

Change-Id: Ia3d693713903d226a864dcdcf9884dee67f07d2b
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-11 22:14:44 -05:00
Pete Birley
3470b17fc8 Fluent-Logging: update functions to live in correct locations
This PS simply moves functions within the chart to their correct location.

Change-Id: Ia5ac02a25a76ff759160cc352404b71b4208b216
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-11 22:10:40 -05:00
Pete Birley
8c7dcd3a91 Prometheus: update function to live in correct location
This PS simply moved the prometheus command line flag function
to its correct location.

Change-Id: I1eef52a645b4a466d2c2ac773d9e9d512ef313fd
2018-06-11 22:07:05 -05:00
Zuul
c430c83f07 Merge "Elasticsearch: Update tests to clean up test data and index" 2018-06-10 17:39:42 +00:00
Steve Wilkerson
f6fe167278 Elasticsearch: Update tests to clean up test data and index
This ps adds a function for cleaning up the test data used to
verify Elasticsearch is functioning properly. It removes the test
index created and populated with test data to ensure the resulting
elasticsearch cluster is clean and does not contain random data

Change-Id: Ibdeb90e3f3b6307bf16c68469556bef256ed2d78
2018-06-10 12:56:57 +00:00
Steve Wilkerson
be59166bc6 Node Exporter: Remove megacli collector due to deprecation
This removes the megacli collector from the node exporter, as this
collector is no longer supported and supplied as part of the node
exporter image used.

Change-Id: Ic9d7bc906435227337aed7a40f4c25bbb16fd3ba
2018-06-10 12:55:54 +00:00
Zuul
5b012e313f Merge "Kubernetes: Bump version to 1.10.4" 2018-06-10 06:58:36 +00:00
Pete Birley
f64ec4645a Bootstrap-Jobs: Use internal endpoint for bootstrapping
This PS moves to use the internal keystone endpoint for boostrapping
jobs, to allow osh to be deployed when the support infrastructure may
not have been fully configured (eg - dns for public endpoints)

Change-Id: I5a9eb07b88bdc0ffbcda371bdd4c03d4da4ed78d
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-10 02:59:23 +00:00
Pete Birley
b6ee0e3da3 Kubernetes: Bump version to 1.10.4
This PS bumps the k8s version to v1.10.4

Change-Id: I1f07653a6f26a4796f30ce1f0df9937fb32c2b43
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-10 02:59:09 +00:00
Pete Birley
9e96b0fae2 Gate: fix waiting for nodes following zuul ansible update
For some reason it appears that the task to wait for nodes to come up
requires privilege escalation to work. I suspect this is due to
interation between ansible 2.5.4 and zuuls log streamer, but am not
sure. In the meantime this PS unblocks the gates.

Change-Id: I705f2ddf3facfe56838f606f88cfb15b822d18a5
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-10 02:43:55 +00:00
Zuul
5d855b835f Merge "Kube: Update to kubernetes 1.10.3" 2018-06-06 17:24:58 +00:00
Zuul
b88e34ada6 Merge "Fluent-logging: Support creation of arbitrary number of templates" 2018-06-05 15:29:38 +00:00
Steve Wilkerson
4b8f46abee Fluent-logging: Support creation of arbitrary number of templates
This updates the fluent-logging chart to support the creation of
an arbitrary number of templates for elasticsearch. This allows
for the definition of multiple index mappings driven via the
chart's values. This provides flexibility in determining specific
structures for indexes that may differ between log types.

This also moves to define these mappings via json instead of XML.
As gotpl can convert yaml directly to json, and elasticsearch can
ingest json directly for index creation, we no longer need an XML
helper function to generate the required configuration. This helps
reduce the number of helper functions we need to maintain

Change-Id: I3c85fb9a1e700eb1592d96f83e632172d0eb2681
2018-06-04 12:46:34 -05:00
Zuul
4eb7b406e3 Merge "Add nagios cgi.cfg file control to values.yaml" 2018-06-04 15:03:42 +00:00
Pete Birley
39d93dbe23 Kube: Update to kubernetes 1.10.3
This PS updates the version of kubernetes deployed in the gates/dev
env to 1.10.3.

Change-Id: I4916a669ab0cb58760c0497b2264d4a7d0a9bffe
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-04 09:35:26 -05:00
Zuul
ea89a3ef06 Merge "Update policy" 2018-06-02 00:07:11 +00:00
Zuul
f9c186fc55 Merge "Change the type name on ES for fluent-logging" 2018-06-01 19:16:50 +00:00
Tin Lam
40044a4658 Make k8s-webhook job gating
Now the gate is fixed by patches [0] and [1], this patch set reverts
the change that made openstack-helm-infra-kubernetes-keystone-auth
job non-gating to avoid a circular dependency. The job is once again
gating.

[0] https://review.openstack.org/#/c/571094/
[1] https://review.openstack.org/#/c/571093/

Change-Id: I34285e9e6ffa58964cd130451b25f93fee16d427
Signed-off-by: Tin Lam <tin@irrational.io>
2018-05-30 15:30:23 -05:00
Tin Lam
cb1c376ad2 Fix pip package version
The python "cmd2" package installs version 0.9+ on Python 2.7, which only
support Python 3.4+. This causes a dependency error in the gate due to
issue outlined in [0].  We will pre-install a capped version of "cmd2"
that would work with Python 2.7.

This patch set also temporarily make the keystone webhook non-voting as
this bug is causing a circular dependencies with patch [1]. Once this is
fixed, a new patch will be submitted to make this voting again.

[0] https://github.com/python-cmd2/cmd2/issues/421
[1] https://review.openstack.org/#/c/571093/

Change-Id: I34cbde65b74efc2805bd7785f84878783d2badbf
2018-05-30 01:50:22 -05:00
Tin Lam
91fa516951 Update policy
This patch set updates the k8s-keystone-auth policy.

Change-Id: Ia08d393f363ecb49007dc4d4801c61e569b89981
Signed-off-by: Tin Lam <tin@irrational.io>
2018-05-25 19:46:42 -05:00
melissaml
19f92a9393 fix a typo in documentation
Change-Id: I484b241f031cc0358745df8cb15b5c3de9b1548e
2018-05-25 06:48:54 +08:00
Zuul
c037e88071 Merge "Charts: Tidy up openstack-helm-infra charts" 2018-05-24 19:41:14 +00:00
Steve Wilkerson
c7d0317768 Add nagios cgi.cfg file control to values.yaml
This adds the ability to drive the CGI configuration for
nagios via values, similar to the other nagios configuration
entities

Change-Id: I8e9de21d141e0a87cdda11c4a778abec210277f3
2018-05-24 11:24:37 -07:00
Steve Wilkerson
de9c46bcfa Charts: Tidy up openstack-helm-infra charts
This moves the charts in openstack-helm-infra closer towards a
standard structure. It addresses multiple deviations, including:
missing resources for init containers, incorrect indents for
disabled resources in some charts, incorrect indents for volumes
and volumemounts added via values, missing resources for some
helm test templates, missing helm-toolkit image functions, and
moving the resource template declarations to be under the image
template declarations

Change-Id: I4834a5d476ef7fc69c5583caacc0229050f20a76
2018-05-21 12:58:22 -07:00
Zuul
976d7ba35c Merge "Grafana: Add Elasticsearch dashboard" 2018-05-21 19:17:41 +00:00
Zuul
1cc4cec5fe Merge "Prometheus alerts, nagios defn - rabbitmq,mariadb,ES" 2018-05-21 18:40:53 +00:00
Zuul
4384d0d563 Merge "Nagios notificiation on alerts and ceph monitoring" 2018-05-21 18:33:34 +00:00
Zuul
704042ec1d Merge "Grafana: Add Prometheus dashboard" 2018-05-21 17:33:29 +00:00
Rakesh Patnaik
52c980b10c Prometheus alerts, nagios defn - rabbitmq,mariadb,ES
Change-Id: I71bc9f42aebc268ad2383a5a36a3405fc47c6c9e
2018-05-20 15:16:57 +00:00
Rakesh Patnaik
69cd66b7c9 Nagios notificiation on alerts and ceph monitoring
Change-Id: I782f54b5ad8159e7a4375d336a42524f380e65d2
2018-05-20 15:16:42 +00:00
Zuul
d57d3344a5 Merge "Update helm to v2.9.1" 2018-05-19 18:03:32 +00:00
Zuul
3dc97675ab Merge "Ldap: add image template function and basic tidy of template" 2018-05-19 18:03:32 +00:00
Zuul
1dfdb3594f Merge "Ldap: Drive scheme via endpoints section" 2018-05-19 18:01:27 +00:00
Zuul
dcf5623526 Merge "Gate: make dev deploy and keystone auth gate voting" 2018-05-19 16:34:34 +00:00
Tin Lam
b80d9146d1 Update helm to v2.9.1
This patchset updates helm version to v2.9.1.

Change-Id: I438142cd9649749933fbe7153d149e7d0b0a5537
Signed-off-by: Tin Lam <tin@irrational.io>
2018-05-19 14:56:20 +00:00
Zuul
3f6673919f Merge "Revert "Helm-Toolkit: Use image template for keystone and db management jobs"" 2018-05-19 12:17:48 +00:00
Pete Birley
9044958328 Gate: make dev deploy and keystone auth gate voting
This PS makes the dev-deploy and keystone gate voting, further
patches will build on this to provide complete helm-toolkit coverage

Change-Id: Ia8edc8c2eedea36fb8b5f0e5034e4e6da888d417
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-18 22:39:29 -07:00
Pete Birley
c24c7e42f3 Ldap: Drive scheme via endpoints section
This PS updates the ldap scheme used to be driven by the endpoints
section.

Change-Id: I87e12d12f9d0806174a94b5b6dacb6360f4e2410
2018-05-19 05:32:05 +00:00
Pete Birley
c2558ba9ab Ldap: add image template function and basic tidy of template
This PS adds the image template function, and also performs basic
tiding of the template.

Change-Id: If8f149e9e73a2e8e761c471af0a203c2dae27ff8
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-19 05:31:54 +00:00
Pete Birley
ffc76ea133 Revert "Helm-Toolkit: Use image template for keystone and db management jobs"
This reverts commit 21b02d69d64fb73a583063e5b4da6d072fbb7f0f.

Change-Id: I2f2012590d81ffcb159d49d8a76eedd4441744cd
2018-05-19 05:22:46 +00:00
Zuul
aa40400a53 Merge "Keystone-Webhook: fix gate boolean" 2018-05-19 01:35:11 +00:00
Pete Birley
ec58d6e133 Keystone-Webhook: fix gate boolean
This PS fixes the conditional for the keystone webhook deployment
in the gate.

Change-Id: I7a2c00d467df98903578123a089a934a8f68cd01
2018-05-18 16:39:56 -05:00
Steve Wilkerson
b07f58379f Grafana: Add Elasticsearch dashboard
This adds a grafana dashboard for Elasticsearch, providing insight
into the overall cluster health

Change-Id: I5e59a5a5c491b4416ba4505205910d6c6babbff8
2018-05-18 15:47:29 -05:00
Steve Wilkerson
9c90f7d2a9 Grafana: Add Prometheus dashboard
This adds a dashboard for displaying prometheus specific metrics,
providing insight into the performance of prometheus as well as
metrics related to time series, rule evaluations, scrape delays,
and query latency

Change-Id: I2c23c6fc9d0a00236cd38c63d29207e04a368f5f
2018-05-18 15:24:42 -05:00
Pete Birley
21b02d69d6 Helm-Toolkit: Use image template for keystone and db management jobs
This PS moves to use the image template for keystone and db management jobs

Change-Id: Idf3e079714463fe94245733df0bf34d6427505ae
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-18 13:40:32 -05:00
Zuul
9f921f23fb Merge "KubeADM: Keystone Kubernetes Webhook" 2018-05-18 14:45:42 +00:00
Zuul
f4d0005fdd Merge "Gate: Fix log collection in zuul" 2018-05-18 14:36:25 +00:00
Zuul
c1b7d0cedb Merge "Add kubernetes-keystone-webhook chart" 2018-05-18 14:36:01 +00:00
Pete Birley
39e1f7f9f3 KubeADM: Keystone Kubernetes Webhook
This PS adds the ability to deploy the Keystone Kubernetes Webhook
chart via kubeadm-aio

Change-Id: I18b0477a775de942f940e9c0984559089dca1cdb
Co-Authored-By: Tin Lam <tin@irrational.io>
Co-Authored-By: Gage Hugo <gagehugo@gmail.com>
Signed-off-by: Pete Birley <pete@port.direct>
2018-05-18 00:53:58 -05:00
Pete Birley
58f184d900 Gate: Fix log collection in zuul
This PS fixes the log collection in zuul.

Change-Id: I203206d57a3c3b44aa889e3d8b5bd67d5571e672
2018-05-18 02:49:20 +00:00