2413 Commits

Author SHA1 Message Date
Andrii Ostapenko
731a6b4cfa Enable yamllint checks
- document-end
- document-start
- empty-lines
- hyphens
- indentation
- key-duplicates
- new-line-at-end-of-file
- new-lines
- octal-values

with corresponding code adjustment.

Change-Id: I92d6aa20df82aa0fe198f8ccd535cfcaf613f43a
2020-05-29 19:49:05 +00:00
Zuul
b19c7f21c9 Merge "Added podsecuritypolicy for serviceaccounts" 2020-05-29 16:59:39 +00:00
Zuul
c5bd551885 Merge "Enable Apparmor to Ceph-rgw Components" 2020-05-29 03:24:16 +00:00
Zuul
139865a8cc Merge "Kibana - Add hook to delete .kibana indices" 2020-05-28 21:20:10 +00:00
Zuul
22f2a61851 Merge "[Ceph] Upgrade Ceph from 14.2.8 to 14.2.9 version" 2020-05-28 21:20:08 +00:00
Zuul
3a080cbe38 Merge "mariadb-ingress-error-pages: upgrading defaultbackend version to 1.4" 2020-05-28 20:05:02 +00:00
Zuul
a463de0e53 Merge "Add helm test to cinder in openstack-support check" 2020-05-28 18:30:40 +00:00
dt241s
d7675b072e Enable Apparmor to Ceph-rgw Components
This also adds ceph-rgw Apparmor Job.

Change-Id: I09b4e125197602b2e3518b02901e37a4ae1ddc18
2020-05-28 18:29:15 +00:00
Kabanov, Dmitrii
46930fcd06 [Ceph] Upgrade Ceph from 14.2.8 to 14.2.9 version
The PS upgrades Ceph to 14.2.9 version.

Change-Id: I72a2e39a7b4294ac8fd42b1dbc78579c2c0ae791
2020-05-28 15:46:47 +00:00
KHIYANI, RAHUL (rk0850)
12bd6c489d mariadb-ingress-error-pages: upgrading defaultbackend version to 1.4
removing ingress-error-pages.sh script as 1.4 version
has ENTRYPOINT ["/server"]

Change-Id: I6666f4f5af940836d797e838b870cd08f8e3a5e8
2020-05-27 21:40:16 +00:00
Zuul
7703cbbf6a Merge "error-pages: updating the defaultbackend version to 1.4" 2020-05-27 19:52:18 +00:00
Zuul
b59db12492 Merge "Enable Apparmor to Elasticsearch Completed Pods" 2020-05-27 17:09:35 +00:00
Ahmad Mahmoudi
798303eb88 Added podsecuritypolicy for serviceaccounts
Added capability in the podsecuritypolicy template to bind individual
serviceaccounts to clusterroles to enable enforcing psp at
serviceaccount level.

The idea is that the default psp can be tuned to be restrictive for all
serviceaccounts; and new psp, clusterroles, and clusterrolebindings are
defined to bind specific serviceaccounts or namespaces to permissive
podsecuritypolicies, based on the security requirements of a deployment.

Change-Id: I1b13c0e324b9a756a07d36b6e53786303f4a9f89
2020-05-27 15:49:04 +00:00
Gage Hugo
07410358d4 Add helm test to cinder in openstack-support check
This change adds in a helm test to properly test cinder functionality
in the openstack-support zuul check.

Change-Id: Ie4b2b8ef9e56e9745c58ce6dc8858f5f90057b96
2020-05-27 09:43:09 -05:00
Zuul
0c5b037c00 Merge "Added Ceph RGW conf properties" 2020-05-26 22:21:28 +00:00
Zuul
6b83b909f8 Merge "Add cinder deployment to OS-support check" 2020-05-26 19:16:58 +00:00
diwakar thyagaraj
36fe912df0 Enable Apparmor to Elasticsearch Completed Pods
Change-Id: I52e07c585c50817706e64b8e2f26f73c25587da7
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
2020-05-26 16:09:57 +00:00
KHIYANI, RAHUL (rk0850)
99a77eefda error-pages: updating the defaultbackend version to 1.4
removing the command "/tmp/ingress-error-pages.sh" script as the
1.4 version already uses "/server" exec
https://hub.docker.com/layers/siriuszg/defaultbackend/1.4/images/sha256-989154cad9fa0edab79acd8904b3ed643f3325fe827616ffa7c1181bb1e1321b?context=explore

