1573 Commits

Author SHA1 Message Date
Zuul
596732f16b Merge "Gate: Gather previous pod logs for failed containers" 2019-04-20 20:34:17 +00:00
Zuul
2e15054947 Merge "This commit adds docker-default apparmor profile for prometheus-node-exporter." 2019-04-20 20:34:16 +00:00
Zuul
aba5b7584d Merge "Prometheus: Add pod/container security context" 2019-04-20 20:29:32 +00:00
Zuul
7b539caf89 Merge "Revert "readOnlyFilesystem: true for elasticsearch chart"" 2019-04-20 19:32:49 +00:00
Randeep Jalli
ccfd614141 This commit adds docker-default apparmor profile for prometheus-node-exporter.
Change-Id: Ie8660e206280184eb5f4c03b7dd54047436c16ba
2019-04-20 19:01:20 +00:00
Steve Wilkerson
cc8c78dd6c Gate: Gather previous pod logs for failed containers
This updates the post-run pod logs task to gather logs from any
failed containers, allowing for identifying issues associated with
pods that fail to start in the gate jobs

Change-Id: I9195f319a064f84f62d2aa558df05f8f81b9abea
2019-04-20 18:59:12 +00:00
Rahul Khiyani
f25e458515 Prometheus: Add pod/container security context
This updates the prometheus chart to include the pod
security context on the pod template. This changes the pod's
user from root to the nobody user instead

This also adds the container security context to explicitly set
allowPrivilegeEscalation to false and readOnlyRootFilesystem to true

Change-Id: I2a3a4b77d9b25c086dc23b4fd66dca92872c422d
2019-04-20 18:54:44 +00:00
Rahul Khiyani
5e1ecd9840 Revert "readOnlyRootFilesystem: true for kibana chart"
This reverts commit 244f177ecb2574e8984b8590655af491e49420b4.

removing readOnlyRootFilesystem flag since pods are running to "crashLoopBackOff" state by implementing HTK functionality

when we have set the readOnly flag at pod without HTK functionality the changes were not effected. That is why it passed the gate.

Change-Id: I6920956b881fa358a37003d21a7b76602e2ac61c
2019-04-20 03:36:25 +00:00
OpenDev Sysadmins
29b124e3dc OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:34:11 +00:00
Zuul
f9404949d8 Merge "Add Docker default AppArmor profile to Ceph-osd Change apparmor for ceph-osd into gate script Change-Id: I587c98dd6e55b8eb7af0c8100f2cb3cb1be96438" 2019-04-18 20:45:10 +00:00
Rahul Khiyani
189630ba91 Revert "readOnlyFilesystem: true for elasticsearch chart"
This reverts commit ab86685bea6df436c93220ce63900549c19effff.

removing readOnlyRootFilesystem flag since pods are running to "crashLoopBackOff" state by implementing HTK functionality

when we have set the readOnly flag at pod without HTK functionality the changes were not effected. That is why it passed the gate.

Change-Id: Iaa6b89a6a19e8f85d02bf6d06f45570469674d4f
2019-04-18 20:42:13 +00:00
Zuul
1bd83d6e20 Merge "Elasticsearch, Fluent-logging, Kibana Ingress Policy" 2019-04-18 19:24:28 +00:00
Rahul Khiyani
4f59603879 Calico-etcd: Add pod/container security context
This updates the Calico-etcd chart to include the pod
security context on the pod template

This also adds the container security context to set
readOnlyRootFilesystem to true

Change-Id: I10ff398d7a552d5287d841ca39c77ea097f7e67e
2019-04-18 12:43:48 +00:00
Jiří Suchomel
319e0d345a Add OpenSUSE Leap15 specific values overrides
Only provide the paths for the right images, no other helm charts updates.

Change-Id: I9449bc30a4a36062219f44612fadcc81ce777410
2019-04-18 10:25:10 +02:00
Rahul Khiyani
70aaafb2d1 Revert "readOnlyFilesystem: true for nagios chart"
This reverts commit e20242fbdb3de6a2a7e42f2026937a4a17c88d09.

removing readOnlyRootFilesystem flag since pods are running to "crashLoopBackOff" state by implementing HTK functionality

when we have set the readOnly flag at pod without HTK functionality the changes were not effected. That is why it passed the gate.

