1825 Commits

Author SHA1 Message Date
Pete Birley
af270934d4 Rabbit: Eradicate potential crashes in wait job while upgrading cluster
When upgrading/reconfiguring a rabbit cluster its possible that the nodes
will not return the cluster status for some time, this ps allows us to
cope with this much more gracefully than simply crashing a few times, before
proceeding.

Change-Id: Ibf525df9e3a9362282f70e5dbb136430734181fd
Signed-off-by: Pete Birley <pete@port.direct>
2019-07-18 23:07:32 +00:00
Zuul
2c8b18aeb8 Merge "Openvswitch: Fix typo in image overrides" 2019-07-18 20:30:45 +00:00
Zuul
0c3a46ae6e Merge "Helm-Toolkit: Add a function to return quoted csv sting from a list" 2019-07-18 20:15:12 +00:00
Zuul
e29022f8ae Merge "Revert "CI: Make openstack-support and keystone-auth jobs nonvoting"" 2019-07-18 19:47:54 +00:00
Manuel Buil
dc1b4dd1c5 Openvswitch: Fix typo in image overrides
The tag is pointing to a libvirt image. It should point to the
openvswitch image

Change-Id: If95a7b9cce2cadcb644389c28799fff48572c549
Signed-off-by: Manuel Buil <mbuil@suse.com>
2019-07-18 18:43:25 +00:00
Pete Birley
af17153627 RabbitMQ: prune any extra nodes from cluster if scaling down
This PS updates the cluster wait job to prune any extra nodes from
the cluster if scaling down.

Change-Id: I58d22121a07cd99448add62502582a6873776622
Signed-off-by: Pete Birley <pete@port.direct>
2019-07-18 17:21:37 +00:00
cheng li
776885458a Revert "CI: Make openstack-support and keystone-auth jobs nonvoting"
This reverts commit 5e3f729ffe5692e6e37d0fe6378906662d94bbd0.

Change-Id: I65cb5d24f0538fbd0d6cd28e5e6313e679d87655
2019-07-17 14:06:21 +00:00
Pete Birley
e96bdd9fb6 Ingress: Clean up tmp dir entirely on container start
This PS cleans up the container dir entirely on container restart,
as sometimes remnets of previous runs can cause issues.

Change-Id: I873667a8a57bca6096cbe777ee83ef8648a368d4
Signed-off-by: Pete Birley <pete@port.direct>
2019-07-16 01:21:02 +00:00
Alexander Noskov
3b5a1c7909 Take dnsPolicy from .Values.pod.dns_policy variable
Change-Id: Iae7caa5bdefe7749231c031c6003591a6251fa97
2019-07-15 17:31:16 +00:00
Zuul
769d0980f0 Merge "Prometheus: Fix volume utilization alert expression" 2019-07-14 04:49:18 +00:00
Zuul
e01741589a Merge "Tenant-Ceph: Enable cephfs storage class provisioning" 2019-07-13 16:16:54 +00:00
Zuul
79c9777bf4 Merge "Remove quotes for bind-address in ingress Chart" 2019-07-13 14:21:48 +00:00
Alexander Noskov
0eff94f51c Remove quotes for bind-address in ingress Chart
Currently, we are getting `bind-address: null` in ingress-conf for ingress pod in kube-system namespace
In that case, nginx starting on 0.0.0.0:80 which breaks other ingress controllers, such as maas-ingress.
All further ingress controllers can't start because they can't bind on 80 port.

Change-Id: Ie7e9563bf14fe347969bea0d3c900c8d87d06de0
2019-07-12 17:10:00 -05:00
Drew Walters
8ba46703ee CI: Restore Xenial compatibility in K8s script
Recently, the Minikube gate script was modified to support Ubuntu Bionic
[0]; however, the change made the script incompatible with Ubuntu Xenial
because libxtables12 is not available on Ubuntu Xenial. OpenStack-Helm
still supports Ubuntu Xenial, and this script should too.

This change modifies the gate script to install iptables instead of
libxtables12. The iptables package depends on libxtables11 on Ubuntu
Xenial and libxtables12 on Ubuntu Bionic, so this achieves the same
result.

[0] https://review.opendev.org/650523

Change-Id: I5afbcfeca6e7b30857a44aed35a360595eeb5037
Signed-off-by: Drew Walters <andrew.walters@att.com>
2019-07-12 13:50:22 +00:00
Steve Wilkerson
7e55710a42 Tenant-Ceph: Enable cephfs storage class provisioning
This updates the tenant ceph job to provision the cephfs storage
class by removing the override that prevents it. This is required
for the ceph namespace activation deployment for osh-infra to
successfully pass its helm tests

