Commit Graph
13668 Commits
Author SHA1 Message Date
Travis Nielsen 330e17bb13 ci: canary tests only start one csi controller
Two csi controllers cannot start on minikube, so the CI
was failing in the canary and nvmeof tests when they validated
that the controllers were running. For the tests that validate
the csi controllers, ensure only a single controller is configured.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 1a37f6088c)
2026-06-04 17:39:11 +00:00
Travis Nielsen 30a4f7be8e Merge pull request #17657 from rook/mergify/bp/release-1.20/pr-17546
osd: fix race condition in require-osd-release after rolling upgrade (backport #17546)
2026-06-04 10:04:52 -06:00
Sunnatillo 580663e917 osd: set require-osd-release from the health monitor
applyUpgradeOSDFunctionality() may run before all OSDs have registered
their new version, leaving require-osd-release unset and the cluster in
HEALTH_WARN.

Check for a single converged OSD version on each health-monitor tick and
set require-osd-release when it changes. The release name is cached to
avoid redundant ceph commands

Signed-off-by: Sunnatillo <sunnat.samadov@est.tech>
(cherry picked from commit f6fa25e844)
2026-06-04 15:31:21 +00:00
Joshua Hoblitt fd214caa3a Merge pull request #17645 from rook/mergify/bp/release-1.20/pr-17643
object: clobber bucket policy on modify instead of merging (backport #17643)
2026-06-03 09:34:16 -07:00
Artem Muterko 3ce302a218 object: clobber bucket policy on modify instead of merging
ModifyBucketPolicy merged the caller's statement into the policy fetched
from the bucket, matching by SID. Besides a missing match flag that
appended a duplicate when a SID matched, this preserved any pre-existing
statements on the bucket and reapplied them on every reconcile.

Overwrite the policy with the provided statements instead, so a managed
bucket always ends up with exactly the intended policy and cannot retain
unexpected statements.

Signed-off-by: Artem Muterko <artem@sopho.tech>
(cherry picked from commit 321911b96c)
2026-06-03 15:47:55 +00:00
subham rai 029457f77f Merge pull request #17638 from rook/mergify/bp/release-1.20/pr-17365
doc: add AI guidelines (backport #17365)
2026-06-03 10:29:25 +05:30
Travis Nielsen 51bca7e46d Merge pull request #17620 from obnoxxx/prep-v1.20.0
build: update release version to v1.20.0
v1.20.0
2026-06-02 11:54:53 -06:00
Blaine Gardner 3ff1f06353 doc: add AI guidelines
Add AI guidelines based on discussions from the most recent community
meeting.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit ebf4656481)
2026-06-02 17:48:33 +00:00
Michael Adam 764715b92c build: update release version to v1.20.0
For the minor release v1.20, update the examples and docs

Signed-off-by: Michael Adam <obnox@samba.org>
2026-06-02 19:19:14 +02:00
Travis Nielsen 7c7e433400 Merge pull request #17637 from rook/mergify/bp/release-1.20/pr-17599
docs: add few examples settings for new csi management (backport #17599)
2026-06-02 11:15:36 -06:00
subhamkrai 92b50220d6 docs: add few examples settings for new csi management
this command adds some examples on how users can add/update
the settings based on new way of managing CSI resources.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit fbef1d755e)
2026-06-02 16:32:36 +00:00
Satoru Takeuchi b3cb2fbaf8 Merge pull request #17627 from rook/mergify/bp/release-1.20/pr-17593
osd: add cryptsetup resize for encrypted host based osds (backport #17593)
2026-06-01 10:04:15 +09:00
Santosh 726a3837a2 osd: add cryptsetup resize for encrypted host based osds
when using encryptedDevice:true with host based (non pvc) osds, resizing
the underlying disk and restarting the OSD didn't expand the OSD because
the LUKS encryption layer was not resized.

This PR adds resize capabilities inside the activate container. Full
device stack must be resized: PV → LV → LUKS

Steps:
1. Run pvresize and lvextend to grow the LVM layers.
2. Retrieve the LUKS key from the Ceph config-key store using the
lockbox crednetials already available in the activate container
3. Pass the key explicitly to cryptsetup resize via --key-file.

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit 3e49c9f4cf)
2026-06-01 00:24:38 +00:00
Travis Nielsen f5f8e17628 Merge pull request #17618 from rook/mergify/bp/release-1.20/pr-17617
ci: always test latest patch releases of kubernetes versions (backport #17617)
2026-05-28 09:52:33 -06:00
Blaine Gardner 4be61b91db Merge pull request #17619 from rook/mergify/bp/release-1.20/pr-17613
object: add logger for AWS SDK v2 debug signing output (backport #17613)
2026-05-28 09:51:45 -06:00
Oded Viner 9f6809985d object: add logger for AWS SDK v2 debug signing output
Wire a rookLogger adapter implementing smithy's Logger
interface so that aws.LogSigning output is emitted through
rook's capnslog when debug mode is enabled.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 4b5fc9d16a)
2026-05-28 15:17:50 +00:00
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