Commit Graph
272 Commits
Author SHA1 Message Date
Travis Nielsen 2524ceafe0 build: update release version to v1.9.13
For the patch release the examples and docs are updated
to v1.9.13

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-11-03 14:27:13 -06:00
parth-gr 2aa84b2e70 ci: update mon_data_avail_warn percentage
I see the mon_data_avail_warn is set to 500M
but acording to ceph doc this should be in percentage
And by default this percentage is 30%,
So re assigned to 10% for the CI

Closes: https://github.com/rook/rook/issues/11130
Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit d392129cdd)
2022-10-10 16:15:25 +00:00
Travis Nielsen 92efe8af44 build: update the release version to v1.9.12
For the patch release we update the docs and examples to
v1.9.12

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-10-06 14:00:46 -06:00
Travis Nielsen 6784473f95 osd: recommend removing memory limits from osd prepare job
The osd prepare job is not recommended to have memory limits since
it's a one-time operation depending on the size of the disk that must
be allowed to complete successfully.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4a86012ead)
2022-10-05 22:44:15 +00:00
Travis Nielsen 473664008f osd: prepare job needs significant more memory for provisioning
The OSD creation may need to burst during OSD provisioning depending
on the size of the OSD or similar factors. If the OSD prepare job is
OOM killed it will cause OSD provisioning to fail and have various
side effects that are difficult to troubleshoot to get the OSD
to succeed. So we increase the recommendation significantly to avoid
the OOM kill.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 92c52c4a2e)
2022-10-05 19:47:36 +00:00
Travis Nielsen d481e6ff0b build: update the release version to 1.9.11
For the patch release update the example manifests and docs
to v1.9.11

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-09-27 12:14:01 -06:00
parth-gr a7ba7020ec ci: add mon_data_avail_warn to canary ci test
ceph cluster on ci mostly have health error
mon disk low on size,
so overriding the min aval capacity to 0 from 30% default so this
error can be removed

Closes: rook#10971

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit df8493d77b)
2022-09-15 16:10:13 +00:00
Jamison Lofthouse 318f4c535b monitoring: fix pool growth warning grouping
Predict linear will continue to predict on exporter data from old pods.
We can take the max value for every hour in the 2 day window before we
linearly predict to get the most conservative estimate. This will only
affect the hour in which a new mgr pod is started.

Fixes #10691

Signed-off-by: Jamison Lofthouse <jamison.lofthouse@gmail.com>
(cherry picked from commit f553034351)
2022-09-13 17:32:19 +00:00
parth-gr 32e4160971 external: do not add info=read cap if ceph version doesn't support it
The rgw ip validation feature was needing to update the rgw user
cap to add info=read permission, but this permission is only backported
till ceph pacific, so we added a check that only add this cap
when ceph version support it,
But this cap was also adding with the other caps, so removed it from there
Now it will only add this cap if ceph version support it

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 54425803b6)
2022-09-12 21:16:28 +00:00
Blaine Gardner c8820d551c helm: set OBC storageclass name to right namespace
OBC storageclasses should have their names based on the cluster
namespace and not the operator namespace. Fix the chart to reflect this.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 5f00d291c9)
2022-09-07 14:28:29 +00:00
Travis Nielsen 62a848b12c build: update release version to 1.9.10
Update the docs and manifests to release version v1.9.10

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-29 15:05:09 -06:00
Blaine Gardner cd1baf0efe build: remove psp from common.yaml generation
Due to an oversight, PSP resources were left in generation of
common.yaml from #10797. Resolve that by setting
pspEnable=false when generating common.yaml.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 6c8f2e414f)
2022-08-29 17:17:16 +00:00
Blaine Gardner 5d33ba6a18 docs: move PSPs from common.yaml to psp.yaml
Also update docs. Use `make gen-rbac` to generate psp.yaml.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 1e9bbae583)
2022-08-26 11:24:50 -06:00
zhucan fe420e679d object: generated code
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
(cherry picked from commit 1da927e40e)
2022-08-22 17:59:12 +00:00
Travis Nielsen b5bfa6f7f3 build: update the release version to v1.9.9
For the patch release update the examples and docs to
v1.9.9

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-08-11 13:49:09 -06:00
parth-gr f4aea652a1 external: fix cluster id naming in import-external-cluster script
Cluster_ID variable that we export from python script was different
from what we going to use in import script so changed it

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit 62fec90c19)
2022-08-11 16:53:34 +00:00
yati1998 ca7efa592d csi: introduce new log level for sidecars
This commit introduces new log level called csidecarLogLevel
for the sidecars which are not maintained by the csi-driver.
This will allow to have different configuration options
for the sidecars like snapshotter, resizer, attacher and
provisioner containers which will help to avoid the
spamming of logs to an extent.

Signed-off-by: yati1998 <ypadia@redhat.com>
(cherry picked from commit ecc67faa5c)
2022-08-02 20:11:18 +00:00
James Harmison 1d701006c2 monitoring: fix localrule indent
Indentation level for the rule array for pools was inconsistent, leading to a broken YAML array.
This commit corrects indentation level for pool rules to align with the rest of the array.

