Commit Graph
13292 Commits
Author SHA1 Message Date
Travis Nielsen e23a708435 Merge pull request #15890 from cbarria/fix-staticcheck-QF1004
core: fix golangci-lint check QF1004
2025-05-22 11:52:14 -06:00
Patryk Rostkowski ae6e1e0863 core: add short names to rook CRDs
This commit Assigns short names to all Rook CRDs
to improve kubectl usability.

Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
2025-05-22 18:29:06 +02:00
Carlos Barria 8afc4ee548 core: fix golangci-lint check QF1004
Signed-off-by: Carlos Barria <cbarria@yahoo.com>
2025-05-22 11:21:45 -04:00
Travis Nielsen 57585ba151 osd: debug log for long image names in label
Labels cannot be longer than 64 characters, and if the image name
is too long we log a verbose message about the label that we can
just log now as debug level.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-05-21 15:21:30 -06:00
Travis Nielsen 5265defd27 Merge pull request #15884 from OdedViner/report_reconcile_msg
core: improve reporting for reconcile requeue cases
2025-05-21 07:44:18 -06:00
Travis Nielsen 50f68f6b24 Merge pull request #15882 from yehaifeng/master
doc: recorrect the document ‘host_network’ to 'cluster_network'
2025-05-21 07:36:06 -06:00
Oded Viner 83ce9a6a63 core: improve reporting for reconcile requeue cases
when a reconcile returns a requeue result without an error
(e.g. due to a missing cephcluster), the previous logic reported
it as a successful reconcile. this was misleading and made it
hard to understand the actual controller behavior this
change adds a new condition to log and emit a "requeuing" event
when reconcileResponse.Requeue is true and err is nil.
this ensures more accurate event reporting and improves observability across
all controllers using reportreconcileresult.

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-05-21 15:43:05 +03:00
yehaifeng e97f4a7de7 doc: recorrect the document ‘host_network’ to 'cluster_network'
This should be `cluster_network` rather than `host_network`. Ceph has not configuration called `host_network`.

Signed-off-by: Ye Haifeng <769358362@qq.com>
2025-05-21 17:57:39 +08:00
Travis Nielsen 232012ecc8 Merge pull request #15879 from cbarria/fix-staticcheck-ST1023-QF1011
core: fix golangci-lint check ST1023 QF1011
2025-05-20 16:03:19 -06:00
Carlos Barria 4555522335 core: fix golangci-lint check ST1023 QF1011
Signed-off-by: Carlos Barria <cbarria@yahoo.com>
2025-05-20 14:53:10 -04:00
Travis Nielsen 7feb7ef42f Merge pull request #15867 from OdedViner/enable-csi-metadata
csi: enable CSI Metadata Injection by Default
2025-05-20 10:46:43 -06:00
Travis Nielsen e166785e04 Merge pull request #15878 from nixpanic/kubernetes-csi/sidecars/20250520
csi: update Kubernetes CSI sidecar images to current versions
2025-05-20 10:29:02 -06:00
Niels de Vos a168c40008 csi: update Kubernetes CSI sidecar images to current versions
The Kubernetes CSI sidecars have had several releases that were not
included in deployments by Rook yet, update them to the versions that
are available today:

- csi-attacher:v4.8.1
- csi-provisioner:v5.2.0
- csi-resizer:v1.13.2
- csi-snapshotter:v8.2.1

This change is important, because Ceph-CSI will implement the new
Controller.GetSnapshot CSI procedure. A bug in csi-lib-utils causes a
panic when a ControllerCapability is provided, but not (yet) known to
the CSI sidecars. The updated sidecars consume a version of
csi-lib-utils with a fix for that panic.

