Commit Graph
12904 Commits
Author SHA1 Message Date
Jan Breitkopf 14d1f81ee4 operator: fix OSD info
This fixes OSD info being incomplete when a sidecar container is first
in the .spec.Template.Spec.Containers list.
I added a small helper function to find a container named "osd" instead
of always assuming the first one.

Signed-off-by: Jan Breitkopf <jan.breitkopf@prorocketeers.com>
(cherry picked from commit 1ff6f70311)
2026-02-05 19:55:09 +00:00
Blaine Gardner be28d8506a Merge pull request #17027 from rook/mergify/bp/release-1.18/pr-17022
osd: fix updateExistingOSDs function for cancelled context (backport #17022)
2026-02-05 09:41:28 -07:00
Santosh 154615a121 osd: fix update OSDs logic for cancelled context
`updateExistingOSDs` should not wait and retry if the golang context got
cancelled. Else it would keep on retrying for 20 minutes before
exciting.

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit 33046734b3)
2026-02-05 15:50:37 +00:00
subham rai d533d908d1 Merge pull request #17011 from cybozu-go/debug-1.18
test: resove some canary test failures on v1.18 branch
2026-02-05 13:28:54 +05:30
Joshua Hoblitt 27b7a7dd5c test: merge integration-test-config-latest-k8s & canary-test-config
into a single combined integration-test-setup-cluster-resources
workflow. This ensures that the same gha runner preparation, go version,
etc. is used for both the canary and integration tests.

(cherry picked from commit c5bfe3a)