Change-Id: I3769abeea16254fe5cc4f0f92eb8e8d89cf356a6
2020-05-26 10:42:29 -05:00
Tin Lam
d95259936f Revert "[ceph-osd, ceph-client] Weight OSDs as they are added"
This patch currently breaks cinder helm test in the OSH cinder jobs
blocking the gate. Proposing to revert to unblock the jobs.

This reverts commit f59cb11932e30bb607a580c976871cdecd7a714c.

Change-Id: I73012ec6f4c3d751131f1c26eea9266f7abc1809
2020-05-25 21:09:15 +00:00
Steve Taylor
f59cb11932 [ceph-osd, ceph-client] Weight OSDs as they are added
Currently OSDs are added by the ceph-osd chart with zero weight
and they get reweighted to proper weights in the ceph-client chart
after all OSDs have been deployed. This causes a problem when a
deployment is partially completed and additional OSDs are added
later. In this case the ceph-client chart has already run and the
new OSDs don't ever get weighted correctly. This change weights
OSDs properly as they are deployed instead. As noted in the
script, the noin flag may be set during the deployment to prevent
rebalancing as OSDs are added if necessary.

Added the ability to set and unset Ceph cluster flags in the
ceph-client chart.

Change-Id: Iac50352c857d874f3956776c733d09e0034a0285
2020-05-22 09:21:44 -06:00
Zuul
3691681d84 Merge "Enable yamllint checks" 2020-05-21 18:43:20 +00:00
Steven Fitzpatrick
ff291b5abb Kibana - Add hook to delete .kibana indices
This hook is enabled for post-delete and pre-upgrade triggers.
The indices deleted by this hook are Kibana's meta indices
  - .kibana
  - .kibana_1
  - .kibana_2
  etc

This is done to get around https://github.com/elastic/kibana/issues/58388
which sometimes prevents Kibana deployments from upgrading successfully.

Change-Id: I99ccc7de20c6dadb5154e4bb714dfd302a694a78
2020-05-21 11:22:28 -05:00
Zuul
0160b00aaa Merge "fix(tpl): correct a rendering issue" 2020-05-21 15:55:18 +00:00
Andrii Ostapenko
67d1409a74 Enable yamllint checks
- brackets
- braces
- colon
- commas

with corresponding code adjustment.

Change-Id: I8d294cfa8f358431bee6ecb97396dae66f955b86
2020-05-21 14:04:23 +00:00
Zuul
68a1b92768 Merge "fix(mariadb): undo error masking" 2020-05-21 03:34:34 +00:00
Zuul
dc45aeb2de Merge "Add yamllint check to lint job" 2020-05-21 01:25:04 +00:00
Gage Hugo
52b05321a6 Add cinder deployment to OS-support check
This patchset adds a cinder deployment to the openstack-support
check in order to deploy a service that further exercises ceph
in Zuul.

Change-Id: I722049016d15c5297fdc9666c4472a1c884a7b68
2020-05-20 23:35:49 +00:00
Kabanov, Dmitrii
2aa6b3cf1c [Ceph] Add kubernetes tolerations for ceph deployments
The PS adds kubernetes tolerations for deployments from ceph-client,
ceph-mon, ceph-provisioners and ceph-rgw charts.

Change-Id: If96f5f2058fca6e145e537e95af39089f441ccbb
2020-05-20 19:32:06 +00:00
Andrii Ostapenko
6779ff041c Add yamllint check to lint job
Initial commit with bootstrapping non-voting configuration
for yamllint. Yamllint checks will be switched from 'warning'
to 'enabled' in subsequent commits together with code adjustments.

Change-Id: Ie372cb9fefb310bd044b4b03064e183f0c8c003b
2020-05-20 12:42:28 -05:00
Tin Lam
a9dfcbed76 fix(mariadb): undo error masking
In catastrophic scenario where grastate.dat cannot be found, it is
better to raise an exception rather than masking it with some
default values that may not be correct. This should now just cause
the pod to crashloop rather than silently failing - potentially allowing
other problems (e.g. bad images) to be exposed.

Change-Id: I4ff927dd85214ea906c20547b020e3fd7b02e2d5
Signed-off-by: Tin Lam <tin@irrational.io>
2020-05-20 17:35:04 +00:00
Zuul
ca46c3a086 Merge "Enable Apparmor to all osh-infra test pods Also Changed container names to static." 2020-05-20 15:11:06 +00:00
James Gu
2f8ea3977b Added Ceph RGW conf properties
To meet CNTT certification test requirements, added a few Ceph RGW
configuration properties: rgw_max_attr_name_len,
rgw_max_attrs_num_in_req, rgw_max_attr_size, rgw_swift_versioning_enabled.

