Commit Graph
11451 Commits
Author SHA1 Message Date
Joshua Hoblitt 4822dfc73c test: mv canary test specific resources out of deploy_cluster()
Factor out most of the CRs used by various canary tests to a new
deploy_cluster_full_of_cruft_please_stop_using_this() function.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 31d55b90fe)
2024-10-03 17:51:32 +00:00
Joshua Hoblitt 33b345f0a5 test: add object-with-cephblockpool canary test
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit ed8156017e)
2024-10-03 17:51:31 +00:00
Joshua Hoblitt 89a3eb5542 rgw: fix cephObjectStore failing with pre-existing pools
When attempting to use pre-existing (or cephBlockPool managed) pools and
the cephObjectStore.spec.{metadataPool,dataPool} fields are not
specified, rgw creation will fail with this error:

    2024-09-25 21:00:17.744358 E | ceph-object-controller: failed to reconcile CephObjectStore "rook-ceph/test1". failed to create object store deployments: failed to create object pools: failed to create metadata pools: failed to create pool "test1.rgw.control": pool "test1.rgw.control" type is not defined as replicated or erasure coded

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 9b952e0a55)
2024-10-03 17:51:30 +00:00
Joshua Hoblitt dc4460cdec test: add github-action-helper toolbox functions
Added these functions for running commands in the toolbox pod:

- toolbox()
- ceph()
- rbd()
- radosgw-admin()

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit cb1dd152ad)
2024-10-03 17:51:30 +00:00
mergify[bot] 704136c1d5 Merge pull request #14796 from rook/mergify/bp/release-1.15/pr-14791
helm: Add enforce host network setting (backport #14791)
2024-10-03 00:57:12 +00:00
Travis Nielsen 38d3d28dd9 helm: add enforce host network setting
The ROOK_ENFORCE_HOST_NETWORK option was implemented recently
and now we add the helm setting to expose this new setting
in the rook chart.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 810de394e7)
2024-10-02 22:04:58 +00:00
mergify[bot] 7058e048a1 Merge pull request #14794 from rook/mergify/bp/release-1.15/pr-14775
core: add ROOK_REVISION_HISTORY_LIMIT operator setting (backport #14775)
2024-10-02 20:40:25 +00:00
Michael Adam 1cb843acab helm: add revisionHistoryLimit setting
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 20f0031280)
2024-10-02 20:11:54 +00:00
Michael Adam d60966a626 core: add ROOK_REVISION_HISTORY_LIMIT operator setting
This adds an operator config setting ROOK_REVISION_HISTORY_LIMIT
defaulting to kubernetes'value for RevisionHistoryLimit.

If configured, the provided value will be used as RevisionHistoryLimit

for all Deployments rook creates.

