Commit Graph
13292 Commits
Author SHA1 Message Date
Madhu Rajanna a6be0c7b52 doc: update the existing document to set clusterID
Updating the existing document to set the clusterID
for cephfs and rbd storageclass.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2025-07-28 08:31:21 +02:00
Madhu Rajanna 21220ea81f core: add clusterID to subvolume group CRD
Providing an option for user to specify the clusterID
they want to use in the storageclass while creating
the subvolume group.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2025-07-28 08:29:51 +02:00
Madhu Rajanna 2a41afcb28 core: add clusterID to rados namespace CRD
Providing an option for user to specify the clusterID
they want to use in the storageclass while creating
the radosnamespace.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2025-07-28 08:29:51 +02:00
Travis Nielsen 9a2d8cd186 Merge pull request #16123 from swills/values-example-resources-list-fix
correct example resources
2025-07-25 14:29:01 -06:00
Steve Wills 0cc6aedd69 helm: correct example resources
Correct example for adding resources to discover daemon pods

Signed-off-by: Steve Wills <steve@mouf.net>
2025-07-25 15:30:20 -04:00
Travis Nielsen f1aa5390e8 Merge pull request #16113 from subhamkrai/upgrade-csi-operator-to-v1
csi: update csi-operator yaml to v1
2025-07-25 11:08:32 -06:00
subhamkrai 6d5401c50d csi: automate CSI cephx key rotation
This PR implements the CSI cephx key rotation feature,
which follows overlapping rotation for non-daemon keys.
Refer to the cephx rotation API from design PR 15915 for details.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-07-25 15:39:00 +05:30
subham rai 5fff02eb86 Merge pull request #16110 from parth-gr/external-cephx
external: automate external users cephx key rotation
2025-07-25 13:45:22 +05:30
Blaine Gardner 3cc77f8777 Merge pull request #16142 from sp98/mds-key-rotation
mds: rotate cephx keys
2025-07-24 12:17:05 -06:00
Blaine Gardner 00ee7032a9 Merge pull request #16096 from subhamkrai/rdr-with-multus
rbdmirror: with multus gen file on remote container
2025-07-24 10:47:37 -06:00
parth-gr c592d36fc7 external: automate external users cephx key rotation
Ceph has a new ceph auth rotate command currently
present in ceph:main

Add a new flag `--cephx-key-rotate`  to rotate the
cephx keys genrated by external python script,
If we enable it, it will create a new user with suffix `.{x}`

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-07-24 14:41:51 +05:30
subhamkraiandMadhu Rajanna fb1047eb10 rbdmirror: with multus gen file on remote container
In case of RDR with multus, the file which contains peer
connection details need to generated on mgr proxy remote
since rbd commands in multus, commands are run via mgr
proxy container and not the rook operator pod.

Co-Authored-by: Madhu Rajanna <madhupr007@gmail.com>
Signed-off-by: subhamkrai <srai@redhat.com>
2025-07-24 12:27:52 +05:30
Santosh Pillai 69a7e88382 mds: better error handling on status update
Improves error handling when `updatestatus` function is called in
Filesystem controller. Retry logic is added incase of any conflicts and
update error is handled.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2025-07-24 07:31:14 +05:30
Santosh Pillai f795d9ab57 mds: rotate cephx keys
Rotate cephx keys for all the MDS daemons based on the cephxConfig in
teh cephCluster CR. Update the cephxStatus in the cephCluster CR and
cephfileSystem CR.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2025-07-24 06:59:05 +05:30
subhamkrai 6df727b91a csi: update csi-operator yaml to v1
this commit updates the csi-operator complete deployment
file csi-operator.yaml to v1 from v1alpha1.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-07-23 21:02:59 +05:30
subhamkrai 1bde614eb5 core: migrate from v1.Endpoints to discoveryv1.EndpointSlice
This change updates the codebase to replace the deprecated
v1.Endpoints API with discoveryv1.EndpointSlice.
The v1.Endpoints API has been deprecated in Kubernetes v1.33+

