Commit Graph
12287 Commits
Author SHA1 Message Date
mergify[bot] 750de1eced Merge pull request #15911 from rook/mergify/bp/release-1.17/pr-15908
chart: quote object store ingress host (backport #15908)
2025-05-29 17:46:01 +00:00
synthe102 081433acee helm: quote object store ingress host
This change allows to use wildcard for object ingress configuration.
Allows to use virtual-host style bucket URLs with ingress.

Signed-off-by: synthe102 <leonard@suslian.engineer>
(cherry picked from commit 81d27753f2)
2025-05-29 17:13:45 +00:00
mergify[bot] 650973d07b Merge pull request #15910 from rook/mergify/bp/release-1.17/pr-15907
osd: don't set dmcrypt env in prepare pod job spec (backport #15907)
2025-05-29 15:52:11 +00:00
subhamkrai c5466a310f osd: don't set dmcrypt env in prepare pod job spec
this commit remove the code which sets the dmcrypt encryption
key from secret as environment variable in the prepare pod job
spec. Now, the env will be set under function `setKEKinEnv`, which
tries to reads secret from k8s first method `c.IsK8s()`under
`GetSecret` and then check for KMS to ready and apply env directly.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit d86aa28f30)
2025-05-29 15:11:25 +00:00
mergify[bot] 5a8f834da7 Merge pull request #15901 from rook/mergify/bp/release-1.17/pr-15889
nfs: skip NFS daemon reconciliation when labeled with skip-reconcile (backport #15889)
2025-05-27 22:44:00 +00:00
Patryk Rostkowski d09776483c nfs: skip NFS daemon reconciliation when labeled with skip-reconcile
This change adds support for skipping reconciliation of CephNFS daemons
that are labeled with `ceph.rook.io/skip-reconcile=true`.
Similar to MDS, MGR, and RGW components, this allows cluster operators
to prevent Rook from modifying specific NFS daemon deployments.

Signed-off-by: Patryk Rostkowski <patrostkowski@gmail.com>
(cherry picked from commit 612e54e1ae)
2025-05-27 22:12:37 +00:00
mergify[bot] 4e1ae23515 Merge pull request #15900 from rook/mergify/bp/release-1.17/pr-15888
core: add short names to rook CRDs (backport #15888)
2025-05-27 21:55:28 +00:00
Patryk Rostkowski 24f4b955c7 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>
(cherry picked from commit ae6e1e0863)
2025-05-27 21:24:32 +00:00
Travis Nielsen daa694fafc Merge pull request #15885 from rook/mergify/bp/release-1.17/pr-15884
core: improve reporting for reconcile requeue cases (backport #15884)
2025-05-21 08:34:38 -06:00
Oded Viner 1c85ddd327 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>
(cherry picked from commit 83ce9a6a63)
2025-05-21 13:45:39 +00:00
Travis Nielsen 584b1196ff Merge pull request #15881 from rook/mergify/bp/release-1.17/pr-15867
csi: enable CSI Metadata Injection by Default (backport #15867)
2025-05-20 11:20:09 -06:00
mergify[bot] f116d6427d Merge pull request #15880 from rook/mergify/bp/release-1.17/pr-15878
csi: update Kubernetes CSI sidecar images to current versions (backport #15878)
2025-05-20 17:03:43 +00:00
Oded Viner b0beb387b8 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>
(cherry picked from commit ce59c72eb1)
2025-05-20 16:47:59 +00:00
Niels de Vos 0d57154457 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>
(cherry picked from commit a168c40008)
2025-05-20 16:29:51 +00:00
subham rai 91d412ca63 Merge pull request #15877 from rook/mergify/bp/release-1.17/pr-15875
core: fix golangci-lint check ST1005 (backport #15875)
2025-05-20 20:47:35 +05:30
Carlos Barria 0889541d29 core: fix golangci-lint check ST1005
Signed-off-by: Carlos Barria <cbarria@yahoo.com>
(cherry picked from commit 61494d1baf)
2025-05-20 07:25:13 +00:00
mergify[bot] c5e1eb5cc8 Merge pull request #15865 from rook/mergify/bp/release-1.17/pr-15862
mgr: Continue cluster reconcile even if prometheus not installed causing service monitor to fail creation (backport #15862)
2025-05-16 17:12:39 +00:00
Travis Nielsen 3e3a76976b 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>
(cherry picked from commit ca12916438)
2025-05-16 16:30:30 +00:00
mergify[bot] f8a7f8e0b6 Merge pull request #15864 from rook/mergify/bp/release-1.17/pr-15824
osd: osd should watch for pvc resize (backport #15824)
2025-05-15 20:41:22 +00:00
parth-gr 88067c4aab 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>
(cherry picked from commit 94450c0db7)
2025-05-15 20:12:59 +00:00
mergify[bot] cb7758b2e0 Merge pull request #15860 from rook/mergify/bp/release-1.17/pr-15858
rbdmirror: fix mirroring status on pool and rn (backport #15858)
2025-05-15 17:42:49 +00:00
parth-gr b9e24171ab 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>
(cherry picked from commit aa326a9419)
2025-05-15 17:10:54 +00:00
Travis Nielsen 063a7c1723 Merge pull request #15843 from rook/mergify/bp/release-1.17/pr-15842
network/provider-validation-rule-fix (backport #15842)
2025-05-09 14:57:38 -06:00
Yifeng Zhang 922f5f0b80 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>
(cherry picked from commit 93ccf4c9c2)
2025-05-09 18:15:24 +00:00
Travis Nielsen f6266772d2 Merge pull request #15836 from rook/mergify/bp/release-1.17/pr-15835
Revert "ci: only publish docs in master and tagged releases" (backport #15835)
v1.17.2
2025-05-08 12:46:36 -06:00
Travis Nielsen 59f715cc9c Revert "ci: only publish docs in master and tagged releases"
This reverts commit 28fa387dff.

(cherry picked from commit 0f0b3b2df8)
2025-05-08 18:45:06 +00:00
Travis Nielsen c96b8014b4 Merge pull request #15833 from obnoxxx/prep-v1.17.2
build: Prepare the v1.17.2 release
2025-05-08 11:23:11 -06:00
Travis Nielsen 704cd66111 Merge pull request #15834 from rook/mergify/bp/release-1.17/pr-15829
object: change `CephObjectStore "foo" found` log level to debug (backport #15829)
2025-05-08 11:19:20 -06:00
Joshua Hoblitt 00503b8da0 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>
(cherry picked from commit f1fad531eb)
2025-05-08 17:03:37 +00:00
Michael Adam 755ed4003f build: update release version to v1.17.2
For the patch release update the examples and docs
    to v1.17.2

Signed-off-by: Michael Adam <obnox@samba.org>
2025-05-08 18:28:52 +02:00
subham rai ea8c53ea4c Merge pull request #15832 from rook/mergify/bp/release-1.17/pr-15817
block: Add more deletion conditions to blockpool and radosnamespace status (backport #15817)
2025-05-08 08:41:38 +05:30
Travis Nielsen 44994bbd22 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>
(cherry picked from commit 530223c5b4)
2025-05-07 22:20:53 +00:00
Travis Nielsen f749590a71 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>
(cherry picked from commit 0a3a599580)
2025-05-07 22:20:52 +00:00
subham rai dafa50c325 Merge pull request #15831 from rook/mergify/bp/release-1.17/pr-15830
ci: Only publish docs in master and tagged releases (backport #15830)
2025-05-06 11:39:58 +05:30
Travis Nielsen 0fdd55fa3a ci: only publish docs in master and tagged releases
Until now, docs have been published for every master and
release branch build. This can lead to confusion if a new
feature is backported to the release branch and the docs
are published to the website, even though the feature will
not be available until the next tagged release.

This does have the effect that small doc-only fixes will
not be in the latest release docs until we actually tag
a release.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 28fa387dff)
2025-05-06 05:38:46 +00:00
subham rai 737b82f3d4 Merge pull request #15828 from rook/mergify/bp/release-1.17/pr-15820
doc: fix missing crds.yaml in multi-namespace install docs (backport #15820)
2025-05-05 23:07:02 +05:30
Oded Viner d4cc3ec4a3 doc: fix missing crds.yaml in multi-namespace install docs
Add the missing crds.yaml apply step to the multi-namespace
deployment instructions.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 86a8adab12)
2025-05-05 17:29:08 +00:00
Travis Nielsen 3117427e0e Merge pull request #15827 from rook/mergify/bp/release-1.17/pr-15825
build: move set-release-ver script to a better place (backport #15825)
2025-05-05 10:28:00 -06:00
Michael Adam 762d193664 build: move se-release-ver script to better place
The script sel-release-ver.sh was added in a somewhat unnatural place
tests/scripts .
This moves it to a more natural location build/release .

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit d7f2a4b4d8)
2025-05-05 16:22:03 +00:00
Blaine Gardner b8b111b285 Merge pull request #15816 from rook/mergify/bp/release-1.17/pr-15815
object: fix uppercase serialization of fields in KafkaEndpointSpec (backport #15815)
2025-05-02 12:46:14 -06:00
Joshua Hoblitt e0ff72fafa object: fix uppercase serialization of fields in KafkaEndpointSpec
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 300a22398e)
2025-05-02 18:12:25 +00:00
Travis Nielsen 1ecb290211 Merge pull request #15812 from rook/mergify/bp/release-1.17/pr-15809
Improve Documentation/CRDs/Block-Storage/ceph-block-pool-crd.md (backport #15809)
2025-05-01 13:22:12 -06:00
Anthony D'Atri 76da586734 doc: improve Documentation/CRDs/Block-Storage/ceph-block-pool-crd.md
Signed-off-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com>
(cherry picked from commit 202c1a253e)
2025-05-01 19:19:30 +00:00
Travis Nielsen 38aa7eee33 Merge pull request #15811 from rook/mergify/bp/release-1.17/pr-15781
build: add a script for setting the release version in examples, charts,  and docs (backport #15781)
2025-05-01 11:34:40 -06:00
Michael Adam 57814022ea build: add a script for setting the release version in examples,docs, and charts
This script updates examples and docs for a new release.

Invocation in principle: set-release-ver.sh  NEW_VER
For example: set-release-ver.sh v1.16.8

Fixes: #15749

Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
(cherry picked from commit a1b941f969)
2025-05-01 17:15:03 +00:00
Travis Nielsen f7d3ae0544 Merge pull request #15806 from rook/mergify/bp/release-1.17/pr-15793
ceph: Update caps to include executable permission (backport #15793)
2025-04-30 12:42:12 -06:00
Blaine Gardner afb2922a72 Merge pull request #15807 from rook/mergify/bp/release-1.17/pr-15605
rgw: use pod name in ops log filename (backport #15605)
2025-04-30 12:32:38 -06:00
Artem Torubarov 4299ccdd22 rgw: cleanup prev ops log config from mon db
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit d5e4df2186)
2025-04-30 15:42:44 +00:00
Artem Torubarov cb95837409 rgw: use pod name in ops log filename
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit c1fd2f2ee8)
2025-04-30 15:42:44 +00:00
Felix Prasse 3a3f75fc5d csi: update caps to include executable permission
ceph-csi uses an exclusive lock for cryptfs operations. This needs the x capability on the metadata pool.

Fixes #15283

Signed-off-by: Felix Prasse <1330854+flx5@users.noreply.github.com>
(cherry picked from commit 8f53522162)
2025-04-30 14:55:20 +00:00