1573 Commits

Author SHA1 Message Date
Chinasubbareddy Mallavarapu
5d7edbe7b4 [ceph-osd] fix name of ceph-osd daemonset during upgrades
This is to resolve ds name changes  during the site update which triggers
all osds to start at a time and deletes old ds which is causing some timesouts
on clients.

Change-Id: If004e8e46ea34d90d7e05dc41e873c7a64ec046f
2019-03-22 13:48:55 +00:00
Zuul
2b1e7ebc21 Merge "prometheus-alertmanager: Add container security context" 2019-03-22 05:44:19 +00:00
Zuul
f0cbc80d7e Merge "prometheus-openstack-exporter: Add container security context" 2019-03-22 02:22:27 +00:00
Rahul Khiyani
aeda85c642 prometheus-alertmanager: Add container security context
This adds the container security context to set
readOnlyRootFilesystem to true

Change-Id: Ic8d33ae817ace49bf5ead40b2b41c6002217aa5e
2019-03-22 01:57:35 +00:00
Zuul
ce8a75afa5 Merge "Fluent-logging securityContext" 2019-03-22 01:31:25 +00:00
Steve Wilkerson
f008379c8e Elasticsearch: Update dependencies for components
This updates the dependencies for the Elasticsearch chart to be
more cautious before proceeding. For example, this updates the
dependencies for the register snapshot job to wait until all
ES components have registered endpoints, and also updates the helm
test pod to wait for all components to have registered endpoints
and the snapshot job to have completed

Change-Id: Ie4e92bba4ae33b33cadb921bdda91ceb813e29e1
2019-03-21 13:41:29 -05:00
Pete Birley
984f8446cb RabbitMQ: remove default user config
Now that we explicity declare there is no need to define the default
username and password.

Change-Id: I95e41c411c2a86ae527283d5dc13b8a1f65b513a
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-21 18:27:45 +00:00
Rahul Khiyani
478855dc7c Fluent-logging securityContext
securityContext with allowPrivilegeEscalation: false is implemented at
container level and leveraged the helm-toolkit snippet

Change-Id: Iddb18c87993fd3dc005c55f5678829c2a19718db
2019-03-21 14:28:14 +00:00
Steve Wilkerson
84f30ec103 Add release-annotation to pod spec, add missing annotations
This adds the release-annotation to the pod spec for the charts in
openstack-helm-infra. This also adds missing configmap annotations
to charts in openstack-helm-infra

Change-Id: Ie23f0c16a7a21d3929e98928db2bbcef69ae6490
2019-03-21 09:10:48 -05:00
Zuul
4a5cac564a Merge "make db-{drop,init) py3 compatible" 2019-03-21 06:34:04 +00:00
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