3170 Commits

Author SHA1 Message Date
Ritchie, Frank (fr801x)
05cad716e5 Add support for rgw placement targets
This PS adds support for rgw placement targets:

https://docs.ceph.com/en/latest/radosgw/placement/#placement-targets

Change-Id: I6fc643994dcf2c15a04f07b8703968a76c009c18
2021-03-12 22:16:41 +00:00
Huang, Sophie (sh879n)
87429ebb86 Disable mariadb mysql history client logging
Environment variable MYSQL_HISTFILE is added to mariadb container
to disable storing client mysql history to ~/.mysql_history file.

Change-Id: Ie95bc1f830fbf34d30c73de07513299115d8e8c5
2021-03-12 20:50:15 +00:00
Stephen Taylor
69a7916b92 [ceph-client] Disable autoscaling before pools are created
When autoscaling is disabled after pools are created, there is an
opportunity for some autoscaling to take place before autoscaling
is disabled. This change checks to see if autoscaling needs to be
disabled before creating pools, then checks to see if it needs to
be enabled after creating pools. This ensures that autoscaling
won't happen when autoscaler is disabled and autoscaling won't
start prematurely as pools are being created when it is enabled.

Change-Id: I8803b799b51735ecd3a4878d62be45ec50bbbe19
2021-03-12 15:03:51 +00:00
Kiran Kumar Surapathi (ks342f)
4b42f3f57f Fix Helm tests for the Ceph provisioners
We are adding the node selectors to helm tests for Ceph provisioners

Change-Id: I0fc9a78dcd27a92486dc724ce9294da96826eac9
2021-03-11 17:34:12 +00:00
Zuul
ff81e97301 Merge "Stop using fsGroup inside container securityContext" 2021-03-11 03:11:42 +00:00
Zuul
8a3151a7c6 Merge "Replace brace expansion with more standardized Posix approach" 2021-03-10 23:57:29 +00:00
Mohammed Naser
737f5610e3 Pin a few Java configuration values to 8-13
The newer versions of ElasticSearch use Java 15 which has dropped
some of those options, we can keep backwards compatibility by
pinning to certain versions[1].

[1]: https://discuss.elastic.co/t/elasticsearch-wont-start-after-7-9-1-to-7-9-2-upgrade/249878/2

Change-Id: Iaa29bc202d9eb9c5eda3040b38596f0524a0c453
2021-03-10 17:23:36 -05:00
Mohammed Naser
3fee13c5cd Stop using fsGroup inside container securityContext
fsGroup is not supported inside the container securityContext,
only inside the pod.  This drops a configuration that is not
valid and makes things deployable.

Change-Id: I956a1de107768c3fadc704722db83eb661cd25d2
2021-03-10 16:51:16 -05:00
bw6938
bb3ce70a10 [ceph-client] enhance logic to enable and disable the autoscaler
The autoscaler was introduced in the Nautilus release. This
change only sets the pg_num value for a pool if the autoscaler
is disabled or the Ceph release is earlier than Nautilus.

When pools are created with the autoscaler enabled, a pg_num_min
value specifies the minimum value of pg_num that the autoscaler
will target. That default was recently changed from 8 to 32
which severely limits the number of pools in a small cluster per
https://github.com/rook/rook/issues/5091. This change overrides
the default pg_num_min value of 32 with a value of 8 (matching
the default pg_num value of 8) using the optional --pg-num-min
<value> argument at pool creation and pg_num_min value for
existing pools.

Change-Id: Ie08fb367ec8b1803fcc6e8cd22dc8da43c90e5c4
2021-03-09 22:11:47 +00:00
Neely, Travis (tn720x)
2300e76904 Replace brace expansion with more standardized Posix approach
There is also an extra . which causes the expansion to fail.

Change-Id: Id0c02e2f293a72048e33078548a588d5cf1b62ce
2021-03-09 16:01:02 -06:00
Kabanov, Dmitrii
cda359ef1f [Ceph] Add Ceph CSI plugin
The PS adds Ceph CSI plugin (RBD only)

Change-Id: I3ddc69e49d12ff178263f38ac10aff90bb82b902
2021-03-09 16:54:45 +00:00
Zuul
3e4a46d450 Merge "Update rbac api version for elastic-metricbeat" 2021-03-05 19:29:21 +00:00
Zuul
345f63383e Merge "Rename mariadb backup identities" 2021-03-05 19:29:07 +00:00
Zuul
fc418a30dd Merge "Update rbac api version for kubernetes-node-problem-detector" 2021-03-05 19:29:01 +00:00
okozachenko
5db88a5fb4 Rename mariadb backup identities
Challenge:
Now remote_ks_admin and remote_rgw_user are using for user labels
of backup target openstack cloud.
When the backup user doesn't exist and we can enable job_ks_user
manifest.
But job_ks_user uses .Vaules.secrets.identity.admin and mariadb,
while secret-rgw and cron-job-backup-mariadb use .Values.secrets.
identity.remote_ks_admin and remote_rgw_user.
It requires to use same values for admin and remote_ks_admin,
and for mariadb and remote_rgw_user.
Seems it isbreaking values consistency.

