1463 Commits

Author SHA1 Message Date
Zuul
0aeeafe801 Merge "Rabbit: Bump version to 3.7.13" 2019-03-21 06:34:03 +00:00
Zuul
8f3a397e9a Merge "Fix: update merge to mergeOverwrite" 2019-03-21 03:27:07 +00:00
Zuul
87caa23970 Merge "Elasticsearch: Remove insertion of test data in helm tests" 2019-03-20 19:53:54 +00:00
Zuul
7a73f77957 Merge "Move ceph-mon's checkPGs cron job to ceph-client" 2019-03-20 19:53:52 +00:00
Zuul
5a635ccb06 Merge "Add postgresql to osh-infra-monitoring job" 2019-03-20 19:37:47 +00:00
Zuul
790d421c9a Merge "Add default AppArmor profile to prometheus-process-exporter" 2019-03-20 19:21:46 +00:00
Zuul
8507ef92f4 Merge "Move back to ceph mimic packages" 2019-03-20 19:14:11 +00:00
Steve Wilkerson
b6d1ac1ce3 Move back to ceph mimic packages
This moves both minikube and kubeadm deployments back to using
the ceph mimic repositories instead of ceph luminous repositories

Change-Id: I1b6b6af6ecb82e7c690a735286198bc7d0ab7c8d
2019-03-20 12:25:42 -05:00
Steve Wilkerson
251bfab6b1 Add postgresql to osh-infra-monitoring job
This adds a deployment step for postgresql to the single node
monitoring job to validate the exporter works as intended

Change-Id: I2680b3e40ca4466e27daf6145cef064c312a7b57
2019-03-20 17:16:28 +00:00
Steve Wilkerson
05e57f4e37 Elasticsearch: Remove insertion of test data in helm tests
This removes the insertion of test dummy data and the following
query for it from the Elasticsearch helm tests.  Upon upgrades,
it's possible for Elasticsearch to refuse the direct insertion of
data due to shard reallocation and due to full bulk endpoint
queues. These refusals should not be seen as test failures

Change-Id: Id53d53a7aa2b58e64932d50ca3e7a4fb1141bb3a
2019-03-20 12:06:57 -05:00
Pete Birley
56e24f640b Rabbit: Bump version to 3.7.13
This PS bumps the rabbitmq version to 3.7.13

Change-Id: I1121a90eebc7be1d06c054f0bd34ab10f6a0849f
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-20 15:35:44 +00:00
Pete Birley
0903238e91 RabbitMQ: Add ability to change admin password.
This PS adds the ability to change the admin user credentials
and erlang session cookie. To do so requires `--recreate-pods` to
be passed to helm on a release upgrade.

Change-Id: Ib04ad43a7c303a8ddc31fd0de288a2f7f3294a12
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-20 15:33:51 +00:00
Zuul
87263a6e3c Merge "RabbitMQ: add test to ensure correct number of members in cluster" 2019-03-20 15:28:29 +00:00
Rahul Khiyani
518794cabe prometheus-openstack-exporter: Add container security context
This adds the container security context to set
readOnlyRootFilesystem to true and allowPrivilegeEscalation to false

Change-Id: I7b2f78b51b6ff219c371893f975a30fd89f1719b
2019-03-20 04:16:01 +00:00
Pete Birley
9029dbe8dd RabbitMQ: Make clustering robust
This PS improves the robustnes of the RabbitMQ clustering logic
to support reforming the cluster following recreation of all pods,
and wait for the cluster to fully form before continuing in case
of an upgrade.

This ability was lost with the introduction of the following PS,
which prevented reformation of the cluster from scratch.
 * https://review.openstack.org/#/c/637337/

Change-Id: I99d32fbd3c56dde492717a7850b61001fa8f7fb5
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-20 03:35:44 +00:00
Zuul
e97faaaf0f Merge "Update kubeadm kubernetes version to 1.13.4" 2019-03-20 02:28:35 +00:00
Zuul
838fdc08e6 Merge "Redis: Update helm tests" 2019-03-20 01:30:58 +00:00
Zuul
79f9a15118 Merge "Make pod security policy job nonvoting check" 2019-03-20 01:30:57 +00:00
Steve Wilkerson
e247b6faf1 Update kubeadm kubernetes version to 1.13.4
This updates the kubernetes version used when deploying via
kubeadm and minikube to v1.13.4