Change-Id: Ia92a6f25147270de010cf0feba0cbdabad05459b
Signed-off-by: James Gu <james.gu@att.com>
2020-05-20 02:34:56 +00:00
Zuul
8a8eb3b8ed Merge "Enable Apparmor to all rabbitmq test pods" 2020-05-20 00:51:55 +00:00
Zuul
bd1c867913 Merge "Kibana: Add support for arbitrary object definitions via overrides" 2020-05-20 00:46:46 +00:00
diwakar thyagaraj
163c5aa780 Enable Apparmor to all osh-infra test pods
Also Changed container names to static.

Change-Id: I51f53b480d18aaa38a9707429f01052ee122e7e9
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
2020-05-19 15:36:07 +00:00
Radhika Pai
e966ae6ba8 Kibana: Add support for arbitrary object definitions via
overrides

This allows for customizing the
indexes required by different deployment targets instead of
assuming all indexes are common for every type of deployment.

Change-Id: Iae9a35462400f7c8612ee7d0b49bfd6a20d3120c
2020-05-19 09:11:40 -05:00
Zuul
0e6314ff14 Merge "Elasticsearch: Bump Exporter to v1.1.0 (latest/stable tag)" 2020-05-19 03:48:55 +00:00
Steven Fitzpatrick
ad28e68440 Elasticsearch: Bump Exporter to v1.1.0 (latest/stable tag)
This change updates the Elasticsearch chart for compatibility with
the latest version of the Elasticsearch exporter. There are some
breaking changes between v1.0.1 and v1.1.0 - mainly with how arguments
are handled by the program.

All of the configuration options currently available are now exposed
in values.yaml

Change-Id: I8c71d5f6ed4a8360ad886338adb8ad63471eefd1
2020-05-18 19:08:39 -05:00
Zuul
ee57e65bf0 Merge "[ingress] Support nginx-ingress-controller 0.30.0" 2020-05-18 22:28:33 +00:00
DODDA, PRATEEK
d964bff1bf Enable Apparmor to all rabbitmq test pods
Change-Id: I60499c39e1cdd1e0657e7ff9241a835cd0b0a266
2020-05-18 21:33:27 +00:00
Andrii Ostapenko
82c6ceaf18 Don't try to apply k8s acl control to non existent container
Change-Id: Iff8dee23cad5e1846135456df66d52b8aa3b19a2
2020-05-18 17:52:58 +00:00
Michael Polenchuk
0e644a1fac [ingress] Support nginx-ingress-controller 0.30.0
In 0.30.0 (busybox inside) the "find" tool doesn't support
"writable" option, so use "perm" instead. Also get rid of
several system calls by means of make all by one command.

Change-Id: Ia4f7bc01fb61f4f32c21c50d8c4e870d0244c868
2020-05-17 05:39:51 +00:00
Zuul
99c09daa74 Merge "[Ceph OSD] Add OSD device class" 2020-05-14 20:26:25 +00:00
Zuul
aa957ea2c4 Merge "Mariadb: Add apparmor profile to init-containers" 2020-05-14 18:10:47 +00:00
Zuul
fcef42e747 Merge "Fluentd: Attach uuid to fluentd config etc" 2020-05-14 16:42:07 +00:00
Kabanov, Dmitrii
459d044040 [Ceph OSD] Add OSD device class
The PS adds possibility to override device class through
the key in values.yaml. Motivation: In some cases the device driver
is providing incorrect information about the type of device and
automatic detection is setting incorrect device class.


Change-Id: I29eb2d5100f020a20f65686ef85c0975f909b39d
2020-05-14 16:18:14 +00:00
Zuul
9da1296667 Merge "chore(images): update to stein bionic images" 2020-05-14 15:57:12 +00:00
Zuul
9df8b4ee94 Merge "Elasticsearch Secret Vars" 2020-05-14 15:48:28 +00:00
Zuul
3408809e3d Merge "Elasticsearch remote logging user" 2020-05-14 15:16:52 +00:00
KHIYANI, RAHUL (rk0850)
845385de38 Mariadb: Add apparmor profile to init-containers
This change adds apparmor profile to mariadb init containers and
ingress init container

Change-Id: I843baf221a82d234104b14db5b02026fe87e6063
2020-05-14 09:57:21 -05:00