1896 Commits

Author SHA1 Message Date
Zuul
4a7d6dcde5 Merge "Fix misspell word" 2019-09-13 23:36:40 +00:00
Zuul
73fb780d9e Merge "Add open egress rules to multiple infra charts" 2019-09-13 00:45:12 +00:00
Zuul
3717753377 Merge "Openvswitch: Enable Rolling Update" 2019-09-12 19:53:25 +00:00
Gage Hugo
ab3ab66bcb Add open egress rules to multiple infra charts
This change adds egress rules to the following charts:
- ingress
- memcache
- libvirt
- rabbitmq

These rules will be tightend down in future changes

Change-Id: I6f297d50ca4c06234c7c79986a12cccf3beb5efb
2019-09-12 13:07:19 -05:00
Q.hongtao
c3246526f3 Fix misspell word
Change-Id: If71c4dcc49c5a7a7ac2303a9542de24d5ce50a48
2019-09-06 17:01:18 +08:00
Zuul
010fc1fc65 Merge "Fluentd: Add support for arbitrary environment vars" 2019-09-05 18:29:04 +00:00
sg774j
20ee36ab7d Openvswitch: Enable Rolling Update
Enable rolloing update for both ovs_db and ovs_vswitchd daemonsets

Change-Id: I4e20c2e01634ca0a0ded4e02406a6f690e26402d
2019-09-05 11:40:59 -05:00
Steve Wilkerson
6c3cd0a8ce Fluentd: Add support for daemonset update strategy
This adds support for configuring fluentd's update strategy when
deployed as a daemonset, as this was previously missed when
the changes to support both daemonsets and deployments were made

Change-Id: I5ac4fbfc0e64caaf207de42cd71c893f8d0f6ff1
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-09-04 13:28:12 -05:00
Steve Wilkerson
5b14b6c162 Fluentd: Add support for arbitrary environment vars
This updates the Fluentd deployment template to use the helm
toolkit util for generating environment variables through the
chart's values.yaml. This adds flexibility in defining fluentd
outputs, as arbitrary environment variables can be injected and
consumed in fluentd's filters and outputs

Change-Id: I72a2c476378cc555bde1387781b4a06f13b51bc6
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-09-04 10:26:36 -05:00
Zuul
43c89812c5 Merge "Fluentd: Add support for Kafka outputs" 2019-09-04 15:17:46 +00:00
Zuul
b10d7b915b Merge "[ceph-osd] get configmap and daemonset names from values" 2019-09-03 22:30:03 +00:00
Steve Wilkerson
4610dc0194 Fluentd: Add support for Kafka outputs
This updates the fluentd chart to add support for leveraging a
Kafka output. This required adding a kafka endpoint entry to the
chart's values.yaml, as well as the required template updates to
the fluentd deployment template and the addition of a secret for
kafka credentials

Depends-On: https://review.opendev.org/#/c/679297/

Change-Id: I80a487a0538f0b3704fb598da38c07feedaccb0e
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-09-03 19:16:53 +00:00
Zuul
02d5d8962c Merge "Pg_rewind failure fix" 2019-08-30 20:06:11 +00:00
Zuul
440b633b1f Merge "(postgres) Add override for termination period" 2019-08-29 17:53:52 +00:00
Zuul
2d5684fddc Merge "Use internal endpoint lookups for selenium helm tests" 2019-08-29 02:30:26 +00:00
Zuul
66496bf1b7 Merge "Add release uuid to pods" 2019-08-28 22:42:30 +00:00
Steve Wilkerson
d52fd14373 Use internal endpoint lookups for selenium helm tests
This updates the grafana and nagios helm test pod templates to
use the internal endpoints for their selenium tests instead of the
public endpoints when defined

Change-Id: I1138cb29a808894d3339bc1b07c3a60804b9546f
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-28 15:06:55 -05:00
Pete Birley
c5428a9429 RabbitMQ: Add liveness probe to check ampq port open
This PS adds a check that the ampq port is open.

Change-Id: I79c298f50c67f4b7293e6767fc9c10a66aa7dcf8
Signed-off-by: Pete Birley <pete@port.direct>
2019-08-28 13:22:22 -05:00
Mykola Yakovliev
56cbacc542 Add release uuid to pods
This PS adds the ability to attach a release uuid to pods objects.

Implements: Ability to attach release_uuid to ephemeral pods
Change-Id: I0ebade75e18eced99fe16ba434558264b1793e88
2019-08-28 15:07:30 +00:00
chinasubbareddy mallavarapu
dfc9fc994a [ceph-osd] get configmap and daemonset names from values
This is to fix name conflict for configmap name "ceph-osd-default" when
we try to create  multiple osd releases as every relase try to create configmap
with same name.

we could add relase name here but that will be a problem for sites deployed with
current logic as upgrade will delete old daemonsets and creates new ds ,so all osd
pods gets recreated at a time, by getting this from values can give us
flexibility to install multiple osd releases with out effecting currently deployed
sites.

