Commit Graph
13652 Commits
Author SHA1 Message Date
Michael Adam 148d4e1f60 ci: always test latest patch releases of kubernetes versions
Not all of he CI workflows that test on kubernetes tested on the latest
patch release so far.

This change updates the CI to always test on the latest patch release
when testing on kubernetes.

More explicitly, this changes thew CI to use:

* v1.35.5 instead of v1.35.4
* v1.33.12 instead of v1.33.11

As a result, the kubernetes versions tested in the CI are now:

* v1.31.14
* v1.32.13
* v1.33.12

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 8906bcec0a)
2026-05-28 07:49:55 -06:00
Travis Nielsen a3e99b7a82 Merge pull request #17615 from rook/mergify/bp/release-1.20/pr-17601
docs: add csi change as a breaking change in upgrade doc (backport #17601)
2026-05-27 17:40:32 -06:00
subhamkrai 02c9b622dd docs: add csi change as a breaking change in upgrade doc
updating rook upgrade to mention the csi changes as breaking
change and updating the steps.

Co-authored-by: Travis Nielsen <tnielsen@redhat.com>

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 32d68cc4a5)
2026-05-27 23:18:38 +00:00
subhamkrai 51868449e9 operator: add csi operator cr default in openshift example
adding csi operator CR default values to operator-openshift
file for cluster running on openshift.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit e4e6d3958a)
2026-05-27 23:18:37 +00:00
Travis Nielsen a88cee31e0 Merge pull request #17609 from rook/mergify/bp/release-1.20/pr-17572
object: remove AWS SDK v1 dependency (backport #17572)
2026-05-27 11:23:55 -06:00
Oded Viner 37e92fd749 object: remove AWS SDK v1 dependency
Remove the AWS SDK v1 (github.com/aws/aws-sdk-go)
dependency entirely. All S3 operations now use AWS SDK v2
exclusively.

- Remove the v1 Client field from S3Agent struct and
  rename ClientV2 to Client
- Remove v1 session/client initialization from NewS3Agent
- Update all call sites referencing ClientV2
- Convert integration tests to use v2 API calling
  conventions (context parameter) and smithy error handling
- Remove aws-sdk-go v1.55.8 from go.mod

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 254965fff1)

