780 Commits

Author SHA1 Message Date
Zuul
7d228ef280 Merge "Mariadb: fix error logs - Invalid table or database name lost+found" 2018-10-02 04:16:06 +00:00
Zuul
b800169a17 Merge "MariaDB: init server accounts before serving externally" 2018-10-01 17:55:16 +00:00
Jawon Choo
35e633959c Mariadb: fix error logs - Invalid table or database name lost+found
This PS fixes the error logs in mariadb-server.
Each partition has its own lost+found directory and mysql consider
the directory as a database.

Change-Id: Ibce0dddb5065fd56fa841ebcb91c7c9f15de6c62
Closes-Bug: #1795381
2018-10-01 21:34:44 +09:00
Steve Wilkerson
fa09705867 Fluentbit: Add kernel, kubelet, and dockerd logs
This adds inputs for kernel logs on the host, as well as dockerd
and kubelet logs via the systemd plugin. This also adds a filter
for adding the hostname to the kernel log events, for renaming the
fields for systemd logs as kibana can not visualize fields that
begin with an underscore, and adds elasticsearch indexes for both
kernel and systemd logs

Change-Id: I026470dd45a971047f1e5bd1cd49bd0889589d12
2018-10-01 11:56:58 +00:00
Steve Wilkerson
4c532bb8f3 Prometheus: Remove Kubernetes recording rules
This removes the recording rules for Kubernetes, as these rules
add signficant overhead to the total evaluation time for rules.
Any recording rules should be handled as operator overrides and
not set by default, in order to prevent undesired overhead time
for rules that aren't currently used by the charts

Change-Id: I183d32e62619b71b5020cd3733e4707d7c9ad11b
2018-10-01 11:56:34 +00:00
Chris Wedgwood
4e1d7b67f9 [MariaDB] Allow for stable upgrades
Using a random bootstrap filename means any upgrade (even without
changes) causes MariaDB to churn and restart.

Change-Id: Ieaf577e413f8d672d24bf42c90b6110b52e542f0
2018-09-29 17:07:04 +00:00
Zuul
1371be6689 Merge "Helm: Update helm to 2.11.0" 2018-09-27 15:35:52 +00:00
Steve Wilkerson
ff116a26fd Kibana: Add session affinity to ingress
This adds session affinity to Kibana's ingress. This allows for
the use of cookies for Kibana's session affinity

Change-Id: I0863493ba7051a08350971da9c6e4d59cc2d8fa5
2018-09-25 15:38:25 -05:00
sai battina
e155c92f14 Helm: Update helm to 2.11.0
This helps to fix a bug when adding stable repos

Change-Id: I3eb28a037f7eb22016a29bc36e4a791a5bfda852
2018-09-25 18:14:49 +00:00
Tin Lam
515b6697d3 Add apparmor annotation function
This patch set adds helm toolkit functions to annotate apparmor profile
in the container's metadata section.

Change-Id: Ib0ca04e8b8527194778afb8053046797abdfdb98
Signed-off-by: Tin Lam <tin@irrational.io>
2018-09-24 03:20:50 +00:00
Zuul
bc1afb87d7 Merge "Helm-Toolkit: Add snippet for kubernetes tolerations" 2018-09-23 01:13:57 +00:00
Zuul
f93a71d82b Merge "Ceph: Add configmap hash as annotation" 2018-09-22 23:29:28 +00:00
Pete Birley
6b2d66354d MariaDB: init server accounts before serving externally
This PS updates the server init process to init desired accounts
before serving external requests.

Change-Id: Ida9e3b93ed332a621e0c2fcb39a9870886c9ffe7
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-22 17:23:45 +00:00
Zuul
551be3f0dc Merge "Helm-Toolkit: Document kubernetes entrypoint macros" 2018-09-22 15:38:40 +00:00
Chinasubbareddy M
2f2cb7d567 Ceph: Add configmap hash as annotation
adding configmap  hash to following ds/deployments to trigger
rolling updates if there are any update for configmap

- ceph-mon
- ceph-mds
- ceph-mgr
- ceph-rgw

Change-Id: I4173cb12c18640c9b1a0e5a698d48f4735e250fb
2018-09-22 07:26:52 +00:00
Zuul
4cd00f3ac5 Merge "Monitor postgresql, Openstack virt resources, api, logs, pod and nodes status" 2018-09-21 12:12:00 +00:00
Zuul
87460594dd Merge "Helm-Toolkit: correct macro template filenames" 2018-09-21 11:20:15 +00:00
Pete Birley
b16b2707d8 Helm-Toolkit: Document kubernetes entrypoint macros
This PS adds documentation for the kubernetes entrypoint macros.