See-also: kubernetes-csi/csi-lib-utils#188
Signed-off-by: Niels de Vos <ndevos@ibm.com>
2025-05-20 14:24:02 +02:00
subham rai e5b808e289 Merge pull request #15875 from cbarria/fix-staticcheck-ST1005
core: fix golangci-lint check ST1005
2025-05-20 12:54:19 +05:30
Carlos Barria 61494d1baf core: fix golangci-lint check ST1005
Signed-off-by: Carlos Barria <cbarria@yahoo.com>
2025-05-19 17:52:22 -04:00
subham rai 9cd9ffa9c5 Merge pull request #15853 from subhamkrai/add-cache-index-svg
core: delete old svg/rns cr with same svg/rns  name
2025-05-19 21:32:11 +05:30
subhamkrai ebc1671ab7 namespace: delete old rns cr with same block pool name
there can be a scenario where a new RNS CR is created with
the same spec.blockPoolName and spec.name, in that case we want to delete
the old RNS CR without checking dependent child resources.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-05-19 20:53:24 +05:30
subham rai a34b592738 Merge pull request #15871 from rook/dependabot/github_actions/DavidAnson/markdownlint-cli2-action-20.0.0
build(deps): bump DavidAnson/markdownlint-cli2-action from 19.1.0 to 20.0.0
2025-05-19 19:32:14 +05:30
subham rai f0d1f35018 Merge pull request #15873 from rook/dependabot/github_actions/aws-actions/configure-aws-credentials-4.2.1
build(deps): bump aws-actions/configure-aws-credentials from 4.2.0 to 4.2.1
2025-05-19 19:18:08 +05:30
subham rai 7ee57d1b0c Merge pull request #15872 from rook/dependabot/github_actions/github/codeql-action-3.28.18
build(deps): bump github/codeql-action from 3.28.17 to 3.28.18
2025-05-19 19:17:57 +05:30
Oded Viner ce59c72eb1 csi: enable CSI Metadata Injection by Default
This PR sets CSI_ENABLE_METADATA to true by default in the
Rook configuration, ensuring that the --setmetadata=true
flag is added to CSI nodeplugin pods

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-05-19 16:17:13 +03:00
dependabot[bot] 8fcf5e54d0 build(deps): bump aws-actions/configure-aws-credentials
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/f24d7193d98baebaeacc7e2227925dd47cc267f5...b47578312673ae6fa5b5096b330d9fbac3d116df)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 4.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 12:57:24 +00:00
dependabot[bot] 1c4f1cc356 build(deps): bump github/codeql-action from 3.28.17 to 3.28.18
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.17 to 3.28.18.
- [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/60168efe1c415ce0f5521ea06d5c2062adbeed1b...ff0a06e83cb2de871e5a09832bc6a81e7276941f)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 12:57:22 +00:00
dependabot[bot] fd04777363 build(deps): bump DavidAnson/markdownlint-cli2-action
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 19.1.0 to 20.0.0.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/05f32210e84442804257b2a6f20b273450ec8265...992badcdf24e3b8eb7e87ff9287fe931bcb00c6e)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-version: 20.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 12:57:14 +00:00
subham rai 50877aa937 Merge pull request #15862 from travisn/prometheus-error
mgr: Continue cluster reconcile even if prometheus not installed causing service monitor to fail creation
2025-05-16 21:58:56 +05:30
subhamkrai 1ef660f749 subvolumegroup: delete old svg cr with same svg fs name
there can be a scenario where a new svg cr is created with
the same svg.filesystem and svg.spec.name, in that case we want to delete
the old svg CR without checking dependent child resources.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-05-16 11:46:19 +05:30
Travis Nielsen 0ce40c4fef Merge pull request #15824 from parth-gr/osd-resize-pv
osd: osd should watch for pvc resize
2025-05-15 14:11:44 -06:00
Travis Nielsen ca12916438 mgr: continue reconcile if prometheus not installed
When monitoring is enabled, if the service monitor fails
creation, the reconcile will fail and rook will never
create the OSDs. A number of users have been blocked during
install due to this issue. Let's allow reconcile of the
full cluster even in this error case. After they install
prometheus, they would then need to trigger a reconcile again
perhaps by restarting the rook operator to enable
the service monitor.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-05-15 13:11:29 -06:00
Travis Nielsen 35589e200f Merge pull request #15858 from parth-gr/fix-mirroring-status
rbdmirror: fix mirroring status on pool and rn
2025-05-15 11:10:02 -06:00
parth-gr 94450c0db7 osd: osd should watch for pvc resize
With a osd resize operation, currently pvc and pv may
takes more time then expected.
And so the osd dont get resized and need manual re-start
as currently we don't have a watch on osd's
controller that watches pv and get it resized.