Closes: https://github.com/rook/rook/issues/10653
Signed-off-by: James Harmison <jharmison@gmail.com>
(cherry picked from commit 2ae305749a)
2022-08-02 15:24:48 +00:00
subhamkrai cb7728141f core: add support to rotate log based on logfile size
this commits add new field `MaxLogSize` inside `LogCollectorSpec` of
cephCluster cr which will take max size of log after which we want to
rotate the log.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 62f73dcd98)
2022-08-01 21:23:22 +00:00
Travis Nielsen 29704e5662 Merge pull request #10662 from rook/mergify/bp/release-1.9/pr-10647
csi: disable liveness sidecar by default (backport #10647)
2022-08-01 15:21:48 -06:00
Madhu Rajanna 98b0e6fbc7 csi: disable liveness sidecar by default
A Liveness sidecar container that is deployed
with the CSI pods will be helpful to check
csi driver is properly responding or not.
and there is no liveness or readiness
kubernetes probe added for this one.
Providing an option to enable this
sidecar deployment and disabling it by default.

fixes #8783

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 187bea6701)
2022-08-01 18:59:26 +00:00
subhamkrai d1fcf05174 Revert "ci: use ceph v17.2.1 instead of latest v17"
This reverts commit 3279cb91870e59eccabb9b5eff903d71beb31594.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c4742278d1)
2022-08-01 16:07:10 +00:00
Travis Nielsen 37ebd51f13 Merge pull request #10643 from rook/mergify/bp/release-1.9/pr-10580
docs: CephFS mirroring updates around Peer Tokens (backport #10580)
2022-07-27 14:19:09 -06:00
Anthony D'Atri e39fd4b947 docs: improve descriptions in localrules.yaml
Parallel upstream changes via https://github.com/ceph/ceph/pull/47284

Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit dc53497d37)
2022-07-27 17:40:39 +00:00
Gaurav Sitlani 9ee2df6f2b docs: cephfs mirroring updates around peer tokens
This commit updates the CephFS mirroring documentation
around Peer tokens to get the token created correctly.