Change-Id: I3f801cb2a369f6a073105296d7cc4f98fddf6a68
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-07-12 13:45:40 +00:00
Steve Wilkerson
ae3c07b853 Ceph: Update default test pod timeout for provisioners
This mvoes the default timeout for the ceph provisioners helm test
pod to 600 seconds, as 120 seconds is fairly aggressive.  This
also adds the required --timeout flag to the helm test command in
each job for the ceph provisioners, as well as adding the required
helm test configuration to the armada-lma manifest

Change-Id: I5a3b98de9132fe83cf09b1e5b3fcc513bd496650
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-07-12 13:43:38 +00:00
Zuul
aead8ca0b9 Merge "Extended OVS chart with support for DPDK" 2019-07-12 13:30:48 +00:00
Zuul
c3ac26a35d Merge "Pentest-NC1.0 Nova–Security HTTP Headers Not Present" 2019-07-11 22:28:11 +00:00
Zuul
e40c903cda Merge "Armada: Fix issues with armada-lma manifest" 2019-07-11 19:06:43 +00:00
Zuul
36b31af88a Merge "Disable systemd-resolved service in nameserver role" 2019-07-11 19:04:00 +00:00
Zuul
639dcc2da3 Merge "Enable calico prometheus metrics for minikube" 2019-07-11 19:03:59 +00:00
Alexander Noskov
b191d4ae99 Update symlink for 110-kibana.sh
070-kibana.sh was renamed in https://review.opendev.org/#/c/661753/1/tools/deployment/osh-infra-logging/075-kibana.sh

Change-Id: I043179d259f51734056d168058304ca9a8ff4de4
2019-07-10 18:12:27 -05:00
Steve Wilkerson
4e54672733 Armada: Fix issues with armada-lma manifest
This addresses issues with the armada-lma manifest that arose
after the splitting of the fluentbit and fluentd charts. The top
level labels key was missing from the fluentbit chart and the
logging chart group still referenced a nonexistent fluent-logging
chart

Change-Id: I5244fc9d065806c376ca5d18b6ced9ed445057c9
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-07-10 20:54:18 +00:00
Steve Wilkerson
d83cc610b0 Disable systemd-resolved service in nameserver role
This updates the task in the disable-local-nameserver role to
include disabling the systemd-resolved service, as this causes
the entries we update in /etc/resolv.conf to not be honored as
systemd-resolved will use a different set of files for configuring
the nameservers it uses.

See: https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html

Change-Id: I68a623b7bcb32037b9eeff2d76c7f2cb317cb7d8
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-07-10 20:54:04 +00:00
Steve Wilkerson
4feff0e34a Enable calico prometheus metrics for minikube
This updates the minikube deployment script to patch the
calico-node daemonset to set the appropriate annotations and
environment variables required for felix to expose prometheus
metrics

Change-Id: Ic5dc2ecb298add12cd3b150cc4d26e7639c43488
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-07-10 15:48:18 -05:00
Georg Kunz
e6530bc2bb Extended OVS chart with support for DPDK
Extending the Openvswitch chart with support for DPDK. In order to
enable DPDK support, set the dpdk:enabled option to true in value.yaml.
Prerequisites for successfully running OVS with DPDK: the host OS must
to have hugepages enabled.

Co-Authored-By: Rihab Banday <rihab.banday@ericsson.com>

Change-Id: I9649832511ba7c7ba7c391555d60171ef9264110
2019-07-09 17:10:15 +02:00
NarlaSandeepNarlaSaibaba
3f32f08319 Pentest-NC1.0 Nova–Security HTTP Headers Not Present
Added new HTTP Security header Content-Security-Policy:self to make
sure the browser does not allow any cross-site scripting attacks.

Added new HTTP Security header X-Permitted-Cross-Domain-Policies:none
To prevent web client to load data from the current domain.

Added new HTTP Security header X-XSS-Protection:1 mode=block to
sanitize the page, when a XSS attack is detected, the browser will
prevent rendering of the page.

Change-Id: Ief137738f4b793f49f3632e25339c6f49492fd80
2019-07-09 09:45:53 -05:00
Steve Wilkerson
09366598b5 Remove docker.io version pin
Change-Id: Id45132d8476ca931042dddc4544074e26135f9fc
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-07-08 20:39:58 +00:00
Sreejith Punnapuzha
7314edc57d Fix Grafana helm test exception error
Grafana helm test is failing with the below error
"NameError: name 'exception' is not defined"
This is because exception is defined in smaller case. changing
exception to Exception fixes this issue

Change-Id: I533ae822babb4f063242fee1cd42b5b821519b5f
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-07-08 14:02:42 +00:00
Steve Wilkerson
40d26142d3 Prometheus: Fix volume utilization alert expression
Change-Id: I9a0ab85d7acf20e5b34ec62a95b3350aace8161a
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-07-08 13:19:35 +00:00
Zuul
d7520fe006 Merge "Rabbit: Move to deploy the default number of replicas in gate" 2019-07-05 17:51:01 +00:00
Zuul
0afd1fadef Merge "Ceph-Provisioner: wait for helm tests related pods" 2019-07-05 17:50:59 +00:00
Chinasubbareddy Mallavarapu
ddbe20a30b Ceph-Provisioner: wait for helm tests related pods
This is to update logic to wait for  pods created by helm tests.

