759 Commits

Author SHA1 Message Date
Steve Wilkerson
bfa237d347 Charts: Update helm test pod templates
This updates the helm test pod templates in the charts with helm
tests defined. This change includes the addition of:

- Generate test pod cluster roles and role bindings
- Generate service accounts for test pods
- Add node selectors to the test pods
- Add service accounts to the test pods
- Addition of entrypoint container to the test pods
- Indentation fix for rabbitmq test pod template

Change-Id: I9a0dd8a1a87bfe5eaf1362e92b37bc004f9c2cdb
2018-10-09 21:00:00 +00:00
Zuul
b7a459ae2a Merge "Elasticsearch: Add node selector to Curator cron job" 2018-10-09 20:26:28 +00:00
Steve Wilkerson
30f339a080 Elasticsearch: Add node selector to Curator cron job
This adds the node selector key and value configuration to the
Curator cron job for Elasticsearch, as it was previously omitted

Change-Id: Id702007fa827a1e1f90dee9b2a855e4197f4567c
2018-10-09 11:01:41 -05:00
Zuul
c685327406 Merge "Gate: refactor gate script running" 2018-10-09 16:00:28 +00:00
Zuul
bc7593b54c Merge "VBMC: Move and update vbmc image to osh-infra" 2018-10-09 15:49:37 +00:00
Zuul
2fa40d7603 Merge "[Calico] Update to v3.2.3" 2018-10-09 13:59:22 +00:00
Tin Lam
1c92644007 Fix indentation
Fix an indentation in gotpl where the things are indented 9 spaces.

Change-Id: Ifa1fd1bb16a262b6f17287f6f9b3746db30486ba
Signed-off-by: Tin Lam <tin@irrational.io>
2018-10-08 21:11:18 -05:00
Pete Birley
7f4a37440f VBMC: Move and update vbmc image to osh-infra
This PS updates and moves the vmbc image to osh infra.

Change-Id: I9f8d21df8974d1484d9f087ee296fede2a87e545
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-08 09:38:24 -05:00
Pete Birley
c7f7091739 Gate: refactor gate script running
This is the 1st in a series of commits to reduce the complexity
of the gate playbooks, follow on work will target gates more
specificly to both reduce infra load and improve coverage.

This PS also removes the unused ldap-deploy playbook.

Change-Id: Ie4ddabe86d71008611c6cc5015a927e32c54fa35
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-08 04:51:59 +00:00
Zuul
7c839c82b2 Merge "Gate: Move to K8s 1.10.8" 2018-10-06 06:30:08 +00:00
Chris Wedgwood
1e82ab4c45 [Calico] Update to v3.2.3
Update everything to v3.2.3 consistently.

Change-Id: I4728faeec1572e6d4921f5118a9baee1cd7422ed
2018-10-06 05:41:29 +00:00
Zuul
8d9c892c69 Merge "fix tox python3 overrides" 2018-10-06 05:16:18 +00:00
Zuul
77393ab143 Merge "Libvirt: Fix image" 2018-10-06 00:58:41 +00:00
Pete Birley
f8880d27ad Libvirt: Fix image
This PS fixes the libvirt image, buy removing the ubuntu-cloud
archive repo and pinning to a good version.

Change-Id: I5097d8893b92d020f7a5a1cb5925dec0b01d4da2
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 15:41:12 -05:00
Zuul
b4c49db89e Merge "Disable Ceph RADOS Gateway dynamic bucket resharding. Problem was discovered regarding issues being caused by RGW dynamic bucket resharding. It is at this time recommended to disable this feature." 2018-10-05 20:32:58 +00:00
Jean-Charles Lopez
05391252f8 Disable Ceph RADOS Gateway dynamic bucket resharding.
Problem was discovered regarding issues being caused by RGW dynamic
bucket resharding. It is at this time recommended to disable this feature.

Change-Id: Id524415f4ed08ee5374f7fd3b53f6e36c3ab084e
2018-10-05 16:20:10 +00:00
Doug Hellmann
e3641940dc fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I2ced79bfdfb8dd17f966fdf985e06b2f835cfa13
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-05 16:19:35 +00:00
Gupta, Sangeet (sg774j)
a34a7d8e50 Adding Falco
This commit adds falco daemonset of the node for behavioral activity
monitor designed to detect anomalous activity.

Change-Id: I783a2acc03592471c81a8a54e1dc0df140b34a42
2018-10-05 16:18:51 +00:00
Pete Birley
19376ee9e6 Gate: Move to K8s 1.10.8
This PS moves to use k8s 1.10.8, which includes a couple of fixes
for PVC mounts.

* https://github.com/kubernetes/kubernetes/pull/66863

Change-Id: Ica30950a8200f5755897b51fd2b4d24c69a10e61
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 07:44:42 -05:00
Chris Wedgwood
26e1b9cde6 [Calico] Update to Calico v3.2
Change-Id: I2214fea8d8c1563b08c4015c9e91a29cf071af5a
2018-10-05 01:49:42 +00:00
Pete Birley
46935734af Gate: remove unused pull images role and playbook
This PS removes the unused pull images role and playbook.

Change-Id: Ic26035c3f58efb6269fd58e570601cccfdd84949
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 01:43:40 +00:00
Pete Birley
feeeed4d5d Gate: Remove unused helm chart deployment role and playbook
This PS removes the unused helm chart deployment role and playbook.

Change-Id: I01c58a628589ec35af2557c8cc93ea47fe084089
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 01:43:33 +00:00
Pete Birley
16a6f7af8f Gate: Tolerate failures in log collection tasks
This PS updates the gate tasks to tollerate failures in the post
run log collection tasks.

Change-Id: I8b982112955f4112e8107a7eae35680aa68c87ab
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-05 01:42:56 +00:00
Zuul
98f310eee4 Merge "Gate: Update multinode jobs to five nodes" 2018-10-04 16:00:32 +00:00
Steve Wilkerson
18346cad8a Gate: Update multinode jobs to five nodes
This updates the multinode jobs to the five node jobs to attempt
to address resource issues encountered in the multinode jobs

Change-Id: If96a33099997aae2c7914a98332380ea32f2a3fe
2018-10-03 14:35:07 -05:00
Pete Birley
25985f7b43 Libvirt: escape kube cgroups and pid reaper
This PS moves to run the Libvirt process as a transient unit
on the host, free fom k8s controlled cgroups. In addition it
also uses the cloud archive provided libvirt/qemu packages.

Change-Id: Idfe9ae6f072acd86f877df0c3dfe3db4c20902d6
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-03 19:11:00 +00:00
Pete Birley
500698398d Gate: move centos to experimental untill we have optimised gates
This PS moves the centos job to experimental untill we have
done some optimisation on the gates

Change-Id: I3bfa8be9ac86025199060ec1ad9e7485bff30901
Signed-off-by: Pete Birley <pete@port.direct>
2018-10-03 12:33:35 -05:00
Chris Wedgwood
45275ffefd [Calico] Realign Calico v2 chart for upcoming v3.2 upgrade
This PS realigns Calico v2 with the pending Calico v3.2 chart in order
to minimize differences.  It's mostly refactoring with a few small fixes.

Change-Id: Ie5157b4ae324b6eb4c8ccb5cc07d8b9bc5a83ebd
2018-10-03 03:38:25 +00:00
Zuul
681dee71b7 Merge "Fluentbit: Add kernel, kubelet, and dockerd logs" 2018-10-02 17:17:18 +00:00
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