1348 Commits

Author SHA1 Message Date
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
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
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
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
Pete Birley
70ff2f3042 Gate: Minor shellcheck fixes
This PS makes some minor changes to the minikube k8s script to
make shellcheck happy

Change-Id: Ic5972d7de20b73aee0b019143ba778d6f1ff9271
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-15 13:20:11 +00:00
Zuul
d992de6245 Merge "Ceph-RGW code cleanup" 2019-03-15 07:40:49 +00:00
Zuul
e1b729e660 Merge "Elasticsearch: Update locations for apache virtual host" 2019-03-15 06:32:51 +00:00
Renis Makadia
3552406832 Ceph-RGW code cleanup
Currently both 'deployment:rgw_keystone_user_and_endpoints`
and 'conf: rgw_ks' are used and set to true to deploy
ceph-rgw with keystone integration.

Going forward, we should only use `conf: rgw_ks: enabled: true`
to deploy ceph-rgw with keystone integration.

Change-Id: I17aecd4f977ed897bb0771edc9acafd4479777d1
2019-03-15 05:03:13 +00:00
Scott Hussey
73a360f19a (postgresql) Use root init container for chown
- Postgres initdb fails running as non-root as it cannot
  change the ownership or permission on the PVC mounted
  to the container. Update the chart to use a uid 0 init
  container for setting ownership before the postgres
  container starts.

Change-Id: I648fe7ca3dbc1f6ca6f4513360de2278be7c1ce4
2019-03-13 22:41:36 +00:00
Steve Wilkerson
3a1ad65d2d Use Luminous ceph repository temporarily
This uses the ceph luminous repository temporarily until the
issues seen recently with the mimic repository are sorted out and
addressed

Change-Id: Ic079fd2b3e948f37b9362bb221af45605230b19a
2019-03-13 15:12:46 -05:00
Pete Birley
a8fe949612 Mariadb: Support changing the root password
This PS udpates the mariadb chart to support changing the root password.

Additionally it moves to use three replicas in the gate

Change-Id: I286ad0b892e5ea2f85636a0c7af58598bcfdaec4
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-12 20:03:27 +00:00
Steve Wilkerson
0b44116506 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

Change-Id: I5d06343f94ae64355bce9d4f7862a8b18b5ea827
2019-03-12 12:50:17 -05:00
Steve Wilkerson
544805f99c Pin Docker version to 18.06.1
This pins the version of docker installed to a validated version
of docker for kubernetes 1.12.2.

Change-Id: If543dc4b84a6ea1224d4a8bb3af71cc9c20f28e4
2019-03-12 12:49:22 -05:00
Chinasubbareddy Mallavarapu
457ac52ee6 ceph-osd: Add configmap hash as annotation
This is to add missing(ceph-osd-bin) configmap  hash
to ceph-osd ds

Change-Id: I192ad29cd59a8e58e690e2775be6ade02dc22711
2019-03-11 13:45:58 -05:00
Roman Gorshunov
31e3469d28 Update Helm to version 2.13.0
This updates Helm from version v2.12.3 to v2.13.0.
The `merge` function has changed behavior, and is now called
`mergeOverwrite`.

Change-Id: Ie3364256c8abb714b748b3bf3658bd6cd1e3ce35
2019-03-11 05:53:08 +00:00
Zuul
d6996b8004 Merge "Add ingress network policy to kube-state-metrics and openstack-exporter" 2019-03-10 21:13:55 +00:00
Zuul
90ad57dc4a Merge "Add ingress network policy to grafana" 2019-03-10 10:41:46 +00:00
dt241s
f97f56fae5 Add default AppArmor profile to prometheus-openstack-exporter
Change-Id: I94e95e1f7d785a1d274e1ee3d9f90ffb00e23ea1
2019-03-08 14:51:41 -06:00