This required updating the apiVersion in the kubeadm configuration
file template, as well as removing the --cadvisor-port flag from
the kubelet args, as this has been removed entirely

Change-Id: I3088b65ece0a5c9c5ef2669247ac293d6a6f66ed
2019-03-20 00:34:26 +00:00
Steve Taylor
65de349d58 Move ceph-mon's checkPGs cron job to ceph-client
- Move the cronjob from ceph-mon to ceph-client
- Adding ceph-rbd-pool job as dependencies for cronjob
- checkPGs manifest set to true so it will always run
in gate.

Co-Authored-By: Chinasubbareddy Mallavarapu <cr3938@att.com>,
                Renis Makadia <renis.makadia@att.com>

Change-Id: I9855d8d22265e78c7e2f5fa7ece69c9ff532ecb2
2019-03-19 20:53:08 +00:00
Pete Birley
7077f717f1 RabbitMQ: add test to ensure correct number of members in cluster
This PS adds a test to ensure the correct number of members in a
cluster.

Change-Id: I52d0fcc473322fb9a754e95a2977a5c2cfad6b45
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-19 15:25:25 -05:00
Roman Gorshunov
0b8784f26d Fix: update merge to mergeOverwrite
Change-Id: Icd43013bcb97f7b2f9a049f0a20a550d8b577da3
2019-03-19 16:52:23 +01:00
dt241s
f86189414d Add default AppArmor profile to prometheus-process-exporter
Change-Id: If4d02d8d3b3f40d824063c14c7879ef9ee5f0a09
2019-03-19 03:26:04 +00:00
Zuul
6a1a46a8ce Merge "Memcached securityContext" 2019-03-18 18:19:49 +00:00
Zuul
86313d8bb0 Merge "Add annotations to podsecuritypolicy" 2019-03-18 18:19:48 +00:00
Zuul
3d9838a10d Merge "MARIADB: Job failure policy" 2019-03-18 18:18:14 +00:00
Steve Wilkerson
f30eb3e83b Redis: Update helm tests
This updates the Redis helm test to use the redislabs/redis-py
image instead of the base ubuntu image, which allows for cleaning
up of the helm test entrypoint script. This was done to address
routine failures in the multinode periodic jobs, eg:
http://zuul.openstack.org/build/49a9627901514eeda40906c146b9a551

Change-Id: Ida0fd39d2c6d3908aca4cdb42d3a271c39ecc601
2019-03-18 10:08:09 -05:00
Rahul Khiyani
33897b9a01 Grafana securityContext
securityContext with readOnlyRootFilesystem is implemented at container
level and leveraged the helm-toolkit snippet

Change-Id: I98ca4211e0e236beb3dfe0e11cf5bb10a91b16a6
2019-03-18 14:07:52 +00:00
Rahul Khiyani
2b84120034 Memcached securityContext
securityContext with readOnlyRootFilesystem is implemented at container
level and leveraged the helm-toolkit snippet

Change-Id: I8b16e9c17154a2bac162f31939b510fcd773126b
2019-03-18 14:07:44 +00:00
Steve Wilkerson
64fb053e68 Make pod security policy job nonvoting check
This moves the pod security policy job to a nonvoting check and
removes it as a gating job. This was overlooked previously. Once
the job has been vetted, we can revisit potentially making it a
voting and gating job

This had been done previously, but was overlooked in a change that
reintroduced the podsecuritypolicy job as a voting check and gate

Change-Id: I604efb9c608da69a04eaf87a54899cea34d7cd59
2019-03-18 08:25:14 -05:00
Gupta, Sangeet (sg774j)
c7b1f8b50d MARIADB: Job failure policy
Added backoffLimit to exporter-create-sql-user job so that it
keeps retrying to restart the pod incase of an error. Also added
activeDeadlineSeconds for the pod created by this job to terminate
if it does not become ready in one hour.

Change-Id: Ib6214a887f959fed84108884c8d286624d2f164f
2019-03-18 12:40:43 +00:00
dt241s
77b37ca520 Add default AppArmor profile to prometheus-alert-manager
Change-Id: I008eeb520af853678078091b838b0b2ca48e026c
2019-03-16 18:30:28 +00:00
Hemanth Nakkina
154f1700b1 Add annotations to podsecuritypolicy
Provide support to add annotations to the podsecuritypolicy. This will
allow to add annotations related to seccomp and apparmor in psp.

