Commit Graph
13692 Commits
Author SHA1 Message Date
dependabot[bot] 2e8e4e2fc0 build(deps): bump github/codeql-action from 4.35.5 to 4.36.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.5 to 4.36.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9e0d7b8d25671d64c341c19c0152d693099fb5ba...7211b7c8077ea37d8641b6271f6a365a22a5fbfa)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-25 18:38:18 +00:00
subham rai 2166046a67 Merge pull request #17582 from OdedViner/go_net_54_cve
ci: bump golang.org/x/net to v0.55.0 to fix GO-2026-5026
2026-05-25 17:44:52 +05:30
Oded Viner bf941235fd 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>
2026-05-25 13:25:12 +03:00
Joshua Hoblitt 7aa5dad425 Merge pull request #17576 from jhoblitt/maint-update-gha
ci: bump and/or pin github action versions
2026-05-22 08:52:41 -07:00
Satoru Takeuchi 4105874d9a Merge pull request #17525 from sp98/lv-osd-with-metadata
osd: allow LVM logical volumes as OSD data devices
2026-05-22 19:44:00 +09:00
Joshua Hoblitt b6eacdc539 ci: bump and/or pin github action versions
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2026-05-21 13:28:34 -07:00
Joshua Hoblitt 0f77494d1f Merge pull request #17575 from rook/maint-fix-setup-go-nodejs-deprecation-notice
ci: use actions/setup-go v6.4.0 for all gha workflows
2026-05-21 12:45:07 -07:00
Joshua Hoblitt 2584d7fad8 ci: use actions/setup-go v6.4.0 for all gha workflows
Resolves this deprecation notice appearing in the gha logs:

    2026-05-20T22:02:06.0303373Z ##[warning]Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-go@4469467582. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2026-05-21 11:43:46 -07:00
