473 Commits

Author SHA1 Message Date
Pete Birley
ce21f6e96d Gate: Add support for testing fqdn over-rides in zuul
This PS adds support for testing fqdn over-rides in zuul gates.
When enabled it will direct requests to a configurable domain to
the default ip of the primary node.

Change-Id: I3d9a4a0bf06532caf0f544d44027493622f4ae5b
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-25 02:42:09 +00:00
Tin Lam
bb7842f39f Kubernetes: Bump version to 1.10.5
Upgrades the kubernetes version to v1.10.5 from v1.10.4.

Change-Id: Ic2a1f73c935136135e587945180e67ac928f8178
Signed-off-by: Tin Lam <tin@irrational.io>
2018-06-22 17:00:12 +00:00
Sangeet Gupta
42f475133d kubernetes-keystone-webook: add missing annotation
Fixes issue of not being able to upgrade webhook

Change-Id: Ic258e3d2fc30df2be5119e3f8ec3e650086c7216
2018-06-21 07:38:31 +00:00
Pete Birley
04f648a3a3 Revert "Helm-toolkit: Updates manifests to support openstack logging.conf"
This reverts commit ad5d4259c45940bf4ddd150aad37c5b8d1aabba6.

We need to revert this - as until the charts are updated OSH is broken.

Change-Id: I58db4c0bf7bdccd8ba7cd1e63af00ff1f01c343a
2018-06-21 04:08:28 +00:00
Steve Wilkerson
ad5d4259c4 Helm-toolkit: Updates manifests to support openstack logging.conf
This modifies the manifest files to include volume mounts for
the logging configuration file, which is required for the jobs
in the charts to function

This also makes the keystone-webhook job nonvting, as the htk
changes will break the osh-charts required for the keystone
webhook job.  The change to add the required fixes can be found
here: https://review.openstack.org/#/c/576001/.

Once that change is merged, we can move the keystone-webhook job
back to a voting job

Change-Id: I6ae59e2736624fff5b072e89b6043b23bc8b7f5d
2018-06-20 19:10:30 +00:00
Zuul
71edb4acb3 Merge "Remove the duplicated word" 2018-06-20 05:17:25 +00:00
Zuul
ccc0da5509 Merge "Kube-State-Metrics: Change default image used" 2018-06-19 17:07:43 +00:00
Zuul
b203933351 Merge "Keystone: use internal interface by default" 2018-06-19 16:00:07 +00:00
Pete Birley
654e78733d Keystone: use internal interface by default
This PS updates the openrc functions to use the internal interface by
default for keystone actions performed within the cluster.

Change-Id: I491618d9fd473917e2034a315f292db746f0d7cc
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-19 08:34:34 -05:00
Pete Birley
6bf37d7f84 Rally-Tests: allow os-interface to be defined
This PS updates the rally test runner script to allow the keystone
endpoint interface to be defined.

Change-Id: I88d7446c6bbb85090929be1728a308886cb41a74
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-19 08:08:09 -05:00
Pete Birley
abb00e97fd Gotpl: remove quote and trunc to suppress output
This PS removes the use of the `quote and truncate` approach to
suppress output from gotpl actions in templates and replaces it
with the recommended practice of defining `$_` instead.

Change-Id: I5fedc3471dcbecef37d2fe1302bf9760b3163467
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-16 16:37:08 -05:00
Pete Birley
655f171a7a Dependency Mixin: permit null value to be resolved
This PS udpate the dependency mixin function to permit cases where
the mixin is disabled by passing a null value as the key to use
for resolution.

Change-Id: Idcade7eebed317852b70392431ed02a352241c9b
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-16 12:53:34 -05:00
Zuul
b0c34c4468 Merge "Node-Exporter: Override default image entrypoint" 2018-06-15 14:16:13 +00:00
Zuul
bae870c4e0 Merge "Fix the task name when remove helm stable repo" 2018-06-14 22:19:59 +00:00
Zuul
59cf366ad4 Merge "Kube-state-metrics: Update resources in clusterrole" 2018-06-14 16:24:35 +00:00
Zuul
1051065c2c Merge "Daemonsets: Use current kubernetes daemonset api version" 2018-06-14 16:24:33 +00:00
Steve Wilkerson
5fe73e6e58 Kube-State-Metrics: Change default image used
This changes the default image for kube-state-metrics to use the
bitnami image instead of the coreos image. This allows us to
override the image entrypoint, as the Alpine based image used
previously did not easily allow us to do so. Adding this also
makes creating a common prometheus exporter deployment template
easier, as it reduces the functional differences between exporter
charts and templates

