1232 Commits

Author SHA1 Message Date
Rahul Khiyani
25a86df489 readOnlyFilesystem: true for rabbitmq chart
Fix for adding readOnlyFilesystem flag at pod level

Change-Id: I30ef83f1e381d24f40bfc92a1e740746135eceab
2019-02-27 00:24:19 +00:00
Zuul
6ea80fa151 Merge "Create Helm test for redis chart" 2019-02-26 15:57:43 +00:00
Angie Wang
a5aeab344b Add cron job for Gnocchi to purge deleted resources
The current gnocchi chart doesn't purge the resources/metrics for
the deleted openstack resources. This commit adds a cron job to
periodically purge the deleted resources data from gnocchi database.
By default, cron job runs daily and purges the deleted resources with
its associcated metrics which have lived more that 1 day.

Change-Id: Id45b92b91bb7668b35c3b5a7379283de51a1256a
Story: 2005016
Task: 29494
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2019-02-25 04:54:44 +00:00
Zuul
7578ba5a4b Merge "Remove set -x from exporter scripts and htk s3 user script" 2019-02-23 03:05:31 +00:00
Zuul
6b8f0065cb Merge "Fix for absent link packages in ceph deployment shell" 2019-02-22 03:04:27 +00:00
Zuul
b8b72d7e16 Merge "[CEPH] Use civetweb by default for RGW with keystone" 2019-02-21 14:16:22 +00:00
Matthew Heler
aad0394963 [CEPH] Use civetweb by default for RGW with keystone
Currently there is a bug in the beast code that makes it fail
during the initial lookup for a keystone user map. For the time
being we will continue to use civetweb when keystone is present
until this issue is resolved.

Change-Id: I56bcd77f38adb3763d35f46443c1403816d1dcea
2019-02-20 20:10:21 -06:00
Steve Wilkerson
70e5769900 Remove set -x from exporter scripts and htk s3 user script
This removes set -x from the templates for the user creation
scripts for the mariadb and postgresql user templates, and it
also removes the set -x from the helm-toolkit job for creating
s3 users. This prevents sensitive credentials from being
displayed to the console when these scripts are run

Change-Id: I0a78d8190fbbae1b300b74ca560d76dedaaf6fc1
2019-02-19 14:42:17 -06:00
Steve Wilkerson
7387ecd71c Updated missed daemonsets and deployments to apps/v1
This updates daemonsets and deployments from extensions/v1beta1 to
apps/v1.  These templates were either missed or overlooked when
added, and this change brings them up to the same api version used
for all other daemonsets and deployments

Change-Id: I6d2aba7791ad5eabd23785c01aed01d4f8e53d39
2019-02-19 08:19:45 -06:00
John Haan
b7a96ca8c9 Fix for absent link packages in ceph deployment shell
There is no "make {package}" line in 030-ceph.sh file.
It causes a failure to execute the shell script.

Change-Id: If787abd7711a02313b6a2acae8a888b5609f27df
2019-02-19 02:27:21 +09:00
Pete Birley
ded99204b2 HTK: Update pod security context snippet
This PS updates the pod security context snippet to support
a more sane values layout.

Change-Id: Id25441802a23e2dd00ad656cec2428432359dbe5
Signed-off-by: Pete Birley <pete@port.direct>
2019-02-16 20:19:58 +00:00
Zuul
27f4c66a80 Merge "[Prometheus] Tweak K8SApiServerLatency to ignore DELETECOLLECTION" 2019-02-16 18:43:31 +00:00
Zuul
924f0cd07d Merge "Fix wrong indentation of multinode docs" 2019-02-16 17:28:45 +00:00
Chris Wedgwood
332d7a4e39 [Prometheus] Tweak K8SApiServerLatency to ignore DELETECOLLECTION
DELETECOLLECTION for some things like namespaces can be very slow.  As
it's not critical it should be safe to ignore it.

Change-Id: I513b2af45b703a73d20a98a7a770776632ae4b39
2019-02-16 16:58:16 +00:00
Zuul
b53f476344 Merge "ReadinessProbe for OVS-DB Pod" 2019-02-16 14:15:08 +00:00
Zuul
4a00d79bee Merge "Add radosgateway to openstack support job" 2019-02-16 14:08:40 +00:00
Zuul
13e226c6cd Merge "Rabbit: Be more verbose in test logs" 2019-02-16 13:54:54 +00:00
Zuul
d968613da3 Merge "Revert "Update kubeadm kubernetes version to 1.12.2"" 2019-02-16 07:44:39 +00:00
Zuul
4a0b8d0511 Merge "HTK: Fix k8s pod security context example" 2019-02-16 07:42:44 +00:00
Zuul
bc9f8466e1 Merge "Exclude PNG images from whitespace linting job" 2019-02-16 05:54:36 +00:00
Zuul
4caf6220fc Merge "Update network policy test executed in osh-infra job" 2019-02-16 02:46:47 +00:00
Zuul
164e9125c2 Merge "RabbitMQ: Improve robustness of readyness checks" 2019-02-16 02:37:39 +00:00
Steve Wilkerson
75b9802c4e Add radosgateway to openstack support job
This adds the required services to the openstack-support job to
deploy ceph radosgateway with keystone auth enabled. This expands
coverage for radosgateway helm tests in the openstack-helm-infra
repository