Signed-off-by: subhamkrai <srai@redhat.com>
2025-07-23 21:02:02 +05:30
Blaine Gardner af6545d79f Merge pull request #16157 from Madhu-1/fix-16156
csi: update ceph-csi to 3.14.2
2025-07-22 14:21:16 -06:00
subham rai c270c5f0a8 Merge pull request #16158 from rook/dependabot/github_actions/github/codeql-action-3.29.3
build(deps): bump github/codeql-action from 3.29.2 to 3.29.3
2025-07-22 21:22:52 +05:30
subham rai 1e489fd6ae Merge pull request #16143 from OdedViner/upgrade_go_1_24_new
core: update rook to go 1.24.3
2025-07-22 17:18:24 +05:30
Blaine Gardner d720f2ae6c Merge pull request #16153 from masonwb/master
Update SecurityContextConstraints for rook-ceph helm chart
2025-07-21 11:36:34 -06:00
dependabot[bot] 6c170b4fc1 build(deps): bump github/codeql-action from 3.29.2 to 3.29.3
---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.29.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-21 12:43:48 +00:00
Santosh Pillai 28db9740de Merge pull request #16127 from sp98/mgr-key-rotate
mgr: rotate cephx keys
2025-07-21 15:29:32 +05:30
Madhu Rajanna 052fe4a9af csi: update ceph-csi to 3.14.2
Updating the ceph-csi image to 3.14.2
release.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2025-07-21 11:24:05 +02:00
Santosh Pillai b486e308c3 mgr: rotate cephx keys
rotate cephx keys based on keyRotationPolicy and update cephxStatus for
the MGR daemon pods.