Here is  the error if we try multiple osd releases with current logic:

2019-08-27 13:54:16.690 41 ERROR armada.handlers.tiller [-] [chart=ceph-osd-sde]:
Error while installing release ceph-osd-sde: grpc._channel._Rendezvous: \
<_Rendezvous of RPC that terminated with:
        status = StatusCode.UNKNOWN
        details = "release ceph-osd-sde
        failed: configmaps "ceph-osd-default" already exists"

Change-Id: Ibe84582b9ba04c6cbf611e943ecd0a7149c5ab2f
2019-08-27 10:12:13 -05:00
Zuul
49c8c744ac Merge "Ceph-RGW: fix helm test" 2019-08-26 18:43:49 +00:00
Doug Aaser
c5a85ee117 Pg_rewind failure fix
This commit fixes a small issue with Patroni where sometimes pg_rewind
would fail due to limitations in Postgres 9.5. To combat pg_rewind
failures, we can enable remove_data_directory_on_rewind_failure which
will cleanup the data directory on the pod and recreates it as a
replica so that the pod can restart from fresh, rather than churning in
an error state. This commit also sets
remove_data_directory_on_diverged_timelines to give Patroni a greater
ability to combat timeline divergence errors.

Change-Id: Ic9f75dbfa0dd990e2b215ed204e55cd67a5d1159
2019-08-26 18:37:12 +00:00
Scott Hussey
5a7693cd62 (postgres) Add override for termination period
- Allow configuration of the termination grace period
  for the Patroni pod with a default of 180s to ensure
  the database has time to gracefully spin down, even
  on slow disk.

Change-Id: I420cbd601bbffa50217b717bd4a636d48d324617
2019-08-25 07:21:53 -05:00
Zuul
f0306ce33d Merge "Sync wait-for-pods script with the one from openstack-helm" 2019-08-24 07:45:38 +00:00
Kabanov, Dmitrii
ed8ff0d6fa Ceph-RGW: fix helm test
The PS allows to run the tests when both options (rgw_ks and rgw_s3)
are enabled at the same time.

Change-Id: I262baa38b7c65ff9335a3db6a6e2a454c3ff3f5f
2019-08-22 17:00:40 +00:00
Pete Birley
a5682e7db3 MairaDB: Move all config to be values driven
This PS moves to drive all mariadb config via the values fed
to the chart.

Change-Id: I4ed3624737af4d5c90b1b5de451a0a0b75a5eda1
Signed-off-by: Pete Birley <pete@port.direct>
2019-08-21 14:08:25 -05:00
Pete Birley
aba044cb0e Mariadb: define timeouts for wsrep
This PS updates the wsrep_provider_options to define the timeouts
explitlcitly for evs.suspect_timeout, gmcast.peer_timeout. Their
defaults are PT5S, and PT3S respectively, which are increased by
a factor of approx 5, to accomdate network instability that may
occur during node outage events.

Change-Id: Ie5cdd06d91299e5e2632b70cb9b50a7ad14f62b1
Signed-off-by: Pete Birley <pete@port.direct>
2019-08-21 14:48:05 +00:00
Zuul
7c2c148fb0 Merge "Enable probes override from values.yaml for ovs" 2019-08-21 12:08:55 +00:00
Zuul
6639d0916b Merge "Enhance HTK Job Manifests to be more flexible" 2019-08-20 17:45:31 +00:00
rajesh.kudaka
2b66685594 Enable probes override from values.yaml for ovs
This commit enables overriding liveness/readiness probes
configurations for openvswitch pods from values.yaml

Change-Id: I4ec2b9e88bf8ed57e8ac9293f333969b63cef335
2019-08-19 16:34:03 +00:00
Chinasubbareddy Mallavarapu
1ff4811f06 [ceph-provisioner] Enable pvc resize feature
This is to enable pvc resize feature so that pvc can be resized when need.

Change-Id: Ib5840b10087b39884cfd2249017c974aac407b30
2019-08-16 16:21:05 -05:00
sg774j
87afa2fb8c Rabbitmq: Correct reset_rabbit function
Made correction to this function to not attempt to delete
/var/lib/rabbitmq/

Change-Id: Ied16be1ec83d528f2660ef96389c3f236983aa79
2019-08-15 18:22:01 +00:00
BARTRA, RICK
f5df62d836 Run rabbitmq container with rabbitmq user
This change makes rabbitmq container run with the rabbitmq user
instead of the root user. As the rabbitmq user doesn't have write
access to '/run' directory, the templates are updated to use the
'/tmp' directory instead which the rabbitmq user has write access
to.