Change-Id: I3a5505ad3d3400563694ef063b4e6777ba34c414
2019-02-16 01:38:34 +00:00
Pete Birley
939923db64 Rabbit: Be more verbose in test logs
This PS increases the feedback give by the rabbitmq test pod

Change-Id: If8aa713017eccaf100c6186cd569a6a0f4b021e9
Signed-off-by: Pete Birley <pete@port.direct>
2019-02-16 01:33:48 +00:00
Zuul
0d4970087e Merge "Grafana: Add job to update admin password" 2019-02-16 01:10:44 +00:00
Zuul
a9f22aafed Merge "Fluentd: Add type_name to default elasticsearch output" 2019-02-16 01:01:23 +00:00
Pete Birley
69cf377fd6 RabbitMQ: Improve robustness of readyness checks
This PS moves the readyness check to simply checking if the ampq
port is open, both simplifying it and also correctly indicating if
the process is ready to serve requests.

Change-Id: I38416c8bf3b242fa344875da13f81e5bbc1983c7
Signed-off-by: Pete Birley <pete@port.direct>
2019-02-15 18:17:55 -06:00
Steve Wilkerson
be5ac2d4cc Revert "Update kubeadm kubernetes version to 1.12.2"
This reverts commit 8e8193f9e1631ffd34de32336b041ee9c58a0973.

Change-Id: I69c4d8716389d17dc806bd56f6afc14233f003af
2019-02-15 19:19:30 +00:00
Pete Birley
5ea775ab9b HTK: Fix k8s pod security context example
This PS fixes the k8s prod security context example.

Change-Id: I1b1d6875dda852bebb428708d4acf9c460360510
Signed-off-by: Pete Birley <pete@port.direct>
2019-02-15 12:06:02 -06:00
Steve Wilkerson
8e8193f9e1 Update kubeadm kubernetes version to 1.12.2
This updates the kubernetes version used when deploying via
kubeadm to v1.12.2, which matches what is deployed via minikube
for the single node jobs

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: I26573de35529ce44e91e6d4d4530f608b8cee476
2019-02-15 10:42:57 -06:00
Steve Wilkerson
a03d047e07 Update network policy test executed in osh-infra job
This updates the network policy test that gets executed at the
conclusion of the network-policy job. As long as nsenter is used,
we need to account for situations where nsenter executing wget
fails due to invalid credentials. Since this validates the policy
successfully allows ingress traffic while still exiting with an
error code (6 for invalid credentials vs 4 for connection
timeouts), we should consider those scenarios successes.

This also updates the flags used for wget. Instead of using spider
mode, this enables flags for: recursive mode, not creating
directories, and deleting results after execution. This allows for
the testing of exporter endpoint paths explicitly.

Change-Id: I2d51e8ed5a153c2a6796e0df9b3fe5f710a947f9
2019-02-15 09:28:00 -06:00
Nikos Mimigiannis
7afe5189a0 Create Helm test for redis chart
Task: 21711
Story: 2002201

This patch creates Helm test for redis chart

Change-Id: Ifac407b5544484f2626ba7ffdbd2e96fca6e51ef
Signed-off-by: Nikos Mimigiannis <nmimi@intracom-telecom.com>
2019-02-15 07:55:07 -05:00
Roman Gorshunov
410d34317e Exclude PNG images from whitespace linting job
Image files could contain whitespace after carriage return and newline
characters; patch excludes "*.png" files from openstack-helm-lint job.

Change-Id: I6aef5f2f34637f018fd56a3bb8121d5829c600a2
2019-02-14 14:52:09 +01:00
Steve Wilkerson
015665516e Fluentd: Add type_name to default elasticsearch output
The change that modified the output configurations for fluentd
accidentally removed the type_name from the default elasticsearch
output, which prevents the output from using the fluent template
that's defined in the chart. This replaces the type_name for that
output

Change-Id: I2098ca8c243d55f0446ea623a80b5b40e3acff8c
2019-02-13 12:49:57 -06:00
Steve Wilkerson
65ce9c73d7 Grafana: Add job to update admin password
This change adds a job to the Grafana chart that  allows for the
changing of the grafana admin user password if required, as
Grafana only allows the changing of this password via the
grafana-admin CLI or via an http call that requires both the old
and new password