Suggestion:
Now providing 2 kinds of backup - pvc and swift.
"remote_" means the swift backup.
In fact, mariadb chart has no case to access to keystone except
swift backup. So we can remove remote_xx_* prefix and there is
no confusion.

Change-Id: Ib82120611659bd36bae35f2e90054642fb8ee31f
2021-03-03 20:46:51 +02:00
Zuul
618c064d25 Merge "Add metadata in job templates" 2021-03-03 17:07:23 +00:00
Zuul
c107f44f86 Merge "[mariadb-ingress] Uplift Mariadb-ingress to 0.42.0" 2021-03-03 16:32:54 +00:00
Zuul
a6867a7953 Merge "Remove kafka residue" 2021-03-02 21:49:25 +00:00
Gupta, Sangeet (sg774j)
d64c5fea64 TLS gates from infra monitoring
Change-Id: If41dae31763abac8c9c65b1650556438a9b6b0df
2021-03-02 16:10:24 +00:00
jinyuanliu
d3d16964da Remove kafka residue
About kafka chart,It's been removed,Remove kafka residue now.

Change-Id: Ia9b4b9ea1070e74172f10505709e68063054810a
2021-03-02 16:44:55 +08:00
Zuul
0b308f7752 Merge "Enforce release notes updates" 2021-03-02 06:32:56 +00:00
Zuul
1a3cc61109 Merge "Remove zookeeper residue" 2021-03-02 02:23:04 +00:00
anthony.bellino
dcd77ceba3 [mariadb-ingress] Uplift Mariadb-ingress to 0.42.0
- Uplifts the image to nginx 0.42.0 to address CVEs
- Updates nginx.tmpl accordingly for nginx 0.42.0
- Adds CLusterRole and labels needed for nginx 0.42.0
- Updates release notes for mariadb

Change-Id: Ie4e2a66873bc130c547ff8f30d8e1b2ee9a62186
2021-03-01 18:07:23 -08:00
Gage Hugo
00334a7f8a Enforce release notes updates
This change removes the ignore-errors parameter for the
linter in order to enforce release note updates per chart
change.

Change-Id: I15f538be3c4ad253d5c4f64c21c0b1df10e7e5d2
2021-03-01 22:55:14 +00:00
Lo, Chi (cl566n)
87e3a02dd5 Enable TLS for grafana
This patchset updates grafana chart manifests to enable TLS with
osh-infra mariadb.  TLS for osh-infra mariadb is completed as part
of TLS phase 1, no additional mariadb chart work is required to
work with this patch.

Change-Id: Ic01e7c012ab2167d59b2117eb985386666f2bb2a
2021-03-01 12:21:31 -08:00
Zuul
ee5482e9ed Merge "Update ldap chart releasenotes to latest" 2021-03-01 19:28:05 +00:00
Zuul
e6ac7c44fa Merge "Update elasticsearch chart releasenotes to latest" 2021-03-01 16:05:02 +00:00
okozachenko
0ae8f4d21a Add metadata in job templates
- Add application label using service name
- Add before-hook-creation delete policy as a default
  (It is a default one in helmv3)
- Add custom metadata by passing params

Change-Id: Ie09f8491800031b9ff051a63feb3e018cb283342
2021-03-01 17:31:21 +02:00
jinyuanliu
5c6d281b62 Remove zookeeper residue
About zookeeper chart,It's been removed,But there are still some related scripts that have not been completely deleted,we should remove them.

Change-Id: Iae20717482ad6c7a40f54174eef120d094abbd59
2021-03-01 14:31:03 +08:00
Gage Hugo
5dd9a25b28 Update ldap chart releasenotes to latest
This change updates the releasenotes for the ldap chart to the
latest version of the chart as of this patchset.

Change-Id: I8c22fb3a7b0c6235e7179d96e32c1f160bf08ed2
2021-03-01 02:49:15 +00:00
Stephen Taylor
cf7d665e79 [ceph-client] Separate pool quotas from pg_num calculations
Currently pool quotas and pg_num calculations are both based on
percent_total_data values. This can be problematic when the amount
of data allowed in a pool doesn't necessarily match the percentage
of the cluster's data expected to be stored in the pool. It is
also more intuitive to define absolute quotas for pools.

This change adds an optional pool_quota value that defines an
explicit value in bytes to be used as a pool quota. If pool_quota
is omitted for a given pool, that pool's quota is set to 0 (no
quota).

A check_pool_quota_target() Helm test has also been added to
verify that the sum of all pool quotas does not exceed the target
quota defined for the cluster if present.

Change-Id: I959fb9e95d8f1e03c36e44aba57c552a315867d0
2021-02-26 16:49:10 +00:00
jinyuan
ab4989fd17 Update elasticsearch chart releasenotes to latest
This change updates the releasenotes for the elasticsearch chart to the latest version of the chart as of this patchset.