Change-Id: I1bec4d7a58878742462de624ebe0b77579759c09
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-21 08:23:22 +00:00
rakesh-patnaik
db0d653b4d Monitor postgresql, Openstack virt resources, api, logs, pod and nodes status
Fixing opebstack API monitors

Adding additional neutron services monitors
Adding new Pod CrashLoopBaackOff status check
Adding new Host readiness check

Updated the nagios image reference(https://review.gerrithub.io/c/att-comdev/nagios/+/420590 - Pending)

This updated image provides a mechanism for querying Elasticsearch
with the goal of triggering alerts based on specified applications
and log levels.

Finally, this moves the endpoints resulting from the authenticated
endpoint lookups required for Nagios to the nagios secret instead
of handled via plain text environment variables

Change-Id: I517d8e6e6e8fa1d359382be8a131a8e45bf243e2
2018-09-21 08:22:13 +00:00
Zuul
f2271a60a6 Merge "Fluent-logging: Update fluentd configuration" 2018-09-20 23:39:25 +00:00
Zuul
d8b3ef5009 Merge "Update k8s-keystone-webhook image" 2018-09-20 23:39:24 +00:00
Zuul
ebc9b175f3 Merge "Elasticsearch S3 repo" 2018-09-20 23:39:23 +00:00
Zuul
9b6a13b577 Merge "HTK: Add s3 user/bucket scripts, snippets, manifests" 2018-09-20 23:17:55 +00:00
Zuul
c10f9ce59e Merge "Modify Ceph default settings for improved performance" 2018-09-20 22:44:11 +00:00
Zuul
4f4e9c5838 Merge "ceph-rgw: stop storage init job on each run" 2018-09-20 16:39:04 +00:00
Tin Lam
93f85d8745 Update k8s-keystone-webhook image
This patch set updates the default docker image to use the official
k8scloudprovider image for the kubernetes-keystone-webhook.

Change-Id: Ib9cc3efaf63569e20d07fa9b3ad9f45b49ab7cc9
Signed-off-by: Tin Lam <tin@irrational.io>
2018-09-20 06:42:00 +00:00
Steve Wilkerson
a084769410 Elasticsearch S3 repo
This ps adds the ability to use the ceph radosgw s3 api for
snapshot repositories. It removes the ability to use a RWM pvc, as
the radosgw solution provides a more robust approach for storing
index snapshots

Change-Id: Ie56ac41ccdc61bfadcac52b400cceb35403e9fae
2018-09-19 15:53:21 -05:00
Steve Wilkerson
a3f444299e HTK: Add s3 user/bucket scripts, snippets, manifests
This proposes adding the following:

Snippets for the environment variables for the s3 admin user and
service users for using rgw's s3 api

Scripts for creating s3 users for use by a particular service and
for creating and linking buckets to those users

Manifest templates for the jobs for creating the s3 users and for
creating and linking the buckets to those users

Change-Id: Ibd5ed0aac49d172c56faffdacd44bdd487978570
2018-09-19 15:52:36 -05:00
Zuul
00b4b9021d Merge "Fix python-pip install for centOS system" 2018-09-19 19:48:40 +00:00
Chinasubbareddy M
d5fecffdc1 ceph-rgw: stop storage init job on each run
this is to stop executing storage init job if we have ceph
deployment false under values

Change-Id: Iee3f7cf4c98a2c68c27b42011ffe6f07b278c2c4
2018-09-19 14:41:02 -05:00
Steve Wilkerson
ba736d9840 Fluent-logging: Update fluentd configuration
This updates the configuration for fluentd, providing a mechanism
for basic determination of the log level of a logged event via
entries from /var/log/containers. This log level is prepended to
the tag for that event, and also added as a new `level` key in
the resulting event. These two improvements allow for querying
specific log level events via the tag.

This also adds similar functionality to any events captured via
the oslo log fluentd handler/formatter. This allows for
elasticsearch queries akin to `error.openstack.keystone`, which
can be used by nagios or another alerting mechanism to raise
alerts when a particular level event has been captured.

Change-Id: I016ddcfcf7408de7b6511ddf7009e1e6a5f3a1d9
2018-09-19 14:22:27 -05:00
Zuul
e649ad529f Merge "Fluent-logging: Update kubernetes plugin test" 2018-09-19 19:20:33 +00:00
Zuul
333fdc931b Merge "Gate: Trim dev-deploy gates" 2018-09-19 15:52:48 +00:00
Zuul
5500c75e13 Merge "Fluentbit: Update version, config util template" 2018-09-19 15:33:47 +00:00
Steve Wilkerson
3f952be4c1 Fluent-logging: Update kubernetes plugin test
This updates the kubernetes plugin test for fluent-logging to
search across all indices instead of the default logstash-* index
to account for custom indexes created for the events tagged with
the kubernetes plugin.

This also makes the search pattern for the tag more flexible to
account for any arbitrary number of prefixes and/or suffixes
added to the 'kube' tag as a result of any processing done in
fluentd.

Change-Id: Ib1a431cc8b2ca2cc143a8c8337b87f54f56d1029
2018-09-19 08:20:18 -05:00
Zuul
a98b14d541 Merge "Elasticsearch: Add ingress, remove node ports" 2018-09-19 02:57:09 +00:00
Zuul
a3c2571d3c Merge "Revert "Make it possible to secure pool during deployment"" 2018-09-19 02:57:08 +00:00
Pete Birley
c80e65cadb Revert "Make it possible to secure pool during deployment"
This reverts commit 14247c334b6fe8a20caba47efba99ef24298106f.

As it blocks the Airship projects genesis process.

Change-Id: I3b13f4e8f397ee3bc59f85e9a38d8581306deb2d
2018-09-18 21:01:56 +00:00
Zuul
1f4f1de7d7 Merge "Gate/Dev: Fix perms for upstream-resolv.conf" 2018-09-18 21:00:21 +00:00
Pete Birley
101f58ae4b Gate/Dev: Fix perms for upstream-resolv.conf
This PS fixes the permissions for the upstream resolv.conf used by the
dns redirector.

Change-Id: Ieef113a6e7b72767318516c63cf48dcac202cf4d
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-18 11:55:20 -05:00
Steve Wilkerson
70afe83c16 Helm-Toolkit: Add snippet for kubernetes tolerations
This adds a helm-toolkit template for injecting pod tolerations
via values, similar to how container resources are handled. This
allows for custom definition of tolerations instead of defining
tolerations for pods directly into the pod templates

Change-Id: Ice520fcece425b14ae890ca5980fec9d7428a34d
2018-09-18 13:10:54 +00:00
Zuul
1c6a33d979 Merge "Prometheus: Prune large unused time series metrics" 2018-09-18 05:30:39 +00:00
Zuul
ef37b095b4 Merge "Helm-Toolkit: Add doc comments for keystone env snippets" 2018-09-17 17:11:29 +00:00
Zuul
5ec85a5d70 Merge "Prometheus: Fix Prometheus endpoints in apache config" 2018-09-17 15:19:03 +00:00
Steve Wilkerson
bc6e22f392 Gate: Trim dev-deploy gates
This attempts to trim down the dev-deploy gates until further
gate refactoring is complete. This disables the elasticsearch and
fluentd exporters and removes the openstack exporter from the
single node deployment gates to ease the load on nodepool vms

Change-Id: If211511e8f52fe39d293966abbd7e62b45b65970
2018-09-17 13:56:51 +00:00
Zuul
d208d55a46 Merge "Gate: only restart network manager if required" 2018-09-17 13:49:01 +00:00
Steve Wilkerson
8e2d3a5b4c Fluentbit: Update version, config util template
This updates fluentbit to version v0.14.2, which includes
the Modify plugin (required for trimming underscores from
systemd log fields, necessary for kibana visualization). This also
updates the fluentbit configuration util to allow for renaming
multiple entries in an event. This is required because the values
definition for a configuration section is defined as a map, and
does not supported multiple Rename directives

Change-Id: I05172e8236282a438587887f4a806cf35c4b6c68
2018-09-17 07:45:45 -05:00
Zuul
0f2dace4e8 Merge "Gate/Dev: Allow custom upstream dns servers to be preserved" 2018-09-15 16:59:22 +00:00
Pete Birley
620d374730 Gate: only restart network manager if required
We only need to restart network manager if disabling dns management.

Change-Id: Idfdf68678a68c2808527de4226ff91e9ea5f8d67
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-15 14:39:17 +00:00
Pete Birley
79d11e4044 Gate/Dev: Allow custom upstream dns servers to be preserved
This PS updates the dns redirect pod deployment to support a persistant
set of customised upstream nameservers to be used.

Change-Id: Ib163f8ed9ceadca69b56cd5f146ffd194d98cdc3
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-15 13:13:29 +00:00