Signed-off-by: Santosh Pillai <sapillai@redhat.com>
2025-07-21 12:31:35 +05:30
Mason a030d2ceb3 helm: update rook-ceph SecurityContextConstraints to match operator-openshift.yaml example
The rook-ceph SecurityContextConstraints in the rook-ceph helm chart does not include all the users necessary for a successful deployment. Specifically, rook-ceph-default, rook-ceph-mgr, rook-ceph-osd, and rook-ceph-rgw are listed in the operator-openshift.yaml example file (https://github.com/rook/rook/blob/master/deploy/examples/operator-openshift.yaml) but are not included in the helm chart. This commit adds these users.

Signed-off-by: Mason Buchanan <masonwb@gmail.com>
2025-07-21 01:17:14 -04:00
Blaine Gardner e4da184ce3 Merge pull request #16132 from parth-gr/fix-rgwstatus-err
rgw: fail reconcile on status update error
2025-07-16 14:51:36 -06:00
Blaine Gardner 0488f6dec8 Merge pull request #16060 from parth-gr/cephclient-cephx
core: automate cephclient cephx key rotation
2025-07-16 13:35:28 -06:00
Blaine Gardner 22ef8043f9 Merge pull request #16133 from cobaltcore-dev/multus-rgw-zone-json-fix
multus: support copy file to cmd-proxy container for rgw zone set
2025-07-16 10:28:50 -06:00
Travis Nielsen 87219acc6a Merge pull request #16144 from OdedViner/metadata_server_probe
core: fix nil pointer panic when startupProbe is set in cephfilesystem
2025-07-16 10:04:13 -06:00
Oded Viner 51e9ddc3f5 core: fix nil pointer panic when startupProbe is set in cephfilesystem
fixes a nil pointer dereference in GetProbeWithDefaults when
startupProbe is set in cephfilesystem and currentProbe is nil.
adds panic recovery in cephfilesystem reconcile loop to improve
error visibility and avoid silent reconcile restarts.

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-07-16 18:23:06 +03:00
Oded Viner 67925c9bbe core: update rook to go 1.24.3
update rook to go 1.24.3

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-07-16 12:24:50 +03:00
parth-gr 6ffbec7308 core: automate cephclient cephx key rotation
Ceph has a new ceph auth rotate command currently
present in ceph:main

Add a cephclient api support to rotate the
cephx keys genrated by cephclient

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-07-16 14:43:18 +05:30
parth-gr b8517eb54f rgw: fail reconcile on status update error
if the status update is failed, return an error
and do a new reconcile for the rgw controller

Signed-off-by: parth-gr <partharora1010@gmail.com>
2025-07-16 14:37:03 +05:30
Artem Torubarov c88e6ea952 multus: support copy file to cmd-proxy container for rgw zone set commands
Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
2025-07-16 10:45:42 +02:00
subham rai 98287f5a74 Merge pull request #16140 from travisn/hash-modules
core: Update go modules to latest except for go 1.24
2025-07-16 09:05:56 +05:30
Travis Nielsen 24b0b866ab core: update go modules to latest except for go 1.24
Update all the go modules to the latest, except for the modules
that require go 1.24. Those modules will be updated in a
follow-up change.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2025-07-15 14:13:12 -06:00
Travis Nielsen 6520d006cc Merge pull request #16128 from rook/dependabot/go_modules/golang.org/x/sync-0.16.0
build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0
2025-07-15 14:09:18 -06:00
Travis Nielsen 805341661a Merge pull request #16135 from synthe102/master
helm(rook-ceph-cluster): add HTTPRoute for dashboard and objectstore
2025-07-15 13:30:05 -06:00
synthe102 25a7a910b5 helm(rook-ceph-cluster): add HTTPRoute for dashboard and objectstore
Signed-off-by: synthe102 <leonard@suslian.engineer>
2025-07-15 19:00:00 +00:00
Santosh Pillai 615ac4af6d Merge pull request #16087 from elias-dbx/pdb_missing_node
osd: treat non existing OSD nodes as drained
2025-07-15 21:47:50 +05:30
Travis Nielsen df598916d0 Merge pull request #16129 from subhamkrai/test-helm-ci-error
test: add pathType with ingress dashboard host
2025-07-15 09:39:10 -06:00
Travis Nielsen 95ea3dfdff Merge pull request #16126 from OdedViner/rbd-remove-redundant-stats-log
pool: remove redundant stats pools info log
2025-07-15 08:09:44 -06:00
Travis Nielsen b2d8fc296b Merge pull request #16079 from raaizik/ra-14355
docs: have a StorageClass consume SubVolumeGroup
2025-07-15 08:08:34 -06:00
raaizikandTravis Nielsen e46de55a90 docs: have a StorageClass consume SubVolumeGroup
Adds guide for how to create a storage class that consumes a SubVolumeGroup

Signed-off-by: raaizik <132667934+raaizik@users.noreply.github.com>
Co-Authored-By: Travis Nielsen <tnielsen@redhat.com>
2025-07-15 13:28:28 +03:00
subhamkrai 8bd4b38399 test: add pathType with ingress dashboard host
Recentally, helm related ci started failing due to
```
testutil: failed to install chart. result=. walk.go:75: found symbolic link in path: /home/runner/work/rook/rook/deploy/charts/rook-ceph-cluster/charts/library resolves to /home/runner/work/rook/rook/deploy/charts/library. Contents of linked file included and used
I0714 09:44:18.963620   18291 warnings.go:110] "Warning: path /ceph-dashboard(/|$)(.*) cannot be used with pathType Prefix"
Error: INSTALLATION FAILED: 1 error occurred:
	* admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: ingress contains invalid paths: path /ceph-dashboard(/|$)(.*) cannot be used with pathType Prefix, err=failed to run helm command on args [install --create-namespace rook-ceph-cluster /home/runner/work/rook/rook/deploy/charts/rook-ceph-cluster --namespace helm-ns -f values-test.yaml] : . walk.go:75: found symbolic link in path: /home/runner/work/rook/rook/deploy/charts/rook-ceph-cluster/charts/library resolves to /home/runner/work/rook/rook/deploy/charts/library. Contents of linked file included and used
I0714 09:44:18.963620   18291 warnings.go:110] "Warning: path /ceph-dashboard(/|$)(.*) cannot be used with pathType Prefix"
Error: INSTALLATION FAILED: 1 error occurred:
```
as default `pathType` is `Prefix`, we need to change it to
`pathType:ImplementationSpecific`.

Signed-off-by: subhamkrai <srai@redhat.com>
2025-07-15 12:50:20 +05:30
dependabot[bot] 8515ca0dc9 build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/sync/compare/v0.15.0...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-14 14:51:55 +00:00
Oded Viner e089092092 pool: remove redundant stats pools info log
remove unnecessary info-level log for enableStatsForPools;
detailed debug log already exists

Signed-off-by: Oded Viner <oviner@redhat.com>
2025-07-14 12:31:31 +03:00
Blaine Gardner a156f27f34 Merge pull request #16115 from sp98/clusterCephxStatus-uninitialized
core: init cephxStatus on cephCluster
2025-07-11 13:52:31 -06:00
Travis Nielsen 7be445d799 Merge pull request #16119 from puskunalis/ci-refactor-cluster-teardown-logic
ci: refactor cluster teardown logic
2025-07-11 08:55:26 -06:00
Vilius Puškunalis 1a4d8e2859 ci: refactor cluster teardown logic
Refactors cluster teardown logic in remaining jobs to use the new delete_cluster function.

Signed-off-by: Vilius Puškunalis <47086537+puskunalis@users.noreply.github.com>
2025-07-10 20:23:52 +03:00