Commit Graph
12317 Commits
Author SHA1 Message Date
Michael Adam 80682514d8 helm: use the latest version
update the helm version used to the latest (v3.18.2)

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 7c05f532ce)
2025-06-09 19:47:09 +00:00
Travis Nielsen f5a17f4474 Merge pull request #15975 from rook/mergify/bp/release-1.17/pr-15974
doc: fixup bullet points on rgw docs (backport #15974)
2025-06-09 11:14:21 -06:00
Elias Carter a814f0740e doc: fixup bullet points on rgw docs
In #15961 I updated the rgw docs, but I was looking at the published
docs and the bulleting is broken now for Gateway Settings. When I was
working on the PR I was just using the markdown preview in my editor and
wan't using the `docs-preview` target. It turns out that the markdown
editor and mkdocs render things differently.

This PR fixes the bullet formatting and I verified the fix by running
`make docs-preview` on my box and double checking the local website.

Signed-off-by: Elias Carter <elias@dropbox.com>
(cherry picked from commit 5a292f1b52)
2025-06-09 17:02:40 +00:00
subham rai 650c6bb1c4 Merge pull request #15968 from rook/mergify/bp/release-1.17/pr-15796
osd: clean osd disks before reinstalling cluster (backport #15796)
2025-06-09 15:11:15 +05:30
Santosh Pillai 1880856e8e osd: clean osd disks before reinstalling cluster
Allow force creation of OSD on a device previously configured in a different ceph cluster.
The OSD prepare pod job will zap the OSD disk using ceph-volume lvm zap
if that disk has metadata from a different ceph cluster.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 2bcf196b15)
2025-06-09 08:34:33 +00:00
mergify[bot] dec75f1a9b Merge pull request #15964 from rook/mergify/bp/release-1.17/pr-15962
csi: Replace hardcoded imagePullPolicy with dynamic Go template (backport #15962)
2025-06-09 04:46:56 +00:00
Blaine Gardner f3f0737491 Merge pull request #15965 from rook/mergify/bp/release-1.17/pr-15961
doc: improve documentation around object store certificates (backport #15961)
2025-06-06 10:53:28 -06:00
Elias Carter a0b21fd8f0 doc: improve documentation around object store certificates
The documentaiton around object store certificates does not specify how
to deal with internally issued certs being used on the RGW. From my
testing it is possible to get the rook operator to validate the RGW
certs if the entire certificate chain is put into the `cert` field of
the `sslCertificateRef` secret.

Additionally, the docs are linking to a broken civetweb link but rook is
now using the beast frontend, so I fixed that link to point towards the
beast frontend documentation instead.

There was also some confusion around the `caBundleRef` and how that is
used so I made the docs more explicit that the `caBundleRef` is used by
the RGW to connect to external services such as LGW and mulitsite RGW.

Signed-off-by: Elias Carter <elias@dropbox.com>
(cherry picked from commit 0605067a7d)
2025-06-06 16:48:18 +00:00
Praveen Hosamani f0278e23e7 build: make imagePullPolicy dynamic
Signed-off-by: Praveen Hosamani <praveen.h119@gmail.com>
(cherry picked from commit 0c0e94e43c)
2025-06-06 14:54:42 +00:00
Travis Nielsen e1d39b8262 Merge pull request #15959 from obnoxxx/release-1.17-prepare-v1.17.4
build: Update the release version to v1.17.4
v1.17.4
2025-06-05 14:31:27 -06:00
Michael Adam c4a8f32cb2 build: update the release version to v1.17.4
For the patch release update the docs and examples
to v1.17.4

Signed-off-by: Michael Adam <obnox@samba.org>
2025-06-05 13:56:10 -06:00
mergify[bot] ccc7d3f972 Merge pull request #15944 from rook/mergify/bp/release-1.17/pr-15931
core: ensure consistent LeastUptodateDaemonVersion (backport #15931)
2025-06-03 18:59:02 +00:00
Blaine Gardner 9e7d5d5031 core: ensure consistent LeastUptodateDaemonVersion
LeastUptodateDaemonVersion() unmarshals Ceph's daemon versions JSON
output into `map[string]<type>` maps which are not guaranteed to iterate
in the same order as output by Ceph. Fix this method to no longer assume
iteration order is the same order as Ceph's output.

Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com>
(cherry picked from commit d5c4eca3fb)
2025-06-03 18:26:23 +00:00
mergify[bot] 75cc72d7e3 Merge pull request #15941 from rook/mergify/bp/release-1.17/pr-15934
nfs: use tabs instead of spaces in nfs rgw config (backport #15934)
2025-06-03 16:37:12 +00:00
parth-gr d6178cf04e nfs: use tabs instead of spaces in nfs rgw config
currently it was using two tabs, but
others config are using one tab
So update the config to use one tag

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 58eb75b13b)
2025-06-03 16:04:34 +00:00
mergify[bot] 0d5e792328 Merge pull request #15940 from rook/mergify/bp/release-1.17/pr-15935
tests: change project name in keystone e2e test (backport #15935)
2025-06-03 14:27:28 +00:00
Artem Torubarov 29ae9d62a1 tests: change project name in keystone e2e test
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit df3ce489d6)
2025-06-03 13:54:04 +00:00
mergify[bot] e4dae855f0 Merge pull request #15932 from rook/mergify/bp/release-1.17/pr-15914
helm: Add custom labels for toolbox deployment in rook-ceph-cluster chart (backport #15914)
2025-06-03 08:10:07 +00:00
Juri Malinovski 480a7dcc16 helm: add custom labels for toolbox deployment
Allow to assign custom labels for toolbox deployment. Some audit policies require specific labels for all kubernetes objects.

Signed-off-by: Juri Malinovski <juri.malinovski@coolbet.com>
(cherry picked from commit cc7e6b328b)
2025-06-02 22:02:15 +00:00
Travis Nielsen f2da735701 Merge pull request #15927 from rook/mergify/bp/release-1.17/pr-15926
nfs: fix nfs short name (backport #15926)
2025-06-02 10:03:44 -06:00
parth-gr e48915a820 nfs: fix nfs short name
nfs short name and crd name was same
which was conflicting,
remove the short name cephnfs as it can
be already called by the crd name

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 9a0490982e)
2025-06-02 08:59:54 +00:00
Travis Nielsen cf058ad2e1 Merge pull request #15921 from rook/mergify/bp/release-1.17/pr-15887
osd: Debug log for long image names in label (backport #15887)
2025-05-30 13:56:01 -06:00
Travis Nielsen 01e0134be7 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>
(cherry picked from commit 57585ba151)
2025-05-30 19:35:11 +00:00
Travis Nielsen baf0612588 Merge pull request #15920 from travisn/release-1.17.3
build: Update the release version to v1.17.3
v1.17.3
2025-05-30 13:08:26 -06:00
Travis Nielsen 03e5653e40 build: update the release version to v1.17.3
For the patch release update the docs and examples
to v1.17.3

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-05-30 12:40:44 -06:00
Travis Nielsen 8258304851 Merge pull request #15874 from rook/mergify/bp/release-1.17/pr-15853
core: delete old svg/rns cr with same svg/rns  name (backport #15853)
2025-05-30 12:40:05 -06:00
Travis Nielsen 1608cfad14 Merge pull request #15919 from rook/mergify/bp/release-1.17/pr-15909
nfs: fix the skip reconcile call (backport #15909)
2025-05-30 11:36:07 -06:00
parth-gr 88c28d2ade nfs: fix the skip reconcile call
currently nfs is used as the unique selector
for daemon id, which returns  nfs: ocs-storagecluster-cephnfs-a

Updating the has() to function to check the same label value
(n.Name + "-" + id)

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 79f44a4660)
2025-05-30 17:12:40 +00:00
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
subhamkrai 012576ff18 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>
(cherry picked from commit ebc1671ab7)
2025-05-19 16:03:02 +00:00
subhamkrai 76df880480 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>
(cherry picked from commit 1ef660f749)
2025-05-19 16:03:02 +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