Change-Id: I6027be601b4241b26b0fbc3c70c886714dac4a48
2019-04-17 22:08:55 +00:00
Zuul
d738cd5e91 Merge "Mariadb: Disable monitoring by default" 2019-04-16 21:26:40 +00:00
Steve Wilkerson
2e8c96a623 Elasticsearch, Fluent-logging, Kibana Ingress Policy
This adds ingress network policy for the fluent-logging, kibana
and Elasticsearch charts. This leverages the helm-toolkit template
that was used in openstack-helm for the openstack services

Change-Id: I2a89b62f1002851346e9a25de40113078e9c518f
2019-04-16 19:44:46 +00:00
Zuul
8f7acd5ebc Merge "ceph-provisioners: Add pod/container security context" 2019-04-16 19:37:45 +00:00
Zuul
62ec05958a Merge "Tiller: Add pod/container security context" 2019-04-16 18:27:03 +00:00
Rahul Khiyani
c8b6b4b073 ceph-provisioners: Add pod/container security context
This updates the ceph-provisioners  chart to include the pod
security context on the pod template

This also adds the container security context to set allowPrivilegeEscalation
to false and readOnlyRootFilesystem to true

Change-Id: Iee49ffe17f2cd08fc978461269b654d3b2cb4406
2019-04-16 17:57:46 +00:00
Zuul
6b17525b93 Merge "Fix YAML indentation" 2019-04-16 17:34:26 +00:00
Rahul Khiyani
76daa2e7df Tiller: Add pod/container security context
This updates the tiller chart to include the pod
security context on the pod template

This also adds the container security context to set
allowPrivilegeEscalation to false

Change-Id: Ic0d87ba2e933444ebe8a6d59d7bb74aae81a051d
2019-04-16 15:22:22 +00:00
Rahul Khiyani
3995e7d3de Revert "readOnlyRootFilesystem: true for openvswitch chart"
I believe when we have set the readOnly flag at pod without HTK functionality the changes were not reflected. That is why it passed the gate.

Later with HTK functionality the gates never passed and I have tested that in various ways and finally I had to unset the readOnly flag

This reverts commit 598040bea05737ea1ee2460ba8675ed7c061e63a.

Change-Id: Icf8d3cc60045926ab60b9735ee1e8202c15df9d5
2019-04-16 02:28:32 +00:00
Zuul
2abcc6d8b4 Merge "elasticsearch-exporter: Add security context for exporter pod/container" 2019-04-15 23:05:47 +00:00
Zuul
5da1320e3f Merge "Update ceph armada manifest" 2019-04-15 20:33:11 +00:00
Zuul
67c7b24bb5 Merge "Add selector.matchLabel key to packetbeat and apm-server" 2019-04-15 20:33:10 +00:00
Steve Wilkerson
4c85854246 Update ceph armada manifest
This updates the ceph armada manifest with new resource
waits where applicable

Change-Id: I6a622fe13dfa7317a3b5a7ed3f57b713b441fab0
2019-04-15 13:03:37 -05:00
Zuul
df6b792a5a Merge "Allow value overrides in CI" 2019-04-15 17:14:59 +00:00
dt241s
7e868649bb Add Docker default AppArmor profile to Ceph-osd
Change apparmor for ceph-osd into gate script
Change-Id: I587c98dd6e55b8eb7af0c8100f2cb3cb1be96438
2019-04-15 11:08:47 -05:00
Pete Birley
fca6519901 MariaDB: Remove mysql_upgrade as implemntation breaks mariabackup
This PS temporaily removes the mysql_upgrade logic as it breaks
mariabackup as currently implemented.

Change-Id: I1f74d104b004ddb641d354dfee82557b18c3677a
Signed-off-by: Pete Birley <pete@port.direct>
2019-04-15 10:34:16 -05:00
Tin Lam
36108b1db8 Fix YAML indentation
Trivial fix. This patch set fixes inconsistent indentations in YAML file.

Change-Id: I98ed9680d93f9c21e44b7da8462c9ce3607350bd
Signed-off-by: Tin Lam <tin@irrational.io>
2019-04-13 00:47:22 +00:00
Zuul
0b14152664 Merge "Add docker-default apparmor profile for prometheus process exporter." 2019-04-12 18:37:59 +00:00
Anderson, Craig (ca846m)
c9396e3480 Add tiller version requirement to helm-toolkit
Change-Id: I30b54188dcfb7d007cb5812f40fd7e0d9ccc443d
2019-04-11 10:32:10 -07:00
Randeep Jalli
26faa8a66d Add docker-default apparmor profile for prometheus process exporter.
Change-Id: Iaa1eb80074c280ff00cc599105b598130132cc26
2019-04-11 17:16:49 +00:00
Randeep Jalli
c98f7a7f05 Fix Elasticsearch helm test indentation
This indents the closing {{ end }} for the check for executing the 
Elasticsearch test that checks the snapshot repositories