Change-Id: I6c4aac36f563fcb15f52640bc6f9913b45b4358a
2018-06-14 10:04:03 -05:00
Zuul
175b29f8d6 Merge "Gate: Move Fedora job to experimental" 2018-06-14 00:55:49 +00:00
Zuul
0c9eae2d84 Merge "Nagios: update functions to live in correct locations" 2018-06-14 00:55:48 +00:00
Zuul
dd40d150f5 Merge "Fluent-Logging: update functions to live in correct locations" 2018-06-14 00:55:47 +00:00
Zuul
e718d4d39b Merge "Prometheus: update function to live in correct location" 2018-06-14 00:50:59 +00:00
Pete Birley
fa629cdbbd Daemonsets: Use current kubernetes daemonset api version
This PS moves to use the current ga version for kubernetes daemonsets,
additionally any remaining deployments that were using the
`extensions/v1beta1` have been updated to `apps/v1`.

Story: 2002205
Task: 21735

Change-Id: If9703162dc472af1e6096bf2b9062802fd5ce8ab
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-13 21:53:18 +00:00
Steve Wilkerson
f3b9943452 Gate: Move Fedora job to experimental
This moves the Fedora job in openstack-helm-infra to an
experimental check until the issues with Fedora can be resolved

Change-Id: I5080351e3e12f2759b7fc9d73f361918d19041f6
2018-06-13 12:58:16 -05:00
Steve Wilkerson
c5b0b6a8bf Node-Exporter: Override default image entrypoint
This updates the node-exporter chart to provide the mechanism
for overriding the default image's entrypoint, which brings it in
line with the other charts

Change-Id: Ia8f6a306a6f72d7dba37e5c5736e0f5a11ad1bf0
2018-06-13 11:31:05 -05:00
Zuul
01d196e761 Merge "Use current kubernetes API version" 2018-06-13 13:00:58 +00:00
Zuul
b46beaa3e1 Merge "Remove a check for docker proxy task" 2018-06-13 04:23:06 +00:00
Pete Birley
b6a51fb57f Use current kubernetes API version
This PS moves to use the current API version for kubernetes rcs'
that were previously using `apps/v1beta1`.

Story: 2002205
Task: 21735

Change-Id: Icb4e7aa2392da6867427a58926be2da6f424bd56
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-12 17:35:13 -05:00
Steve Wilkerson
9325f3d870 Kube-state-metrics: Update resources in clusterrole
This updates the resources and the apigroups in the clusterrole
for kube-state-metrics to reflect the additional collectors that
are included in the image we use

Change-Id: I4b1c1779598e6488e4e1c8def18ad767d5d5fab4
2018-06-12 17:26:01 -05:00
Tin Lam
44cb51e3ab Remove a check for docker proxy task
This patch set will allow the docker setting to take effect even if
docker is already installed. The proxy setting will take effect as
long as the proxy variables are in place.

Change-Id: I1df812001d37d094fc3a31bea9e13d1488277a67
Signed-off-by: Tin Lam <tin@irrational.io>
2018-06-12 12:58:12 -05:00
Steve Wilkerson
561780f347 PVC monitoring: Add alerting rules and service check for PVCs
This adds a basic check for capacity utilization for persistent
volume claims. To accomplish this, it adds a basic alerting rule
to prometheus that triggers after a persistent volume's usage
exceeds 80%, and triggers 5 minutes after that state has been
reached.  In addition, there is a service check added to the
nagios chart that will query Prometheus to check if the alarm
for that threshhold is firing for any of the volume claims.

Change-Id: I862c860ac479a715733202f679bb151885d7aa7c
2018-06-12 14:28:24 +00:00
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
Pete Birley
9f1cfbacd8 Gate: dont deploy hwe kernel by default
This PS updates the gate to not deploy the hwe kernel by default
on ubuntu nodes.

Change-Id: I2ea6ba899ad022d0203874693fd5f16dc76535e2
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-12 01:03:31 +00:00
zhulingjie
de8cc7f637 Remove the duplicated word
Change-Id: I4aff89407a59762eb6abef9287932f71daf3e51f
2018-06-10 19:04:54 -04: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
zhulingjie
7ba5e204ac Fix the task name when remove helm stable repo
Change-Id: Ia49c538cfa349a455dc1d85810aa0c3fe72aec59
2018-06-07 15:39:06 -04: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