Travis Nielsen 888e725c40 Merge pull request #17555 from subhamkrai/update-csi-operator-1.0
csi: update csi-operator to v1.0.0
2026-05-21 12:32:46 -06:00
subhamkraiandTravis Nielsen 06452991bf 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>
2026-05-21 21:52:32 +05:30
Blaine Gardner 645aa741eb Merge pull request #17530 from rook/maint-rm-unused-consts-opus-4.7
core: rm unused consts
2026-05-20 09:01:05 -06:00
Travis Nielsen 5f398420fc Merge pull request #17527 from OdedViner/aws_sdk_2_topic
object: migrate sns topic provisioner to aws sdk v2
2026-05-20 07:54:56 -06:00
Oded Viner 81a2cd8833 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>
2026-05-20 13:02:00 +03:00
Joshua Hoblitt 167224260a Merge pull request #17541 from sudoom/patch-1
docs: fix config ip range
2026-05-19 13:51:12 -07:00
Travis Nielsen 5796e36e09 Merge pull request #17562 from obnoxxx/docs-fix-kubectl-exec-dr-troubleshooting
docs: fix kubectl exec commands in the DR troubleshooting guide
2026-05-19 13:05:39 -06:00
Michael Adam ef7e80bedc 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>
2026-05-19 19:59:54 +02:00
subham rai 1167f3ff9f Merge pull request #17557 from rook/dependabot/github_actions/github/codeql-action-4.35.5
build(deps): bump github/codeql-action from 4.35.4 to 4.35.5
2026-05-19 07:49:04 +05:30
subham rai 68fbd218ad Merge pull request #17558 from rook/dependabot/github_actions/psf/black-26.5.1
build(deps): bump psf/black from 26.3.1 to 26.5.1
2026-05-19 07:48:24 +05:30
subham rai 8c31a97930 Merge pull request #17556 from rook/dependabot/go_modules/github-dependencies-3aeea97d89
build(deps): bump github.com/IBM/keyprotect-go-client from 0.15.1 to 0.16.0 in the github-dependencies group
2026-05-19 07:47:44 +05:30
dependabot[bot] 3331a3eaf9 build(deps): bump psf/black from 26.3.1 to 26.5.1
Bumps [psf/black](https://github.com/psf/black) from 26.3.1 to 26.5.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/c6755bb741b6481d6b3d3bb563c83fa060db96c9...87928e6d6761a4a6d22250e1fee5601b3998086e)

---
updated-dependencies:
- dependency-name: psf/black
  dependency-version: 26.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 22:24:22 +00:00
dependabot[bot] 501b1bd0b9 build(deps): bump github/codeql-action from 4.35.4 to 4.35.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.4 to 4.35.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/68bde559dea0fdcac2102bfdf6230c5f70eb485e...9e0d7b8d25671d64c341c19c0152d693099fb5ba)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 22:24:17 +00:00
dependabot[bot] 600e0dcfd6 build(deps): bump github.com/IBM/keyprotect-go-client
Bumps the github-dependencies group with 1 update: [github.com/IBM/keyprotect-go-client](https://github.com/IBM/keyprotect-go-client).


Updates `github.com/IBM/keyprotect-go-client` from 0.15.1 to 0.16.0
- [Release notes](https://github.com/IBM/keyprotect-go-client/releases)
- [Changelog](https://github.com/IBM/keyprotect-go-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/IBM/keyprotect-go-client/compare/v0.15.1...v0.16.0)

---
updated-dependencies:
- dependency-name: github.com/IBM/keyprotect-go-client
  dependency-version: 0.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 22:23:57 +00:00
Joshua Hoblitt 0f02ac7af7 Merge pull request #17476 from stingalleman/update-external-store-example
external: update object-external.yaml example
2026-05-18 13:44:24 -07:00
Sting Alleman a927edb6d5 external: update object-external.yaml example
Update the description in the object-external example. Previously it
contained a note about replication recommendations, which does not apply
when using an external Ceph cluster object store.

Signed-off-by: Sting Alleman <me@stingalleman.nl>
2026-05-18 22:14:29 +02:00
subham rai b0066cecdd Merge pull request #17549 from travisn/go-1.26-default
ci: Update github actions to Go 1.26
2026-05-18 10:01:25 +05:30
Vadzim Dziadziulia 20d2f64f35 docs: fix config ip range
Signed-off-by: Vadzim Dziadziulia <vadzim.dziadziulia@keemail.me>
2026-05-16 12:54:42 +02:00
Travis Nielsen 67395ad5e4 Merge pull request #17545 from sp98/fix-TestAddRemoveNode-unit-test
osd: fix flaky TestAddRemoveNode failure
2026-05-15 13:39:11 -06:00
Travis Nielsen 033f6f732e 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>
2026-05-15 13:25:56 -06:00
Travis Nielsen d66f1e3465 Merge pull request #17547 from Nordix/Sunnatillo/fix-go1.26-printf-check
build: fix gosec and go vet lint errors for Go 1.26
2026-05-15 13:25:41 -06:00
Sunnatillo 0bd299aa60 build: fix gosec and go vet lint errors for Go 1.26
Signed-off-by: Sunnatillo <sunnat.samadov@est.tech>
2026-05-15 21:45:06 +03:00
Santosh Pillai fda5ab6a63 Merge pull request #17535 from sp98/create-base-rule-only-once
ceph: skip base rule creation if pools exit
2026-05-15 19:44:08 +05:30
Santosh 6781d2e58d 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>
2026-05-15 17:44:03 +05:30
Santosh df0f4e6c99 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>
2026-05-15 12:39:10 +05:30
Travis Nielsen 3775bf206a Merge pull request #17407 from cobaltcore-dev/osd-deviceclass-minimal
osd: honor per-device deviceClass in raw-mode prepare and reconcile
2026-05-14 12:04:16 -06:00
Travis Nielsen 52b959e22e Merge pull request #17421 from subhamkrai/add-floating-mon-container-resources
mon: add resource request for mon drbd containers
2026-05-14 11:15:25 -06:00
Travis Nielsen c6f642cc2d Merge pull request #17538 from OdedViner/remove-net-raw-from-scc
security: remove net_raw from operator-openshift.yaml scc
2026-05-14 11:09:11 -06:00
Oded Viner 572527d476 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>
2026-05-14 19:41:11 +03:00
Travis Nielsen 2ef74f3189 Merge pull request #17447 from subhamkrai/add-stipe-unit-support
pool: add stripe_unit with erasure-code-profile set
2026-05-14 10:38:06 -06:00
Joshua Hoblitt 9eec9c730e core: rm unused consts
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2026-05-14 09:34:52 -07:00
subhamkrai 9fb0582dd6 pool: add stripe_unit with erasure-code-profile set
this commit adds flag stripe_unit for the command
ceph osd erasure-code-profile set [flags]. This key
increase perfomance for ec pool. The default value
is 4kib/4096 bytes.

Signed-off-by: subhamkrai <srai@redhat.com>
2026-05-14 21:39:15 +05:30
Travis Nielsen a7d4c0ce88 Merge pull request #17448 from taraasrita10/adding-watcher-drbd-cm
mon: add watcher for DRBD ConfigMap in TNF deployments
2026-05-14 09:51:47 -06:00
Prabhala Tara Aasrita af03615e97 mon: add watcher for DRBD ConfigMap in TNF deployments
Added a watcher in the cluster controller to detect changes to the DRBD ConfigMap used by floating monitors in TNF deployments. When the ConfigMap is updated, the watcher triggers a CephCluster reconciliation to ensure configuration changes are applied.

Fixes #17338

Signed-off-by: Prabhala Tara Aasrita <taraasrita@ibm.com>
2026-05-14 18:15:32 +05:30
Santosh c6d48178dd 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>
2026-05-14 11:43:45 +05:30
Blaine Gardner 5920f47d58 Merge pull request #17468 from OdedViner/aws_sdk_2_notification
object: migrate notification package to aws sdk v2
2026-05-13 11:35:46 -06:00
Oded Viner f5df592106 object: migrate notification package to aws sdk v2
migrate the notification provisioner and s3ext packages from
aws sdk v1 to v2. the custom DeleteBucketNotification call is
rewritten to manually build and sign the HTTP request using the
v2 v4 signer, since this ceph-specific API has no sdk equivalent.

also fix t.Skipped() -> t.Skip() in notification integration test.

Signed-off-by: Oded Viner <oviner@redhat.com>
2026-05-13 19:06:52 +03:00
Travis Nielsen d9381469e0 Merge pull request #17286 from lumir-sliva/cleanup-csi-operator-resources
doc: add CSI operator resource cleanup steps to teardown guide
2026-05-12 12:45:10 -10:00
Travis Nielsen 2898acddfc Merge pull request #17494 from immanuwell/docs-fix-duplicated-words
docs: fix duplicated words in docs and comments
2026-05-12 12:41:18 -10:00
Travis Nielsen 4cf71d9a27 Merge pull request #17472 from texasich/codex-rook-17405
mgr: retry self-signed cert creation on wrapped context deadline errors
2026-05-12 12:37:11 -10:00
Lumir Sliva 943ea89cd5 doc: add CSI operator resource cleanup steps to teardown guide
Add a section to the teardown documentation with cleanup commands
for CSI operator resources: OperatorConfig, Driver, ClientProfile,
ClientProfileMapping, and CephConnection custom resources, plus the
csi-operator.yaml deployment manifest.

Signed-off-by: Lumir Sliva <61183145+lumir-sliva@users.noreply.github.com>
2026-05-13 00:23:26 +02:00
Parth Arora d9d6461bf2 Merge pull request #17502 from sp98/fix-CleanupUnusedCrushRules
core: skip crush rule cleanup if no pools exist yet
2026-05-12 19:53:46 +05:30