Change-Id: I77ebb1af7ee648cc9787665bfb81dfbb1a30663a
2019-04-10 13:59:08 +00:00
Jean-Philippe Evrard
811a1df1ef Allow value overrides in CI
This allows to pass a new env var into shell scripts, for value
overrides, with Zuul's help (value_overrides can be part of the
job definition).

Change-Id: Ia5dcecb73f4b872fd8fb65d3cd0bf69c19addf07
2019-04-10 11:46:37 +00:00
Zuul
ab887b11aa Merge "Add Liveness probe to Calico-Kubecontrollers" 2019-04-10 00:21:27 +00:00
Goutham Pratapa
d8bc4f0c48 Add Liveness probe to Calico-Kubecontrollers
This commit is to add liveness probe to the
calico kubecontroller containers.

Change-Id: I99e5b0c1e04d94605efa8bfe6863f1f50c2692cd
2019-04-09 22:24:04 +00:00
kranthikirang
6c45566132 ceph-mon, tenat-ceph storageclass schema
In order to align with ceph-provisioner storageclass
.Values we need to update ceph-mon .Values and tenant-
ceph scripts

Change-Id: I36fb07de9e791ac33cf0b4c38b3e4d63337d3e72
Story: storageclass schema changes
Signed-off-by: kranthi guttikonda <kranthi.guttikonda@att.com>
Signed-off-by: kranthikirang <kranthi.guttikonda@b-yond.com>
2019-04-09 22:10:23 +00:00
Steve Wilkerson
380bc3a892 Mariadb: Disable monitoring by default
This moves the mariadb chart back to disabling the prometheus
exporter by default

Change-Id: I04a10e9733f98387f0502ed76fa926bacaedb7e4
2019-04-09 13:29:57 -05:00
Steve Wilkerson
ff31ec7ad9 Add selector.matchLabel key to packetbeat and apm-server
This adds the selector.matchLabel key to the packetbeat daemonset
and the elastic-apm-server deployment templates as it's a required
field for apps/v1

Change-Id: Idcc639b49b34579508e77a03f814dcf45ecf667c
2019-04-09 13:21:52 -05:00
Steve Wilkerson
a63f3b3662 MariaDB: Add network policy template for mysql exporter
This adds the network policy template and overrides for the mysql
prometheus exporter.

Change-Id: I83b526d11fe25f45b02a7e797b785b8ad59c7848
2019-04-09 12:16:22 -05:00
Koffi Nogbe
211ce288ca Add Create database if not exist to postgres restore
* Postgresql lack the feature of creating databases if not exist
  * Add a function to workaround in the restore script.

Change-Id: If451204e3cec573a0dbfe91549a47ee569799a22
2019-04-09 12:59:20 -04:00
Zuul
c77dc230f4 Merge "Fix mysqldump default option" 2019-04-09 03:49:38 +00:00
Zuul
da8cb2ffa1 Merge "Ceph: fix overriding ceph monitor hosts value" 2019-04-08 16:38:31 +00:00
Zuul
ef012b829c Merge "HTK: Update k8s-entrypoint container macro to add security context" 2019-04-08 16:34:34 +00:00
Pete Birley
9af2ef9f62 HTK: Update k8s-entrypoint container macro to add security context
This PS updates the htk k8s-entrypoint container macro to add security
context, with a set of defaults to allow operation with existing charts.

Change-Id: Ib41600e2e3c848ae0d62181ad7e01f3cf00a26a0
Signed-off-by: Pete Birley <pete@port.direct>
2019-04-08 13:03:03 +00:00
Zuul
96eca1f425 Merge "MariaDB: remove unused options and function from backup script" 2019-04-07 21:31:34 +00:00
Zuul
5bd0404af8 Merge "MariaDB: Catch when mysqld process has exited immediately" 2019-04-07 20:25:42 +00:00
Zuul
0bf55001a1 Merge "MariaDB: Clean up values file and exporter start script" 2019-04-07 20:13:54 +00:00