Change-Id: Idd4180993775807ebcef3e7879afb2f8ab42148c
2021-02-26 09:04:17 +08:00
Zuul
937c984766 Merge "[ca-issuer]: Support different versions of cert-manager" 2021-02-25 22:07:39 +00:00
bw6938
367f7bec3c [ceph-rgw] update rbac api version
When using helm3 to deploy, it fails as helm 3
no longer supports rbac.authorization.k8s.io/v1beta1,
but v1 can support helm2 and helm3 (liujinyuan@inspur.com).

Change-Id: I8e0ceb0c0991fd48b5b6a1b688a5c1b91f58c02e
2021-02-25 19:59:09 +00:00
Haider, Nafiz (nh532m)
97bd2c4937 [ca-issuer]: Support different versions of cert-manager
Support cert manager version v1.2.0 by default and
logic to support earlier versions.

Change-Id: I70a45eb3cccc7cfbe2784048a4524bd9e4d832df
2021-02-25 19:19:52 +00:00
Zuul
128c3f748a Merge "Revert "[ceph-client] enhance logic to enable the autoscaler for Octopus"" 2021-02-25 19:02:27 +00:00
Brian Wickersham
714cfdad84 Revert "[ceph-client] enhance logic to enable the autoscaler for Octopus"
This reverts commit 910ed906d0df247f826ad527211bc86382e16eaa.

Reason for revert: May be causing upstream multinode gates to fail. 

Change-Id: I1ea7349f5821b549d7c9ea88ef0089821eff3ddf
2021-02-25 17:04:37 +00:00
Zuul
4977aaa48d Merge "Re-enable "feat(tls): Change Issuer to ClusterIssuer""" 2021-02-25 09:34:24 +00:00
Zuul
599c32847a Merge "Update libvirt chart releasenotes to latest" 2021-02-25 08:50:28 +00:00
jinyuan
f33e27cf51 Update rbac api version for kubernetes-node-problem-detector
When using a helm3 to deploy , it fails. Helm3 no more support rbac.authorization.k8s.io/v1beta1 , but v1 can support helm2 and helm3.

Change-Id: I2760befdc20e73989bce5cc581d086de57f91383
2021-02-25 08:49:14 +00:00
jinyuan
2ff4c5c40b Update rbac api version for elastic-metricbeat
When using a helm3 to deploy , it fail! Helm3 no more support rbac.authorization.k8s.io/v1beta1 , but v1 can support helm2 and helm3.This change optimized deployment.

Change-Id: I41ca3ee2490eadce8d043cf6a757bf8569f31931
2021-02-25 08:47:03 +00:00
jinyuan
8b9089a5c1 Update libvirt chart releasenotes to latest
This change updates the releasenotes for the libvirt chart to the latest version of the chart as of this patchset.

Change-Id: I055c69b4c5a266641b4684a94a46675475f27409
2021-02-25 00:46:50 +00:00
Zuul
168172e643 Merge "[Update] Grafana: Provision any dashboard as homepage" 2021-02-24 22:27:46 +00:00
Nafiz Haider
6ee06562c8 Re-enable "feat(tls): Change Issuer to ClusterIssuer""
This reverts commit 8a79d7c51bdeec35d12194fe39672036c8bb1a5c.

Reason for revert: resolved bug with cluster issuer versioning

Co-authored-by: Sangeet Gupta <sg774j@att.com>

Change-Id: I047cbfaa5aa9e7285a23e603074429180495557d
2021-02-24 20:50:24 +00:00
Zuul
8fac7cb621 Merge "[RFC] Remove Kafka and Zookeeper from osh-infra" 2021-02-24 18:59:04 +00:00
Pai, Radhika (rp592h)
d5fb81b7f7 [Update] Grafana: Provision any dashboard as homepage
Grafana v7.3 has ability to add the customized dashboard as homepage.
This removes the necessity to have explicit job to add a homepage.

Clean up the explicit add_home-dashboard job.

Change-Id: I68baa7693f545e2d91dba01ae61b4bdae8a26bee
2021-02-24 09:28:15 -06:00
Phil Sphicas
b11fa5509b Fix elasticsearch-master rendering error
Update the elasticsearch-master statefulset to use the correct
helm-toolkit snippet for the update strategy.

Change-Id: Ifd07a13cc63f1ba610a3f70052ec64be9db3b09c
2021-02-23 20:17:18 +00:00
Steven Fitzpatrick
558a4b5b2c [RFC] Remove Kafka and Zookeeper from osh-infra
These charts have not been used or maintained in quite a while

Change-Id: Ia5778a7a7e74e4938d5f0a1cf17102fc2b5cc779
2021-02-23 14:18:23 +00:00
Zuul
7ebc49c338 Merge "Update postgresql chart releasenotes to latest" 2021-02-23 09:33:48 +00:00
Zuul
7d15f2e345 Merge "Update falco chart release notes to latest" 2021-02-23 01:24:03 +00:00