Signed-off-by: Gaurav Sitlani <gauravsitlani@riseup.net>
(cherry picked from commit 27f2098ad9)
2022-07-27 16:26:02 +00:00
Travis Nielsen 54e570a9a3 build: update release version to v1.9.8
For the patch release the operator version and example manifests are
updated to v1.9.8

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-26 12:37:16 -06:00
Travis Nielsen 42029d2b8f Merge pull request #10599 from rook/mergify/bp/release-1.9/pr-10590
examples: fix secrets naming import-external-cluster.sh script (backport #10590)
2022-07-26 11:52:46 -06:00
Mathieu Parent 559541e544 helm: add labels and annotations to PrometheusRule
Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
(cherry picked from commit 44b43557f9)
2022-07-25 19:45:42 +00:00
subhamkrai b60df9309b ci: use ceph v17.2.1 instead of latest v17
there could be something breaking with latest ceph.
So, let's stick to v17.2.1.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 4501cc25c6)
2022-07-25 12:41:12 -06:00
Travis Nielsen 4ca6a88c49 build: update examples to ceph v16.2.10
With the release of ceph v16.2.10 we update the operator base
image and the default example install to configure v16.2.10.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-25 12:28:00 -06:00
Josh Soref 224944dba8 core: fix spelling
* another
* are
* availability
* available
* bootstrap
* boundaries
* ceph
* certificate
* class
* codifies
* consuming
* corrupted
* createor
* csi
* deployments
* exceeded
* execute
* filesystem
* healthiness
* heuristics
* immediately
* insecure
* installed
* isolated
* maintained
* maximum
* minute
* monitor
* new
* nginx
* nonexistent
* not
* occurs
* omitempty
* operator
* orchestration
* persistentvolumes
* placement
* preexisting
* prometheus
* protecting
* provisioner
* purposes
* reconcile
* regex
* related
* requests
* returns
* rubbish
* running
* schedulable
* schedule
* serviceaccount
* simulating
* snapshots
* statement
* static
* tenants
* the
* unavailable
* volumeattachment
* waiting
* with
* wrapper
* zonegroup

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
(cherry picked from commit 6e7b8767f3)
2022-07-15 08:41:11 -06:00
zhucan 5e5b1cac49 object: generated code
Signed-off-by: zhucan <zhucan.k8s@gmail.com>
(cherry picked from commit 6f6c26009c)
2022-07-14 17:21:48 +00:00
Ali, Akil 33327fc4c7 external: fix secrets naming
The secrets are being created with "rook-" prefix, but used without it.
Signed-off-by: Ali, Akil <ali-akil@gmx.de>
(cherry picked from commit 25265bc9c2)
2022-07-14 16:44:46 +00:00
subhamkrai 4516ec6ee2 helm: add missing port for webhook in helm
adding port which was missing from helm rook-ceph chart
which is used by webhook due to which it was failing with
```
failed to run operator: gave up to run the operator manager: failed to
run the controller-runtime manager: listen tcp :9443: bind: address
already in use
```

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 94f0c0dc25)
2022-07-08 14:35:03 +00:00
Travis Nielsen c61f909bea build: set release version to v1.9.7
For the patch release the examples and documentation are updated
to v1.9.7.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-07-07 13:04:45 -06:00
Alexander Trost b13bb0bdb7 helm: use recommended value for helm managed-by label
This changes the `app.kubernetes.io/managed-by` label to use the helm
`{{ .Release.Service }}` for it's value.
This is recommended by the Helm labels and annotations standard labels
doc page, see https://helm.sh/docs/chart_best_practices/labels/#standard-labels

Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 455508ea14)
2022-07-07 17:57:38 +00:00
Travis Nielsen 53e51db44a Merge pull request #10554 from rook/mergify/bp/release-1.9/pr-10547
manifest: use `Recreate` strategy for operator upgrade (backport #10547)
2022-07-07 10:48:10 -06:00
parth-gr d6a4187bdd csi: add support for subvolumegroup and rados namespace
Using subvolume group and rados namespace for external deployment
was complicated and not documented,
Automating the process for the users, so they just need to pass
the respective names by cli flag for creation

Closes: rook#10427

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit c9a864ccdb)
Signed-off-by: parth-gr <paarora@redhat.com>
2022-07-06 19:15:04 +05:30
Santosh Pillai cd9333394f manifest: use Recreate strategy for operator upgrade
Use `Recreate` strategy instead of `RollingUpdate` for
rook-ceph-operator deployement upgrade

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 693c2d9306)
2022-07-05 17:41:41 +00:00
Markus Schmidleitner 0d8a46d266 helm: use correct namespace for provisioner in cephobjectstore template (fixes #10153)
Signed-off-by: Markus Schmidleitner <markus.schmidleitner@ocilion.com>
(cherry picked from commit 36a9374555)
2022-06-28 14:54:34 +00:00
Travis Nielsen c48c68c07c build: update release version to v1.9.6
The patch release is updated in the docs and examples to v1.9.6

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-23 14:10:46 -06:00
parth-gr 95ec5ba437 osd: increase memory of osd prepare pods
In helm charts default value of osd prepare pods
limit was less so increased it to 400Mi

closes: https://github.com/rook/rook/issues/10477

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit bf1342b2b3)
2022-06-23 15:41:21 +00:00
Rakshith R 54bf464c56 csi: add token create rbac for rbd csi clusterrole
This rbac is required to fetch serviceaccount
token for vault tenant sa encryption type on k8s 1.24+.
refer: https://github.com/ceph/ceph-csi/pull/3174

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 623c5159d5)
2022-06-19 02:42:02 +00:00
Niels de Vos 217dd10e3c csi: update CSI-Addons side-car to latest (v0.4.0) release
A new version of the CSI-Addons side-car has been released, fixing
several bugs and adding small enhancements.

See-also: https://github.com/csi-addons/kubernetes-csi-addons/releases/tag/v0.4.0
Signed-off-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit 5dbb9a919d)
2022-06-16 17:41:31 +00:00
parth-gr 82cdc5b94e csi: make storage class updated with csi-users in external cluster
For using restricted auth users we need to update the
restricted users in the Storage class, so updating
it in the json output for external cluster

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit b7c165b411)
Signed-off-by: parth-gr <paarora@redhat.com>
2022-06-13 18:30:07 +05:30
parth-gr 5ac9624e80 csi: update restricted auth flag
remove the restriction of per rados namespace as
there can be multiple namespaces and the csi-users
can only have 1 type in a storage class

Signed-off-by: parth-gr <paarora@redhat.com>
(cherry picked from commit dcba689129)
2022-06-13 18:24:42 +05:30
Humble Chirammal b439d46d27 mon: update node labels as per new key value
From kube v1.24 onwards, Kubeadm applies a "node-role" label to its
control plane Nodes.Currently this label key is node-role.kubernetes.io/master
and it will be renamed to node-role.kubernetes.io/control-plane. Kubeadm
also uses the same "node-role" as key for a taint it applies on control
plane Nodes. This taint key should also be renamed to
"node-role.kubernetes.io/control-plane".

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
(cherry picked from commit 750faa5747)
2022-06-10 14:03:58 +00:00
Travis Nielsen 6d78b414dd build: update release version to v1.9.5
For the patch release update the examples and docs
to v1.9.5

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2022-06-09 11:26:29 -06:00
Travis Nielsen 4c7333624b Merge pull request #10426 from rook/mergify/bp/release-1.9/pr-10424
csi: update cephcsi from 3.6.1 to 3.6.2 (backport #10424)
2022-06-09 09:53:38 -06:00
Madhu Rajanna c52b8aa759 csi: update cephcsi from 3.6.1 to 3.6.2
As we have new cephcsi patch release i.e v3.6.2
updating Rook dependency to the same.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 3e70d278cb)
2022-06-09 09:01:16 -06:00