Change from the original version:
- Keep the test target k8s versions as are.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
2026-02-05 02:14:39 +00:00
Travis Nielsen 33d8969373 Merge pull request #17007 from rook/mergify/bp/release-1.18/pr-17005
test: Multicluster test to use raw device instead of partition (backport #17005)
2026-02-03 19:03:14 -07:00
Travis Nielsen 2b6a8ea8f9 test: multicluster test to use raw device instead of partition
With the iscsi device created now for integration tests,
the multicluster test can now use the raw device name
instead of assuming it is a partition.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit e08c183d82)
2026-02-03 22:50:32 +00:00
Travis Nielsen 3fa54aaceb Merge pull request #16999 from rook/mergify/bp/release-1.18/pr-16994
test: create iscsi disk if extra disk does not exist (backport #16994)
2026-02-02 11:03:34 -07:00
Satoru Takeuchi 9c5aeaf57c test: create iscsi disk if extra disk does not exist
We found a new github runner that doesn't have an extra
disk mounted on /mnt and it causes massive amounts
of CI failures. We can overcome this circumstance
by creating an iSCSI disk as an extra disk.

ref. https://github.com/rook/rook/issues/16978#issue-3862612835

Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
(cherry picked from commit 0137274b58)
2026-02-02 17:28:33 +00:00
subham rai 2829207ccb Merge pull request #16980 from rook/mergify/bp/release-1.18/pr-16979
remove nodes/proxy rbac grants (backport #16979)
2026-01-30 09:14:58 +05:30
Blaine Gardner f69152aa82 Merge pull request #16986 from rook/mergify/bp/release-1.18/pr-16982
nfs: add CephNFS.spec.server.{image,imagePullPolicy} fields (backport #16982)
2026-01-29 14:29:52 -07:00
Joshua Hoblitt 03055c26ec nfs: add CephNFS.spec.server.{image,imagePullPolicy} fields
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 3a15255583)
2026-01-29 20:47:46 +00:00
Tobias Florek 305d54bfbc security: remove nodes/proxy rbac grants
It has only been used by the flex driver which is long gone.

This removes the nodes/proxy RBAC grant from the helm chart, the example
YAMl and the security design docs.

Signed-off-by: Tobias Florek <me@ibotty.net>
(cherry picked from commit db814dcd4b)
2026-01-28 19:14:39 +00:00
Travis Nielsen 2299523db0 Merge pull request #16917 from rook/mergify/bp/release-1.18/pr-16916
docs: Remove extra paren from upgrade guide (backport #16916)
2026-01-13 14:16:56 -07:00
Travis Nielsen b500c06d07 docs: remove extra paren from upgrade guide
The upgrade guide had an extra paren after a link.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 5db8627aec)
2026-01-13 21:11:36 +00:00
Travis Nielsen 82271bbe71 Merge pull request #16915 from obnoxxx/release-1.18-prep-v1.18.9
build: set release version to v1.18.9
v1.18.9
2026-01-13 12:00:47 -07:00
Michael Adam eabb5e1025 build: set release version to v1.18.9
For the patch release update the docs and examples to
v1.18.9

Signed-off-by: Michael Adam <obnox@samba.org>
2026-01-13 19:18:33 +01:00
Travis Nielsen ba73694da3 Merge pull request #16909 from rook/mergify/bp/release-1.18/pr-16908
ci: Increase wait timeout for two object canary test (backport #16908)
2026-01-12 16:43:29 -07:00
Travis Nielsen 79cad7b603 Merge pull request #16906 from rook/mergify/bp/release-1.18/pr-16895
csi: Disable read affinity for ceph v20.2.0 (backport #16895)
2026-01-12 16:21:17 -07:00
Travis Nielsen 5b1a31206d ci: increase wait timeout for two object canary test
The two-object-one-zone canary test is not waiting
long enough for the cluster to be created. The default
timeout is 120s, and it frequently hits that timeout.
When the test passes, it commonly takes between 100-120
seconds to complete, so we just need to increase the
timeout.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 993e7b2f01)
2026-01-12 22:59:40 +00:00
Travis Nielsen 0f1d51e839 csi: disable read affinity for ceph v20.2.0
Read affinity in Ceph v20.2.0 can cause corruption.
Disable this feature for this version of Ceph to
avoid hitting any corruption in this case. When the next
patch release is out for tentacle, this issue will be
resolved and when upgrading to it, read affinity would
automatically be re-enabled if needed.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 76e9c04b36)
2026-01-12 14:35:12 -07:00
Blaine Gardner 1602c86576 Merge pull request #16902 from rook/mergify/bp/release-1.18/pr-16897
docs: Update cosi controller to new github repo (backport #16897)
2026-01-12 09:40:24 -07:00
Jade Bilkey 3ded0844fa docs: update cosi controller to new github repo
The cosi controller has moved to a new repo and added versioning. 0.2 is the last expected minor release before v1alpha2 which will need more updating.

Signed-off-by: Jade Bilkey <herself@thefumon.com>
(cherry picked from commit df0aa9c1a7)
2026-01-12 16:05:32 +00:00
Travis Nielsen 681ff63157 Merge pull request #16893 from rook/mergify/bp/release-1.18/pr-16874
core: allow skipping cephcluster reconcile via do-not-reconcile label (backport #16874)
2026-01-09 13:32:12 -07:00
Oded Viner b586b0dc0f core: allow skipping cephcluster reconcile via do-not-reconcile label
add support for ceph.rook.io/do-not-reconcile on cephcluster crs
skip reconcile early and emit a normal reconcile-skipped event
avoid reloadmanager on updates for labeled cephclusters
add unit test for skip behavior

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 5be726b386)
2026-01-09 12:27:37 -07:00
subham rai 9bb9d1bccf Merge pull request #16863 from rook/mergify/bp/release-1.18/pr-16862
helm: merge rook-config-override ConfigMap into toolbox ceph.conf (backport #16862)
2025-12-19 14:59:26 +05:30
Matthew N. Heler 6ea8e53714 helm: merge rook-config-override ConfigMap into toolbox ceph.conf
This change mounts the rook-config-override ConfigMap in the helm chart
toolbox and merges its contents into the generated ceph.conf, matching
the behavior from commit 9570d141.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
(cherry picked from commit 690589c080)
2025-12-18 18:30:08 +00:00
subham rai 7522c474da Merge pull request #16859 from rook/mergify/bp/release-1.18/pr-16854
helm: add cephclusters/finalizers permission for mgr sidecar (backport #16854)
2025-12-18 12:47:06 +05:30
Manuel Grandeit 54594126ef helm: add cephclusters/finalizers permission for mgr sidecar
The watch-active sidecar reconciles Services and wants to set
blockOwnerDeletion=true in the ownerReference. On clusters with
OwnerReferencesPermissionEnforcement admission controller this
requires the cephclusters/finalizers permission.

Signed-off-by: Manuel Grandeit <m.grandeit@gmail.com>
(cherry picked from commit 4f7ead07ca)
2025-12-17 16:01:06 +00:00
subham rai c7d45950c3 Merge pull request #16856 from rook/mergify/bp/release-1.18/pr-16837
csi: add fix to support multiple fs mount option (backport #16837)
2025-12-17 20:58:20 +05:30
subhamkrai 0901eeb651 csi: add fix to support multiple fs mount option
previously, if multiple mount option was passed it was
handing it wrong. For example,
```
ms_mode=prefer-secure,recover_session=clean
```
 was treated as
```
ms_mode: prefer-secure,recover_sessio
```

With current fix it handles it correctly. Example,
```
ms_mode: prefer-secure,
recover_session=clean,
```

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit acf9ad8995)
2025-12-17 14:52:01 +00:00
subham rai fec840a40d Merge pull request #16832 from rook/mergify/bp/release-1.18/pr-16831
ci: Fix canary ibm keyprotect test (backport #16831)
2025-12-11 14:03:48 +05:30
Travis Nielsen 6326b3c66d ci: fix canary ibm keyprotect test
The ibm keyprotect canary test was missing the csi operator
creation, so the cluster could not be reconciled.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 8b251ff6a2)
2025-12-11 07:15:12 +00:00
Travis Nielsen 7035ee8724 Merge pull request #16820 from rook/mergify/bp/release-1.18/pr-16786
operator: watch cephConfigFromSecret changes (backport #16786)
2025-12-09 14:50:22 -07:00
Martin Rowe 30dba8c0e6 operator: watch cephConfigFromSecret changes
Add a resource watch to reconcile clusters when any referenced Secrets
in cephConfigFromSecret are updated. This matches the behaviour of
reconciling clusters when cephConfig changes. Without this change, if a
Secret that is referenced by cephConfigFromSecret is updated, then the
cluster is not immediately updated, so the cluster state will not match
the configuration until something else triggers a reconcile.

Resolves #16371

Signed-off-by: Martin Rowe <martin.p.rowe@gmail.com>
(cherry picked from commit 816c67847d)
2025-12-09 11:59:24 -07:00
Blaine Gardner 9eff39826b Merge pull request #16814 from rook/mergify/bp/release-1.18/pr-16804
rgw: support all S3 notification events in CRD validation (backport #16804)
2025-12-08 12:11:50 -05:00
Artem Torubarov c103c72f0c rgw: support all S3 notification events in CRD validation
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit 7ee062bc06)
2025-12-08 15:51:30 +00:00
subham rai 6f8d351994 Merge pull request #16800 from rook/mergify/bp/release-1.18/pr-16795
ci: add github action to free disk space (backport #16795)
2025-12-08 12:28:24 +05:30
subhamkrai 63faf88530 ci: add github action to free disk space
this commit adds new github action to free some disk
space. It was revert sometime back when github runner
size was increased but looks like we need to add again
as mon is complaining regarding low disk space. Integration
tests already have this adding this in canary tests.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit c983fc39db)
2025-12-05 21:31:43 +00:00
Travis Nielsen afdc38f5bd Merge pull request #16796 from rook/mergify/bp/release-1.18/pr-16789
docs: Add pool parameter for erasure code optimizations (backport #16789)
2025-12-05 14:24:41 -07:00
Travis Nielsen de920de4f1 docs: add pool parameter for erasure code optimizations
Ceph Tentacle v20 comes with erasure coding optimizations
that must be enabled explicitly with a setting on the pool.
Add this setting to the docs and examples.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c05768feb3)
2025-12-05 16:54:08 +00:00
Travis Nielsen 321f12c809 Merge pull request #16785 from obnoxxx/prep-v1.18.8
build: set release version to v1.18.8
v1.18.8
2025-12-02 11:12:12 -07:00
Michael Adam 0ceb1f0bb7 build: set release version to v1.18.8
For the patch release update the docs and examples to
v1.18.8

Signed-off-by: Michael Adam <obnox@samba.org>
2025-12-02 18:08:58 +01:00
subham rai 81ae155a05 Merge pull request #16752 from rook/mergify/bp/release-1.18/pr-16501
core: add support for ceph tentacle (backport #16501)
2025-11-24 16:01:51 +05:30
subhamkrai 1354b6b0c3 core: add support for ceph tentacle
we are now adding tentacle to the supported versions and add the
upgrade test from squid to tentacle. Also, clean some unused code.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 11fac627b0)
2025-11-21 14:44:43 +00:00
Travis Nielsen 7561d3fc11 Merge pull request #16749 from rook/mergify/bp/release-1.18/pr-16745
helm: Include exporter options in CephCluster (backport #16745)
2025-11-20 18:54:43 -07:00
Michael Chapman 0a56c946a2 helm: include exporter options in cephcluster
The operator supports setting options on the node exporter, such
as hostNetwork, which were previously omitted from the templated
CephCluster resource in the rook-ceph-cluster chart.

fixes: #16742
Signed-off-by: Michael Chapman <michael@aptira.com>
(cherry picked from commit 2e5dc5a16c)
2025-11-20 17:36:58 +00:00
Travis Nielsen f65097bbd6 Merge pull request #16740 from rook/mergify/bp/release-1.18/pr-16731
toolbox: merge rook-config-override ConfigMap into ceph.conf (backport #16731)
2025-11-19 12:17:14 -07:00
Matthew N. Heler c92f803ffa manifest: merge rook-config-override ConfigMap into ceph.conf
The toolbox was not respecting the rook-config-override ConfigMap,
resulting in a minimal ceph.conf with only mon_host and keyring settings.
This made it difficult to run diagnostic commands that require custom
configuration parameters.

This change mounts the rook-config-override ConfigMap in all toolbox
variants and merges its contents into the generated ceph.conf. The
merge happens after writing the base config with mon endpoints, and
is re-applied whenever mon endpoints change.

The toolbox now has consistent behavior with other Rook-managed Ceph
daemons (mon, mgr, osd, mds, rgw) which already respect config overrides.

Signed-off-by: Matthew N. Heler <matthew.heler@hotmail.com>
(cherry picked from commit 9570d141de)
2025-11-19 18:33:22 +00:00
subham rai 6d667d40cc Merge pull request #16738 from rook/mergify/bp/release-1.18/pr-16735
un-reverse ControllerPlugin/NodePlugin resource settings (backport #16735)
2025-11-18 15:55:35 +05:30