Commit Graph
12645 Commits
Author SHA1 Message Date
Praveen M 87331abe01 csi: update ceph-csi to v3.15.0
We have new release for Ceph-CSI v3.15.0 -
https://github.com/ceph/ceph-csi/releases/tag/v3.15.0

Signed-off-by: Praveen M <m.praveen@ibm.com>
(cherry picked from commit 5fc4e15bb1)
2025-08-19 17:31:02 +00:00
subham rai 2f518812de Merge pull request #16345 from rook/mergify/bp/release-1.18/pr-16313
core: rotate fs mirror daemon cephx key (backport #16313)
2025-08-19 11:56:09 +05:30
Travis Nielsen 0dea03818e Merge pull request #16344 from rook/mergify/bp/release-1.18/pr-16340
build(deps): bump snyk/actions from 77490d94e966421e076e95ad8fa87aa55e5ca409 to 86b1cee1b8e110a78d528b3e1328a80e218111d2 (backport #16340)
2025-08-18 15:22:15 -06:00
Santosh Pillai 4e28392642 core: rotate fs mirror daemon cephx key
Rotate fs mirror daemon cephx keys based on the cephXconfig in the
cephcluster spec and also update the fs mirror status with the latest
cephxStatus

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit 8df6b8d0d0)
2025-08-18 21:18:31 +00:00
dependabot[bot] 82991f74a1 build(deps): bump snyk/actions
Bumps [snyk/actions](https://github.com/snyk/actions) from 77490d94e966421e076e95ad8fa87aa55e5ca409 to 86b1cee1b8e110a78d528b3e1328a80e218111d2.
- [Release notes](https://github.com/snyk/actions/releases)
- [Commits](https://github.com/snyk/actions/compare/77490d94e966421e076e95ad8fa87aa55e5ca409...86b1cee1b8e110a78d528b3e1328a80e218111d2)

---
updated-dependencies:
- dependency-name: snyk/actions
  dependency-version: 86b1cee1b8e110a78d528b3e1328a80e218111d2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 46d44ff2a5)
2025-08-18 21:15:28 +00:00
Travis Nielsen 86a262145b Merge pull request #16342 from rook/mergify/bp/release-1.18/pr-16258
docs: CSI operator deployment documentation (backport #16258)
2025-08-18 15:13:27 -06:00
Travis Nielsen aec406c2d8 docs: csi operator deployment documentation
With the csi operator becoming the default for deployment,
the docs are now updated with the details in the quickstart
guide and upgrade guide to help with the transition.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit b856338c5e)
2025-08-18 13:59:16 -06:00
Travis Nielsen 480c9803a0 Merge pull request #16337 from rook/mergify/bp/release-1.18/pr-16311
security: Configure sccs for the ceph-csi operator (backport #16311)
2025-08-18 13:32:14 -06:00
Travis Nielsen 10c888200e security: configure sccs for the csi operator
The CSI operator requires the SecurityContextConstraints to
be configured for the service accounts that have a different
name from the previous CSI driver, both via the manifest install
and the helm install.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit cb6da09a44)
2025-08-18 14:23:37 +00:00
Travis Nielsen e351fb04cf Merge pull request #16334 from rook/mergify/bp/release-1.18/pr-16329
pool: fix cephblockpool remove when related pool is already removed (backport #16329)
2025-08-15 15:21:45 -06:00
Denis Egorenko f21cd80606 pool: fix cephblockpool remove when related pool is already removed from cluster
When removeing CephBlockPool check first that related ceph pool is exist in cluster,
since it may be manually removed by mistake.

Related-Issue: #16328
Signed-off-by: Denis Egorenko <degorenko@mirantis.com>
(cherry picked from commit c9e0f89a8b)
2025-08-15 19:46:18 +00:00
Blaine Gardner 8dc0af17b7 Merge pull request #16332 from rook/mergify/bp/release-1.18/pr-16176
mon: rotate cephx key (backport #16176)
2025-08-15 13:05:47 -06:00
Blaine Gardner c87934950f Merge pull request #16331 from rook/mergify/bp/release-1.18/pr-16070
core: option to override the ceph user name in cephClient CR (backport #16070)
2025-08-15 11:41:20 -06:00
Santosh Pillai bfe8d50db6 mon: rotate keys
rotate mon daemon keys and update the cephx status for mons in the
cephcluster resource.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit fe42fe102f)
2025-08-15 17:07:19 +00:00
Madhu Rajanna a783abbac1 core: implement client name override
There is a field in the CR spec to override
the name and the feature was not implement,
This commits adds the support to override the
cephclient name if ever required.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit a71cc27b72)
2025-08-15 16:55:16 +00:00
Madhu Rajanna 3d1afc7788 core: skip Name validation
the CR cannot be created without a Name,
Removing the check as it never gets executed.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 36c84aa43c)
2025-08-15 16:55:16 +00:00
mergify[bot] 13380d34bd Merge pull request #16319 from rook/mergify/bp/release-1.18/pr-16043
helm: add helm support for new ceph-csi-operator (backport #16043)
2025-08-14 17:04:46 +00:00
subhamkrai 6877314947 helm: add helm support for new csi-operator
This commit test csi-operator helm chart as a dependencies with rook-ceph operator helm chart.
With these changes csi-operator will be installed as a part of rook-ceph operator helm chart.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit ee6f2e654a)
2025-08-14 16:02:24 +00:00
Travis Nielsen cbd9ab8c4e Merge pull request #16307 from rook/mergify/bp/release-1.18/pr-16290
rbdmirror: fix status check for rbd rn mirroring (backport #16290)
2025-08-14 09:09:48 -06:00
Travis Nielsen 861068122d Merge pull request #16308 from rook/mergify/bp/release-1.18/pr-16304
csi: update the csi-operator API (backport #16304)
2025-08-14 09:09:25 -06:00
Travis Nielsen a147675c48 Merge pull request #16310 from rook/mergify/bp/release-1.18/pr-16309
csi: remove inline panic handler from CreateDefaultClientProfile (backport #16309)
2025-08-14 09:08:26 -06:00
mergify[bot] 78e8a41fd7 Merge pull request #16315 from rook/mergify/bp/release-1.18/pr-16293
operator: mount udev to cleanup job and disable udev sync (backport #16293)
2025-08-14 15:07:21 +00:00
Travis Nielsen 1851dd033f Merge pull request #16317 from rook/mergify/bp/release-1.18/pr-16312
docs: minor syntax fixes for CephCluster CRD documentation (backport #16312)
2025-08-14 09:07:13 -06:00
Jack Henschel e27a95b848 docs: minor syntax fixes for CephCluster CRD documentation
Signed-off-by: Jack Henschel <jhensche@redhat.com>
(cherry picked from commit d8651f33ea)
2025-08-14 14:24:45 +00:00
Denis Egorenko 6b27d08221 operator: mount udev to cleanup job and disable udev sync
Mount /run/udev inside cluster cleanup jobs and disable udev sync
with DM_DISABLE_UDEV.

Related-Issue: rook#16292
Signed-off-by: Denis Egorenko <degorenko@mirantis.com>
(cherry picked from commit 09622a8b8d)
2025-08-14 13:10:47 +00:00
Oded Viner 6157ff570d csi: remove inline panic handler from CreateDefaultClientProfile
remove inline defer that catches and logs panics since it is already handled by pr#16150

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 7f0be04773)
2025-08-13 16:28:58 +00:00
Madhu Rajanna 1938299fc9 csi: update the csi-operator API
updating the csi operator API version
to latest version.

Adding the cephFS and RBD controllerPublish
secret that are required for the fencing
operation that is supported by ceph-csi
with csi-operator.

Updated the storageclass to include the
secrets incase if user wants to override
the defaults in the clientProfile for
new PVC's.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 3d024ce3c7)
2025-08-13 15:08:12 +00:00
parth-gr b078effaec rbdmirror: fix status check for rbd rn mirroring
if the blockpool mirroring is disabled and status check
is not removed, currently rn cr still watches for the status

Add a check if the pool or rados mirroring is disabled then dont
watch for status

Signed-off-by: parth-gr <partharora1010@gmail.com>
(cherry picked from commit 11b3d7e16e)
2025-08-13 14:16:57 +00:00
Travis Nielsen a2b819129f Merge pull request #16300 from rook/mergify/bp/release-1.18/pr-16289
external: user userID and userKey for rbd (backport #16289)
2025-08-12 22:01:25 -06:00
mergify[bot] 9acdb84b6f Merge pull request #16302 from rook/mergify/bp/release-1.18/pr-16295
csi: update csi-operator yaml to version v0.4.0 (backport #16295)
2025-08-13 03:57:05 +00:00
mergify[bot] 11cb14b2df Merge pull request #16301 from rook/mergify/bp/release-1.18/pr-16294
csi: update Kubernetes CSI-Addons sidecar to version 0.13.0 (backport #16294)
2025-08-12 17:55:21 +00:00
mergify[bot] 923f0e562a Merge pull request #16298 from rook/mergify/bp/release-1.18/pr-16288
csi: update cephfs user and key in secret (backport #16288)
2025-08-12 17:48:47 +00:00
subhamkrai 53cacf4edb csi: update csi-operator yaml to version v0.4.0
this yaml contains all the rbac, crds and csi-operator
deployment all-in-one.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 850ef60a31)
2025-08-12 17:33:53 +00:00
Niels de Vos a6da360d15 csi: update Kubernetes CSI-Addons sidecar to version 0.13.0
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 17d53ed16b)
2025-08-12 17:27:47 +00:00
Madhu Rajanna cc2df188de external: user userID and userKey for rbd
csi never used adminID and adminKey for the
rbd secrets, This currently looks to be a
bug where we are creating the secret with userID
and userKey but updating it with adminID and
adminKey, This commits update the script to
use userID and userKey for RBD secrets.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit db44ef3645)
2025-08-12 17:26:04 +00:00
Madhu Rajanna 788cf7b212 csi: update cephfs user and key in secret
cephCSI already deprecated the adminID and
adminKey keys in the secrets and to be backward
compatible it still supports the adminID and
adminKey but it logs the warning, updating the
secrets created by Rook to use userID and userKey
instead of adminID and adminKey.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit cb89f351ed)
2025-08-12 16:29:27 +00:00
mergify[bot] c698ab260b Merge pull request #16273 from rook/mergify/bp/release-1.18/pr-16269
csi: Create cephconnection CR with name of the cluster namespace (backport #16269)
2025-08-12 07:06:04 +00:00
mergify[bot] b5d64ea340 Merge pull request #16281 from rook/mergify/bp/release-1.18/pr-16075
rbd mirror peer key rotation (backport #16075)
2025-08-11 17:39:04 +00:00
Santosh Pillai 519ec6821c core: rotate rbd mirror peer key
rotate the client.rbd-mirror-peer key based on the cephxconfig.
Also update the cephxStatus in the cephcluster as well as the
mirrored cephblockpool.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit ee0b137d75)
2025-08-11 16:55:09 +00:00
mergify[bot] e920350ff9 Merge pull request #16279 from rook/mergify/bp/release-1.18/pr-16277
csi: use cluster namespace for cephConn (backport #16277)
2025-08-11 07:51:49 +00:00
Madhu Rajanna 41c4e24e35 csi: use cluster namespace for cephConn
CephConnection CR is created with the
kubernetes namespace name as its the
unique name in the entire cluster.
This PR removes unwanted input
parameters and adjust the namespace
name for the cephConnection CR.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
(cherry picked from commit 1ff3f07ac5)
2025-08-11 07:12:44 +00:00
Blaine Gardner 4c26697576 Merge pull request #16274 from rook/mergify/bp/release-1.18/pr-16227
core: rotate mirror daemon keys (backport #16227)
2025-08-08 10:23:15 -06:00
Santosh Pillai c78c66f7e6 core: rotate mirror daemon keys
rotate RBD mirror daemon keys, add secret resource version to the mirror
deployment and update the mirror resource status after the key is
rotated

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
(cherry picked from commit d0fbf6c424)
2025-08-08 15:46:23 +00:00
Travis Nielsen dac320bc20 csi: create cephconnection cr with cluster namespace name
The cephconnection CR expects to be created with the name of
the namespace where the cephcluster CR is found, so the CSI
driver can find the cluster when provisioning the volume.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 134e27e353)
2025-08-08 15:08:11 +00:00
mergify[bot] 943ab71cfa Merge pull request #16265 from rook/mergify/bp/release-1.18/pr-16260
core: cleanup csi-related folders from /var/lib/rook during uninstall (backport #16260)
2025-08-07 18:41:04 +00:00
mergify[bot] f17e7e979e Merge pull request #16268 from rook/mergify/bp/release-1.18/pr-16249
mon: Failover mon immediately if node not exist (backport #16249)
2025-08-07 18:13:41 +00:00
mergify[bot] 1688d296d7 Merge pull request #16267 from rook/mergify/bp/release-1.18/pr-16069
object: mark realm as default to avoid zone creation (backport #16069)
2025-08-07 17:03:25 +00:00
Travis Nielsen 66b3e42e03 mon: failover mon immediately if node not exist
During mon failover, if a mon is assigned to a node
but the node does not exist, the mon should be failed
over immediately instead of waiting for a 10 or 20
minute timeout. If the node does not exist, the mon pod
will be in a pending state until the failover is finally
triggered, and no point in waiting that long if the
node is gone.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 8b4d3b19cf)
2025-08-07 16:41:14 +00:00
Oded Viner 40a3f704a3 object: mark realm as default to avoid zone creation
add defaultRealm field to cephobjectstore to allow rook to mark the
created realm as default. this prevents ceph from auto-creating a
"default" zonegroup and zone when the default is not explicitly set.
affects only non-multisite setups.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 182cd211ca)
2025-08-07 16:34:15 +00:00
Oded Viner 6b8e1b6dc9 core: cleanup csi-related folders from /var/lib/rook during uninstall
delete csi-related directories from /var/lib/rook that
match the suffix `.csi.ceph.com`.
these folders were used in earlier versions when rook managed
cephcsi directly. in later versions, logs and data are redirected
to /var/lib/cephcsi, but legacy paths may still exist and require
cleanup during uninstall.
this change improves cleanup completeness for odf 4.18 and earlier.

example of directories removed:
- /var/lib/rook/openshift-storage.cephfs.csi.ceph.com
- /var/lib/rook/openshift-storage.rbd.csi.ceph.com

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 87165cc6d1)
2025-08-07 16:24:19 +00:00