# Conflicts:
#	go.mod
#	go.sum
2026-05-27 10:38:23 -06:00
subham rai e9a33dccf0 Merge pull request #17608 from rook/mergify/bp/release-1.20/pr-17570
object: add TLS 1.3 cipher suite support for RGW beast frontend (backport #17570)
2026-05-27 21:55:34 +05:30
subhamkrai e10393f5a2 object: add TLS 1.3 cipher suite support for RGW beast frontend
adding new tls ssl_ciphersuites supporting tls 1.3 and the existing,
ssl_cipher supports tls 1.2 and below. Adding, the docs and unit-test
changs as well.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit b70a0c9257)
2026-05-27 15:52:52 +00:00
subham rai 39f5808543 Merge pull request #17606 from rook/mergify/bp/release-1.20/pr-17602
docs: update latest supported kubernetes version range to  to 1.31 through 1.36 (backport #17602)
2026-05-27 20:19:45 +05:30
subham rai 184b22bb36 Merge pull request #17605 from rook/mergify/bp/release-1.20/pr-17604
build: update csi-operator to v1.0.1 (backport #17604)
2026-05-27 20:04:15 +05:30
Michael Adam 6da182b9c2 docs: update supported kubernetes version range to 1.31 through 1.36
So far, the latest supported kubernetes version was documented as 1.35

This change documents 1.36 (I. e. the latest available) as
the latest supported version.

It also updates the minimun supported kubernetes version
from 1.30 to 1.31

Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit df57b77b6b)
2026-05-27 14:09:03 +00:00
subhamkrai 1ad231b355 build: update csi-operator to v1.0.1
Updating csi-operator to latest v1.0.1 and
updating the required doc changes as well.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 34c5ad7049)
2026-05-27 13:50:27 +00:00
subham rai cc8d1044aa Merge pull request #17603 from rook/mergify/bp/release-1.20/pr-17600
csi: update ceph-csi image V3.17.0 and sidecars to latest (backport #17600)
2026-05-27 17:41:32 +05:30
Praveen M c616cb918f csi: update ceph-csi image and sidecars
Update ceph-csi to v3.17.0 and CSI sidecars:
- csi-provisioner v6.1.1 -> v6.2.0
- csi-attacher v4.11.0 -> v4.12.0
- csi-node-driver-registrar v2.16.0 -> v2.17.0

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit 449d1baeb7)
2026-05-27 11:25:18 +00:00
Joshua Hoblitt d65da7520a Merge pull request #17597 from rook/mergify/bp/release-1.20/pr-17544
helm: update prometheus rules from upstream ceph/ceph; add `cluster` label to all scraped metrics (backport #17544)
2026-05-26 13:50:50 -07:00
Joshua Hoblitt c00073c581 Merge pull request #17598 from rook/mergify/bp/release-1.20/pr-17561
core: reference all containers in a spec by name instead of index (backport #17561)
2026-05-26 13:50:21 -07:00
Joshua Hoblitt bba4beeae7 core: reference all containers in a spec by name instead of index
This changeset excludes converting _test.go code as there may be a
legitimate reasons (E.g. convenience) for unit test to be sensitive to
ordering.

Related to:
- https://github.com/rook/rook/issues/15291
- https://github.com/rook/rook/pull/16969

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit d059c351fc)
2026-05-26 19:10:47 +00:00
Joshua Hoblitt 69eddeaa27 helm: add cluster label to prom persistent-volume-alert.rules
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit ec75182dad)
2026-05-26 19:09:17 +00:00
Joshua Hoblitt afadabcf4e helm: drop ceph version constraint from PrometheusJobExporterMissing
The purpose of this constraint is unknown.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 22913f5b2f)
2026-05-26 19:09:16 +00:00
Joshua Hoblitt 64f6b8d2e6 helm: update prometheus rules from upstream ceph/ceph
Synced with:

https://github.com/ceph/ceph/blob/4b5096cc0de40a1b80bf801b4261bb58b0702e82/monitoring/ceph-mixin/prometheus_alerts.yml

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 47c97cf4a2)
2026-05-26 19:09:16 +00:00
Joshua Hoblitt 6e96e6b07f core: add cluster label to all servicemonitor scraped metrics
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit cc05619dd8)
2026-05-26 19:09:15 +00:00
mergify[bot] 5a569f561b Merge pull request #17595 from rook/mergify/bp/release-1.20/pr-17565
ci: retry s3cmd bucket creation in rgw-mutisite test (backport #17565)
2026-05-26 18:16:05 +00:00
Santosh 12b8571f0a ci: retry s3cmd bucket creation in rgw-mutisite test
The rgw-multisite job is failing frequently. Observed
"connectionRefusedERror: connection Refused" on the s3cmd mb call. It
might be happening because CephObjectSTore CR is ready but RGW gateway
is not fully accepting TCP connections.

This PR  wraps s3cmd mb and s3cmd put calls in a retry loop that
will attempt each command up to 3 times with a 5 second sleep between
attemps. This might help fix the flaky CI test.

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit 2cc51e8eb0)
2026-05-26 17:45:36 +00:00
Travis Nielsen a03b69ebf5 Merge pull request #17591 from rook/mergify/bp/release-1.20/pr-17525
osd: allow LVM logical volumes as OSD data devices (backport #17525)
2026-05-26 11:37:30 -06:00
Travis Nielsen d654b805b9 Merge pull request #17584 from rook/mergify/bp/release-1.20/pr-17582
ci: bump golang.org/x/net to v0.55.0 to fix GO-2026-5026 (backport #17582)
2026-05-26 11:37:04 -06:00
Oded Viner 7c64d9d365 ci: bump golang.org/x/net to v0.55.0 to fix GO-2026-5026
The govulncheck CI job is failing on all PRs due to vulnerability
GO-2026-5026 in golang.org/x/net v0.54.0. Bump golang.org/x/net to
v0.55.0 to resolve it.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit bf941235fd)
2026-05-26 10:53:40 -06:00
Santosh c64524b96d osd: allow LVM logical volumes as OSD data devices
remov restrictions that prevented LVM logical volume from being
provisioned as OSDs. LV devices with a metadatadevice were rejected at
the filtering stage. LV devices without one were incorrectly being
routed to ceph-volume raw mode which was resuting in error. This PR:

- removes metadatadevice restriction on LV devices.
- Adds LVM time check to isSafeToUseRAWMode to prevent raw mode on lvm

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit c6d48178dd)
2026-05-26 15:47:16 +00:00
Travis Nielsen 7d779c6048 Merge pull request #17574 from rook/mergify/bp/release-1.20/pr-17555
csi: update csi-operator to v1.0.0 (backport #17555)
2026-05-21 15:59:13 -06:00
subhamkrai ec3953ea34 csi: update csi-operator to v1.0.0
This commit update the csi-operator to latest v1.0.0.
we need to manually patch the csi drivers with the new serviceAccount
name that are being creating based on the latest ceph-csi-operator
release v1.0.0 where serviceAccount are being separate from csi-operator
chart.

co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 06452991bf)
2026-05-21 15:22:41 -06:00
Travis Nielsen 8abf77d763 Merge pull request #17566 from rook/mergify/bp/release-1.20/pr-17527
object: migrate sns topic provisioner to aws sdk v2 (backport #17527)
2026-05-20 10:36:35 -06:00
mergify[bot] ed28bd4b6e Merge pull request #17567 from rook/mergify/bp/release-1.20/pr-17530
core: rm unused consts (backport #17530)
2026-05-20 16:27:03 +00:00
Joshua Hoblitt 1efea0123c core: rm unused consts
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 9eec9c730e)
2026-05-20 15:03:03 +00:00
Oded Viner 9d91a725a0 object: migrate sns topic provisioner to aws sdk v2
migrate the sns-based topic provisioner from aws-sdk-go (v1)
to aws-sdk-go-v2. replace v1 session, credentials, and
request handlers with v2 aws.Config, static credentials
provider, and endpoint resolver. convert the custom ceph rgw
v2 signer hack from a v1 handler swap to a smithy finalize
middleware. update sns api calls to use context-first
signatures, map[string]string attributes, and typed
snstypes.NotFoundException error handling via errors.As.
update unit tests accordingly.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 81a2cd8833)
2026-05-20 13:55:22 +00:00
Travis Nielsen ae4c2f1adb Merge pull request #17564 from rook/mergify/bp/release-1.20/pr-17562
docs: fix kubectl exec commands in the DR troubleshooting guide (backport #17562)
2026-05-19 13:10:28 -06:00
Michael Adam de95059d99 docs: fix kubectl exec commands in the DR troubleshooting guide
kubectl exec requires a double dash ('--') between the pod name and the command to be
executed.

The disaster recovery troubleshooting guide missed those characters
in two places.

This change fixes the guide by adding the missing double dashes

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit ef7e80bedc)
2026-05-19 19:07:06 +00:00
subham rai 0ddf1fdc62 Merge pull request #17554 from rook/mergify/bp/release-1.20/pr-17549
ci: Update github actions to Go 1.26 (backport #17549)
2026-05-18 10:35:31 +05:30
Travis Nielsen d6580d5a94 ci: update github actions to go 1.26
Use the latest version of Go in the github actions.
Support for both Go 1.25 and 1.26 is still available,
this only affects the version used by the CI.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 033f6f732e)
2026-05-18 04:32:00 +00:00
Travis Nielsen f7b0aee51a Merge pull request #17550 from rook/mergify/bp/release-1.20/pr-17547
build: fix gosec and go vet lint errors for Go 1.26  (backport #17547)
2026-05-15 14:17:30 -06:00
mergify[bot] 53fdac2857 Merge pull request #17552 from rook/mergify/bp/release-1.20/pr-17545
osd: fix flaky TestAddRemoveNode failure (backport #17545)
2026-05-15 20:09:09 +00:00
Santosh 840e15a22b osd: fix flaky TestAddRemoveNode failure
User RaceFreeFakeWatcher isntead of FakeWatcher in TestAddRemoveNode
function. The test runs c.Start() in a goroutine whch stops the watcher
when done. If mockNodeOrchestrationCompeltion sends a watch ever after,
that, FakeWatcher panics with "send on a closed channel".
RaceFreeFakeWatcher safely ignores the sends on a stopped channel.

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit 6781d2e58d)
2026-05-15 19:40:08 +00:00
Sunnatillo a9c1805ae3 build: fix gosec and go vet lint errors for Go 1.26
Signed-off-by: Sunnatillo <sunnat.samadov@est.tech>
(cherry picked from commit 0bd299aa60)
2026-05-15 19:26:04 +00:00
mergify[bot] 20b0feaf43 Merge pull request #17548 from rook/mergify/bp/release-1.20/pr-17535
ceph: skip base rule creation if pools exit (backport #17535)
2026-05-15 14:44:33 +00:00
Santosh 5916722cff pool: skip base rule creation of pools exit
createREplicatedPoolForApp creates a base Crush rule (named after the
pool) on every reconcile, even if the pool already exists and uses a
suffixed rule ( eg pool_host_ssd). This causes orphaned rules to
reappear after every operator restart, immediately after
CleanupUnusedCrushRules deletes them.

This PR ensures that the base rule is created only if the pool does not
exist yet.

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit df0f4e6c99)
2026-05-15 14:14:36 +00:00
mergify[bot] f3a39ae947 Merge pull request #17543 from rook/mergify/bp/release-1.20/pr-17407
osd: honor per-device deviceClass in raw-mode prepare and reconcile (backport #17407)
2026-05-14 22:19:27 +00:00
Artem Torubarov 3872e1d0b7 osd: honor per-device deviceClass in raw-mode prepare and reconcile
Fixes #16834 and #17384. Per-OSD CR deviceClass was ignored in
osd prepare job when reporting the osd config back to the operator,
and in the operator's reconcile override.
Fixed by resolving the per-device class from the CR devices list
in GetCephVolumeRawOSDs and in makeDeployment.

Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit b41d63788d)
2026-05-14 18:05:09 +00:00
mergify[bot] 2961fedc92 Merge pull request #17540 from rook/mergify/bp/release-1.20/pr-17421
mon: add resource request for mon drbd containers (backport #17421)
2026-05-14 17:46:33 +00:00
mergify[bot] caa4d4c073 Merge pull request #17539 from rook/mergify/bp/release-1.20/pr-17538
security: remove net_raw from operator-openshift.yaml scc (backport #17538)
2026-05-14 17:40:37 +00:00
subhamkrai cd6a330d54 mon: add resource request for mon drbd containers
adding missing resource request for mon drbd containers
log-collector and shut-down-app and update the unit test
to validate.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit d88e287726)
2026-05-14 17:16:04 +00:00
Oded Viner 81e10ad5bf security: remove net_raw from operator-openshift.yaml scc
net_raw is listed in the rook-ceph scc allowedcapabilities
but no daemon uses it — all pods explicitly drop net_raw.
remove it to align with the go scc helper and helm charts.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 572527d476)
2026-05-14 17:09:43 +00:00
mergify[bot] 26e483a0f3 Merge pull request #17537 from rook/mergify/bp/release-1.20/pr-17447
pool: add stripe_unit with erasure-code-profile set (backport #17447)
2026-05-14 17:06:51 +00:00