add a wait time till pvc is not resized

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-05-15 12:42:04 +05:30
parth-gr aa326a9419 rbdmirror: fix mirroring status on pool and rn
there is a change  from ceph on how the status
of the mirroring will look like,
Adopting with new fields so the status is correctly synced,
And other components might rely on the status too

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-05-14 13:07:24 +05:30
subham rai ea3a69ab45 Merge pull request #15852 from sp98/fix-donot-reconcile-lable-for-rgw
RGW: fix do-not-reconcile label
2025-05-12 21:46:47 +05:30
subham rai 2d1b8539ac Merge pull request #15855 from rook/dependabot/github_actions/aws-actions/configure-aws-credentials-4.2.0
build(deps): bump aws-actions/configure-aws-credentials from 4.1.0 to 4.2.0
2025-05-12 21:29:15 +05:30
subham rai 74d4ded12a Merge pull request #15854 from rook/dependabot/go_modules/golang.org/x/sync-0.14.0
build(deps): bump golang.org/x/sync from 0.13.0 to 0.14.0
2025-05-12 21:24:18 +05:30
subham rai 72327bceae Merge pull request #15856 from rook/dependabot/github_actions/actions/setup-go-5.5.0
build(deps): bump actions/setup-go from 5.4.0 to 5.5.0
2025-05-12 21:24:02 +05:30
Travis Nielsen 7a7177e42e Merge pull request #15851 from subhamkrai/update-mergify
ci: update mergify to latest k8s 1.33.0
2025-05-12 08:13:14 -06:00
dependabot[bot] 5f6eafb134 build(deps): bump actions/setup-go from 5.4.0 to 5.5.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/0aaccfd150d50ccaeb58ebd88d36e91967a5f35b...d35c59abb061a4a6fb18e82ac0862c26744d6ab5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 13:02:19 +00:00
dependabot[bot] b3f8999aab build(deps): bump aws-actions/configure-aws-credentials
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/ececac1a45f3b08a01d2dd070d28d111c5fe6722...f24d7193d98baebaeacc7e2227925dd47cc267f5)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 12:58:15 +00:00
dependabot[bot] cbbd942ee0 build(deps): bump golang.org/x/sync from 0.13.0 to 0.14.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sync/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-version: 0.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 12:55:59 +00:00
Santosh Pillai fe77108e1e rgw: fix do-not-reconcile label
fix do-not-reconcile label to prevent RGW deployment reconcile if
`ceph.rook.io/do-not-reconcile:<storeName>` is applied.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2025-05-12 16:59:56 +05:30
subhamkrai 955873f2c9 ci: update mergify to latest k8s 1.33.0
mergify yaml was missed from updating the latest k8s version
due to this backport PR was not merging automatically.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-05-12 15:47:22 +05:30
Travis Nielsen f5e4977c8f Merge pull request #15842 from yifeng-cerebras/yifeng/network-provider-validation-fix
network/provider-validation-rule-fix
2025-05-09 12:14:49 -06:00
Yifeng Zhang 93ccf4c9c2 network: fix validation rule on provider field update
Provider validation is failing on updating from empty string to non-empty ones
which is expected to be supported. Fix the validation rule by adding one missing
condition.

Signed-off-by: Yifeng Zhang <Yifeng.Zhang@cerebras.net>
2025-05-09 13:34:22 -04:00
Travis Nielsen 55282bace2 Merge pull request #15835 from travisn/revert-docs-publish
Revert "ci: only publish docs in master and tagged releases"
2025-05-08 12:43:56 -06:00
Travis Nielsen 0f0b3b2df8 Revert "ci: only publish docs in master and tagged releases"
This reverts commit 28fa387dff.
2025-05-08 12:19:13 -06:00
Travis Nielsen 043e45eb9f Merge pull request #15829 from jhoblitt/plumbing/change-CephObjectStore-foo-found-to-debug
object: change `CephObjectStore "foo" found` log level to debug
2025-05-08 11:02:41 -06:00
Joshua Hoblitt f1fad531eb object: change CephObjectStore "foo" found log level to debug
When multiple `CephObjectStoreUser` CRs are present, the operator logs a
high volume of `CephObjectStore "foo" found` messages during reconcile.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2025-05-08 09:28:19 -07:00
Travis Nielsen ce1078cd7f Merge pull request #15817 from travisn/block-finalizer-status
block: Add more deletion conditions to blockpool and radosnamespace status
2025-05-07 16:20:09 -06:00
Travis Nielsen 530223c5b4 namespace: add conditions blocking deletion for rados namespace
When a rados namespace is deleted, it cannot be purged
until its images and snapshots are deleted. Now a condition
is being added to the rados namespace CR status so the user
does not need to read the operator log to discover the cause.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-05-07 15:42:17 -06:00
Travis Nielsen 0a3a599580 block: add condition for deletion blocked with images
When the blockpool is deleted and there are images or
snapshots in the pool, the deletion is blocked by the
finalizer until they are all removed. The condition added
to the cephblockpool status only indicated if there were
radosnamespace dependencies. A new condition is now added
to describe if there are images or snapshots.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-05-07 15:42:17 -06:00