Change-Id: I59a5d26edc4aa4da16e80c5454ecdebbae3a1d15
2019-02-12 09:59:45 -06:00
John Haan
432c7a5801 Fix wrong indentation of multinode docs
This simple patch is for correcting wrong indentation error
in multinode document.

Change-Id: Idc5f3c948947419359860eb68cddd05a31201c8d
2019-02-12 11:31:24 +00:00
Steve Wilkerson
ef3adc4d0e Execute helm tests in osh-infra single node jobs
This executes the helm tests for the single node jobs in
openstack-helm-infra for rabbitmq, elasticsearch, fluent-logging,
prometheus, and grafana.

Change-Id: I0109cfbe6adeb9e24d513c8313d964323634b8da
2019-02-11 14:16:06 +00:00
bk160f
7c7d7eb7dd ReadinessProbe for OVS-DB Pod
This implementation is to add readiness probe to ovs-db pod.
The goal is to check if the db.sock is connected by executing ovs-vsctl
command to list the Open_vswitch configuration table.

Change-Id: Idd4382d95d07ffff94a30bcb7ac132b88e9d6de1
2019-02-09 03:16:16 +00:00
Pete Birley
d3c3c35365 Libvirt: Move ceph config to remain on host
Change-Id: If525389191b82dc7fb10cd2941bbe48fb0bbdb3c
Signed-off-by: Pete Birley <pete@port.direct>
2019-02-08 16:20:49 -06:00
Zuul
045e64067b Merge "Ceph-RGW: Support rotation of s3 key pairs" 2019-02-07 20:32:26 +00:00
Zuul
b4ec10151c Merge "[CEPH] Expand the Keystone Helm tests for RGW" 2019-02-07 19:11:42 +00:00
Zuul
6620f08e49 Merge "fix type error to streamline single-replica mariadb startup" 2019-02-07 17:21:07 +00:00
Steve Wilkerson
cf0ed142f6 Ceph-RGW: Support rotation of s3 key pairs
This updates the helm-toolkit script for creating rgw s3 users
to first check if a user exists, then create the user if it does
not exist or modify the user's keys if it does exist. This is
accomplished by using jq to identify all existing access keys for
the specified user, removing those key pairs using the access key,
then modifies the existing user with the supplied access/secret
key pair for the given user

This also updates the ceph-rgw chart to use the helm-toolkit s3
user script for creating the admin s3 user instead of using a
similar script defined directly in the ceph-rgw chart

Change-Id: I575b66415d44db7bb752102e45595305d86e623b
2019-02-07 10:33:49 -06:00
Matthew Heler
e8ed3bcf76 [CEPH] Expand the Keystone Helm tests for RGW
- Since the admin key has been removed, we need to also replace
radosrgw-admin with openstack container commands.

- Additionally expand the helm tests for keystone to also upload
and validate an object in RGW (similiar to S3 helm tests).

Change-Id: I4be603121fc227dd48f83704e99bba94341c4c09
2019-02-06 20:43:20 -06:00
Chris Friesen
d99b1412e2 fix type error to streamline single-replica mariadb startup
The mariadb startup script was trying to optimize the single-replica
case but missed the fact that the variable it was checking was a
string rather than an int.

Converting it to an int before doing the comparison makes it work
as expected.

Change-Id: I8612e9e8ef5ec8ff61ecf0782f262a5feafd501a
Signed-off-by: Chris Friesen <chris.friesen@windriver.com>
2019-02-06 17:34:27 -06:00
Steve Wilkerson
f4aa5dc574 Ceph-RGW: Update storage-init job application labels
This changes the application label for the ceph-rgw storage init
job to 'ceph' to match the other jobs defined for the chart, rather
than use 'ceph-rgw'

Change-Id: Ia0b679567161e91241250f0c250d24a45c5ebb92
2019-02-06 14:43:24 -06:00
Pete Birley
87de515727 Ceph-OSD: Restore bootstrap job
At some point the bootrap job was partially removed from the ceph
osd chart, this PS resores it.

Change-Id: I2f51deda64b299fe980e1f191b860bfe173e6aca
Signed-off-by: Pete Birley <pete@port.direct>
2019-02-05 21:54:06 -06:00
Steve Wilkerson
cb021c2124 Add Armada job for testing update of chart passwords
This adds both a periodic and experimental job for deploying Ceph
and the LMA components via Armada. This job will then generate new
passphrases for the LMA components, render an updated manifest for
the LMA components including the new passphrases, then applies the
updated LMA manifest to validate the ability for all deployed
charts to update those passphrases successfully

Change-Id: I966ebeadd3823a087239aa7d198444a084e5d242
2019-02-04 22:44:52 +00:00
Zuul
ada418f756 Merge "Add Armada job for testing update of release uuids" 2019-02-04 22:42:25 +00:00
Zuul
2aceca1e29 Merge "[CEPH] Extend RadosGW S3 configuration support" 2019-02-04 22:27:13 +00:00