Change-Id: Ia35c3f741fefe3172c93bb042bf8d26bf7672cfc
2019-08-14 17:48:40 +00:00
Zuul
20dafdaddb Merge "Nagios – API Handling – HTTP Security Headers Not Present" 2019-08-14 00:59:23 +00:00
Zuul
a381200e8c Merge "Disable cephfs provisioner in multinode jobs" 2019-08-14 00:48:32 +00:00
Zuul
e11e9734bd Merge "Minikube: Expose Tiller http port for metrics" 2019-08-13 21:50:28 +00:00
Zuul
eb3ec04325 Merge "AIO multinode: Add root user directive to Kubelet" 2019-08-13 16:55:10 +00:00
Zuul
3f0cda712b Merge "Remove stale images from openstack-helm-infra" 2019-08-13 16:43:59 +00:00
Steve Wilkerson
d547063c37 Disable cephfs provisioner in multinode jobs
This disables the cephfs provisioner in the multinode
periodic jobs. It seems the helm tests for the ceph
provisioner chart that test cephfs fail more often than
not in the multinode jobs while passing reliably in the
single node check and gate jobs. As cephfs is still
gated, disabling the cephfs provisioner in the periodic
jobs allows for further investigation into this issue
without causing potential regressions

Change-Id: I36e68cc2e446afac8769fb9ab753105909341f24
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-13 14:49:27 +00:00
Drew Walters
354d53c4c3 AIO multinode: Add root user directive to Kubelet
Systemd units run as the root user by default; however, environment
variables in spawned processes are not populated for the root user
unless "User=root" is specified for a particular unit [0]. This change
adds the "User=root" declaration to the Kubelet systemd unit so that
Kubelet will look in the root user's home directory for Docker
configuration information. Without this change, Docker configuration
information, such as authentication keys for private repositories, are
ignored by Kubelet even though the Docker daemon honors them.

[0] https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Environment%20variables%20in%20spawned%20processes

Change-Id: I209de0f4f04c078d39b1e8bf18195e51e965cbf3
Signed-off-by: Drew Walters <andrew.walters@att.com>
2019-08-12 15:56:47 +00:00
Zuul
9b9309fe31 Merge "(postgresql) Cert auth for replication connections" 2019-08-08 21:16:15 +00:00
RAHUL KHIYANI
ac65a37b0b Nagios – API Handling – HTTP Security Headers Not Present
Added new X-Content-Type-Options: nosniff header to make sure the browser
does not try to detect a different Content-Type than what is actually
sent (can lead to XSS)

Added new X-Frame-Options: sameorigin header to protect against
drag and drop clickjacking attacks in older browsers

Added new Content-Security-Policy: script-src self for implementation

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: Ic79bbb96484a7f1a497c001883783338fd26a47a
2019-08-07 19:08:48 +00:00
Steve Wilkerson
8573957fce Minikube: Expose Tiller http port for metrics
This updates the Minikube deployment to patch the tiller-deploy
service to add a port definition for the http (44135) port for
tiller, which is used to expose metrics for Prometheus to scrape

Change-Id: I2eb5d4001c37935674ce64012b2744030addc127
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-07 13:25:23 -05:00
Steve Wilkerson
443832a8fd Remove stale images from openstack-helm-infra
This removes the artifacts associated with images for libvirt,
mariadb, and vbmc from openstack-helm-infra as these images now
live in openstack-helm-images.

Change-Id: I5c97d2db89068c71ec1a56a5ac17007682711182
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-07 08:56:51 -05:00
Zuul
b310caef4f Merge "Grafana: Code for Calico Dashboard" 2019-08-06 21:39:48 +00:00
Zuul
4a8f788532 Merge "Generate CA crt and key if needed" 2019-08-06 18:14:08 +00:00
Hussey, Scott (sh8121)
9c27dd7576 (postgresql) Cert auth for replication connections
- Change the Postgres configuration to use x509 client
  certs for authenticating the connections for replicating
  between Patroni nodes. This is a straightforward solution
  for support credential rotation for the replication user.
  Password authentication is problematic due to the declartive
  nature of helm charts and requiring an existing replication
  connection to replicate the rotated password.

Change-Id: I0c5456a01b3a36fee8ee4c986d25c4a1d807cb77
2019-08-06 00:03:54 -05:00
Zuul
8f749dd061 Merge "RabbitMQ: Dont remove definitions.json and erlang cookie when resetting" 2019-08-02 15:03:18 +00:00
Pete Birley
eef8ea131a RabbitMQ: Dont remove definitions.json and erlang cookie when resetting
This PS udpated the reset node function to leave the assets generated
via init containers in place when resetting the node.

Change-Id: Iac52ca82e95bb372dbcbca0eeea3b262215e9c12
Signed-off-by: Pete Birley <pete@port.direct>
2019-08-02 02:05:00 +00:00
Steve Wilkerson
bc20c6c8b6 Elasticsearch: Add cron job to verify snapshot repositories
This adds a cron job to manually verify all snapshot repositories
are registered to any active master and data nodes. This is to
address scenarios where master and data nodes do not have the
desired snapshot repositories registered following node outages
or reboots

Change-Id: Ie6f42e95c3ca4dc2ec70f2852a2bde11e59ec097
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-02 02:02:14 +00:00