Change-Id: Ic1ee293613a0b050be9fa01a29642bfc9e8de2d7
2019-07-05 10:18:38 -05:00
Pete Birley
fff09d1066 Rabbit: Move to deploy the default number of replicas in gate
This PS moves to deploy the default number of RMQ replicas in the gate.

Change-Id: I36734a64b45adce8de89dfe3b020d0dae0e66d94
Signed-off-by: Pete Birley <pete@port.direct>
2019-07-05 13:13:42 +00:00
Pete Birley
9b5b901104 Rabbit: Ensure node has joined cluster on initial startup
This PS extends the rabbit startup locgic to ensure nodes have
actually joined the cluster on startup.

Change-Id: Ib876d9abd89209d0a7972983bdf4daacf5f8f582
Signed-off-by: Pete Birley <pete@port.direct>
2019-07-05 13:11:18 +00:00
Zuul
819cf51083 Merge "Grafana: Disable analytics settings" 2019-07-04 18:36:59 +00:00
Zuul
ce2c0e08d2 Merge "Update helm version to 2.14.1" 2019-07-04 18:36:57 +00:00
Sphicas, Phil (ps3910)
09bf431fe7 MariaDB: Disable SSL chain completion on ingress controller
This PS sets `--enable-ssl-chain-completion=false` for the MariaDB
ingress controller. This is the default for current versions of
the nginx-ingress-controller, but for 0.9.0 needs to be set.

If enableSSLChainCompletion is left on, nginx will attempt to
autocomplete SSL certificate chains with missing intermediate CA
certificates, causing unnecessary network and errors in pod logs.

Change-Id: I088b33fe994281dca6997baa87a6b599c3f10c14
Closes-Bug: #1835364
2019-07-03 23:20:15 -07:00
Zuul
683f755f7e Merge "Add a configmap for mariadb ingress controller" 2019-07-04 01:07:53 +00:00
Zuul
bf752cdf89 Merge "[Ceph Enhancement] Move ceph-defragosds cron job to ceph-client chart" 2019-07-04 00:36:13 +00:00
Zuul
389f27618a Merge "Ceph-Client: Cleanup for unused values" 2019-07-04 00:30:31 +00:00
Zuul
1f305d2939 Merge "Ceph-osd: update helm tests logic for osds" 2019-07-04 00:30:29 +00:00
Zuul
e45a7def59 Merge "Add OpenStack instance panel to grafana dashboard" 2019-07-04 00:09:45 +00:00
Renis Makadia
25f4f17f8e [Ceph Enhancement] Move ceph-defragosds cron job to ceph-client chart
- Move the cron manifests to ceph-client chart
- Keep the script that actually does the work in Ceph-OSD
- with this PS, ceph-defragosds will be started after Ceph-Client chart
gets deployed. In the cronjob, it will exec to a running OSD pod and
execute the script.

Change-Id: I6e7f7b32572308345963728f2f884c1514ca122d
2019-07-03 21:08:37 +00:00
Yi Wang
c53b1fa86d Add a configmap for mariadb ingress controller
The configmap is for mariab ingress controller configuration. It is
to enable the capability of overriding default nginx configurations
in the controller.

Change-Id: I25eb8a237a6f8ad63bde725b1d4f31a928fa7c49
Signed-off-by: Yi Wang <yi.c.wang@intel.com>
2019-07-03 21:07:51 +00:00
Zuul
0c5cc1db7c Merge "Postgres PVC Soak Fix" 2019-07-03 15:50:12 +00:00
Chinasubbareddy Mallavarapu
c8dd26f1d3 Ceph-osd: update helm tests logic for osds
This is to update helm test logic to test and exit if
there are no osds up in the cluster.

This may heppen when we miss ceph-osd label on the nodes.

Change-Id: I98971106e202a9c4fd9d236f368492c6c6498ce1
2019-07-03 10:10:47 -05:00
Zuul
26ab03c56d Merge "Nagios: Add init container for generating hosts" 2019-07-03 14:59:36 +00:00
Zuul
565e1a38f4 Merge "Ignore Selenium test failures in jobs" 2019-07-03 13:28:25 +00:00
Chinasubbareddy Mallavarapu
8275ad7d2f Ceph-Client: Cleanup for unused values
This is just to cleanup client chart for provisioner references.

Change-Id: I4b2e4b0eee244d102b503bee4adbbae857863c8d
2019-07-03 12:32:34 +00:00