Change-Id: I78718ae1f60e8ebee8ac8ba86145bb9ae26491d5
2019-03-16 04:12:16 +00:00
dt241s
469b31356d Add default AppArmor profile to prometheus-node-exporter
Change-Id: Icb407f5271581979d3a2869b776013ba478c9487
2019-03-15 17:59:15 +00:00
Zuul
c4f6453511 Merge "Add default AppArmor profile to prometheus-openstack-exporter" 2019-03-15 17:53:30 +00:00
Zuul
5198ae29b3 Merge "Add init container to load apparmor profile for libvirt" 2019-03-15 17:22:41 +00:00
Zuul
4cc84b4264 Merge "Add init container to load apparmor profile" 2019-03-15 17:22:40 +00:00
Zuul
6637610282 Merge "Kubernetes-keystone-webhook: Add security context" 2019-03-15 16:33:27 +00:00
Zuul
9fd1eba4f4 Merge "Adding text collector for i40e VF stats from node The stats are generated by divingbell job and node-exporter picks the stats from the host file system." 2019-03-15 16:32:30 +00:00
Zuul
8f0ff3f190 Merge "Few updates for gnocchi chart" 2019-03-15 15:24:51 +00:00
Zuul
394fb8a053 Merge "Gate: Minor shellcheck fixes" 2019-03-15 15:22:22 +00:00
Zuul
a831841716 Merge "Gate: Permit ceph deployment from outside the cluster" 2019-03-15 15:19:35 +00:00
Zuul
840d8be7d4 Merge "Elastic Curator: Add basic action overrides for deployment jobs" 2019-03-15 15:19:33 +00:00
Luna Das
e606cf9754 Add init container to load apparmor profile for libvirt
Change-Id: Ie94e57725fefc8ef5584af9c1a66231c6bc2b91b
2019-03-15 14:11:54 +00:00
Tin Lam
d9af8205c0 Add init container to load apparmor profile
This patch place in a sample for an init container, generated by
helm toolkit, to load an apparmor profile included in the chart.

Change-Id: I309e3b550fd1d683745c319aa39bcfb96b77ea14
Signed-off-by: Tin Lam <tin@irrational.io>
2019-03-15 19:38:26 +05:30
mm6021
e766bc6adb Adding text collector for i40e VF stats from node
The stats are generated by divingbell job and node-exporter picks
the stats from the host file system.

Change-Id: I0f73a6f3ca7e9d045832435410933bd630a8c686
2019-03-15 13:21:15 +00:00
Steve Wilkerson
588acdbf8c Elastic Curator: Add basic action overrides for deployment jobs
This adds configuration overrides for a very basic Curator action
that should effectively be a no-op. This is to address periodic
failures seen in the osh-infra-aio-logging job that appear when
the run times coincide with Elastic Curator's cron schedule (every
six hours). This ensures curator actions are defined in cases
where this occurs

Change-Id: Ia2255ada2f32f21888bd4ca96df88496720fd0a5
2019-03-15 13:20:55 +00:00
Steve Wilkerson
f970a1b3a7 Elastic Beats: Update daemonset templates to match other daemonsets
This updates the metricbeat and filebeat daemonset templates to
include both the appropriate node selector definitions as well as
the ability to enable tolerations for the daemonsets in the same
manner as fluentbit and the node exporter

Change-Id: I474c4361c86287f05ab6078c1f81d671e902598d
2019-03-15 13:20:43 +00:00
Angie Wang
61c1e58e23 Few updates for gnocchi chart
Without setting the coordination driver, the gnocchi worker will
battle against other workers for jobs. This commit updates to use
memcached as gnocchi's coordinator.

This commit also removes the gnocchi upgrade option "--create-legacy-
resource-types" in the chart which creates ceilometer resource types.
The resource types creation is done by the ceilometer side during
ceilometer-upgrade. The option was already removed since gnocchi 4.0.0.

The missing image for gnocchi_resources_cleaner is added in this commit.

Change-Id: I19b6a4da21d1fe9816759b836b73a14bacd373a8
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-03-15 13:20:31 +00:00
Pete Birley
d6a0e0b85c Gate: Permit ceph deployment from outside the cluster
This PS extends the gate scripts to allow ceph to be deployed from
a workstation external to the k8s cluster.

Change-Id: I09b9a11747bab32c19637d8dd076b8caa3b89445
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-15 13:20:19 +00:00