Fixes: #12722

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit ab8fd90aa6)
2024-10-02 20:11:54 +00:00
mergify[bot] d815286186 Merge pull request #14788 from rook/mergify/bp/release-1.15/pr-14755
core: preserve pool application name change (backport #14755)
2024-10-01 17:28:33 +00:00
Travis Nielsen 8b02ae4f57 Merge pull request #14787 from rook/mergify/bp/release-1.15/pr-14782
csi: add sc privileged to logrotate sidecar container (backport #14782)
2024-10-01 11:11:06 -06:00
Santosh Pillai 771c165e69 core: preserve pool application name change
default application name is updated inside the `CreatePool` method. Send
pool spec as address in order to preserve this change.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 1a95d6f533)
2024-10-01 17:01:44 +00:00
parth-gr a65087b00b csi: add sc privileged to logrotate sidecar container
deployments on openshift where we need csi container pods
to be run on privileged, the logrotate sidecar container was missing the
privileged permission letting, side car to not run properly

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 21ca333ed7)
2024-10-01 15:56:18 +00:00
Travis Nielsen c69857f9be Merge pull request #14785 from rook/mergify/bp/release-1.15/pr-14752
docs: Declare cephconfig settings stable (backport #14752)
2024-10-01 08:29:53 -06:00
Travis Nielsen a33f180b56 docs: declare cephconfig settings stable
The cephConfig settings in the CephCluster CR have been
stable and there are no planned changes, so remove the
experimental documentation indicator. Also, clarify
the usage and the precedence of the ceph config
options.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1c9727c271)
2024-09-30 20:26:58 +00:00
Travis Nielsen 6d6bff47a6 Merge pull request #14768 from rook/mergify/bp/release-1.15/pr-14748
build: support golang 1.23 (backport #14748)
2024-09-25 11:25:32 -06:00
Michael Adam e751697177 build: support golang 1.23
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 9ecd6a2500)
2024-09-25 16:16:53 +00:00
mergify[bot] 56c685cee5 Merge pull request #14762 from rook/mergify/bp/release-1.15/pr-14761
build: keep specific z version in go mod 1.22.5 (backport #14761)
2024-09-24 18:02:55 +00:00
subhamkrai 812c44e7f9 build: keep specific z version in go mod 1.22.5
let's keep specific z version in go.mod 1.22.5.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit b818dd1c7d)
2024-09-24 11:07:27 -06:00
mergify[bot] 0ea35c9ee0 Merge pull request #14759 from rook/mergify/bp/release-1.15/pr-14746
csi: fix the ROOK_CSI_DISABLE_DRIVER flag in the csi reconcile  (backport #14746)
2024-09-24 13:03:32 +00:00
parth-gr 448f89c48c csi: fix the disable driver flag in the csi driver reconcile
ROOK_CSI_DISABLE_DRIVER was not working accurate
from https://github.com/rook/rook/pull/14489
The csi driver was installed even if its not
expected

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 166e4f35b2)
2024-09-23 16:20:57 +00:00
Travis Nielsen 51116fae20 Merge pull request #14749 from rook/mergify/bp/release-1.15/pr-14718
docs: update external docs with a better structure (backport #14718)
2024-09-20 09:40:38 -06:00
parth-gr 7f3cd3d884 docs: update external docs with a better structure
step1 to improve the external docs
and make it more clear to end user

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 467578d368)
2024-09-20 14:30:45 +00:00
mergify[bot] 570efbb09a Merge pull request #14745 from rook/mergify/bp/release-1.15/pr-14722
external: mds caps to healthchecker/cephfs users (backport #14722)
2024-09-20 06:42:06 +00:00
subhamkrai 690a4a629a external: mds caps to healthchecker/cephfs users
for cephfs fencing in external mode, we run command `ceph tell mds ***`
which requires user user to include cap mds allow * in permission. So,
we need to add this in healthchercker and cephfs provisioner user

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 32c5d99ef5)
2024-09-20 06:12:53 +00:00
Travis Nielsen ffe87031b6 Merge pull request #14744 from travisn/release-1.15.2
build: Update release version to v1.15.2
v1.15.2
2024-09-19 14:21:10 -06:00
Travis Nielsen d8f8ec9d43 build: update the release version to v1.15.2
For the patch release update the docs and examples
to v1.15.2

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2024-09-19 13:06:50 -06:00
Travis Nielsen 3eb17e28f2 Merge pull request #14712 from rook/mergify/bp/release-1.15/pr-14702
doc: add the pv encryption key rotation job (backport #14702)
2024-09-19 13:01:18 -06:00
mergify[bot] dff8f6a36b Merge pull request #14742 from rook/mergify/bp/release-1.15/pr-14731
core: Enable annotations on crash collector (backport #14731)
2024-09-19 18:18:27 +00:00
Travis Nielsen 8c64dec248 core: enable annotations on crash collector
The crash collector daemon had missed the ability to
add custom annotations via the cephcluster CR, as already
supported for all the other daemons.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit fa2941d098)
2024-09-19 17:49:17 +00:00
Travis Nielsen 03f9aaba82 Merge pull request #14735 from rook/mergify/bp/release-1.15/pr-14717
Configure prio-limit for ceph exporter container (backport #14717)
2024-09-19 11:48:45 -06:00
subham rai baa75373d3 Merge pull request #14740 from rook/mergify/bp/release-1.15/pr-14738
ci: fix ci permission issue with minikube start (backport #14738)
2024-09-19 22:01:47 +05:30
subhamkrai 3b9188071d ci: fix ci permission issue with minikube start
this commit upgrade the minikube, k8s, crictl versions
in CI and also fix permission error in the github runner.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit f647444515)
2024-09-19 16:01:29 +00:00
Artem Torubarov 362cf539eb exporter: move config to cluster CRD
allows to set prio-limit and stats-period options to ceph exporter

Signed-off-by: Artem Torubarov <artem.torubarov@clyso.com>
(cherry picked from commit b2c39ace25)
2024-09-18 20:16:36 +00:00
Travis Nielsen d6e270a714 Merge pull request #14734 from rook/mergify/bp/release-1.15/pr-14720
docs: Add documentation for VolumeGroupSnapshot (backport #14720)
2024-09-18 14:13:55 -06:00
Niraj Yadav e622c52f3f docs: add documentation for volumegroupsnapshot
This PR adds the sample YAMLs and documentation
for the VolumeGroupSnapshot feature.

Signed-off-by: Niraj Yadav <niryadav@redhat.com>
(cherry picked from commit 1e3d08f114)
2024-09-18 19:47:24 +00:00
mergify[bot] 642dd3837d Merge pull request #14721 from rook/mergify/bp/release-1.15/pr-14679
docs: add grafana dashboards files to docs (backport #14679)
2024-09-12 17:11:59 +00:00
Alexander Trost 4f69682e7d ci: code spell ignore grafana dashboard json files
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 325950239b)
2024-09-12 16:44:34 +00:00
Alexander Trost 7ac0716fe6 docs: add grafana dashboards files to docs
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
(cherry picked from commit 36f6807fbe)
2024-09-12 16:44:34 +00:00
mergify[bot] 1cdb226100 Merge pull request #14711 from rook/mergify/bp/release-1.15/pr-14709
pool: Allow negative step num in crush rule (backport #14709)
2024-09-10 14:28:23 +00:00
parth-gr adb0a66c4d doc: add the pv encryption key rotation job
Add missing csi addon's feature in the Rook document

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 4af5b6a331)
2024-09-10 14:13:37 +00:00
Travis Nielsen 63e7c8125d pool: allow negative step num in crush rule
The crush rules may have a negative step num.
Rook had assumed negative values were not possible,
but just had not been encountered previously in
a custom crush rule.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b9188c793a)
2024-09-10 13:58:34 +00:00
Travis Nielsen 1a1daf6bff Merge pull request #14707 from rook/mergify/bp/release-1.15/pr-14693
csi: stop deleting csi-operator resources (backport #14693)
2024-09-09 12:19:15 -06:00
mergify[bot] 629e700b43 Merge pull request #14706 from rook/mergify/bp/release-1.15/pr-14653
core: check for duplicate ceph fs pool names (backport #14653)
2024-09-09 17:11:49 +00:00
subhamkrai 3eaf33b077 csi: stop deleting csi-operator resources
to keep it simple we'll not delete the csi-operator resources
we'll only document this for users who want to switch to csi-drivers.
Anyways by next release we'll only support csi-operator only.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit a16ad75c92)
2024-09-09 16:42:53 +00:00
sp98 a19ad79353 core: check for duplicate ceph fs pool names
Only single pool will get created if there are multiple
data pool entries with same name. This PR just adds a check
to fail if duplicate pools are present.

Signed-off-by: sp98 <sapillai@redhat.com>
(cherry picked from commit 8fa8612201)
2024-09-09 16:40:49 +00:00
mergify[bot] 9c877efa91 Merge pull request #14696 from rook/mergify/bp/release-1.15/pr-14694
csi: update to new cephcsi release (backport #14694)
2024-09-06 15:22:28 +00:00
Madhu Rajanna 5f2be2e52c csi: update to new cephcsi release
we have 3.12.2 as the new cephcsi release
updating the rook to use the same.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit d041be4bcf)
2024-09-06 14:52:00 +00:00
Travis Nielsen 8cbd486f99 Merge pull request #14683 from rook/mergify/bp/release-1.15/pr-14645
osd: discover metadata and wal devices for raw device cleanup (backport #14645)
2024-09-05 11:52:06 -06:00
Travis Nielsen 7723c5a100 Merge pull request #14691 from rook/mergify/bp/release-1.15/pr-14585
introduce a way to enforce host network on all pods (backport #14585)
2024-09-05 11:51:50 -06:00