Travis Nielsen
af548ef2f6
csi: always initialize driver names
...
The driver names were only being initialized in certain code paths
where the drivers were being started and stopped. However, another
code path relied on those names being set. Now, we initialize the
driver names every time the CSI params are initialized, instead of
initializing the names separately.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com >
2025-08-27 11:06:49 -06:00
subham rai
8f3cfb1e03
Merge pull request #16379 from rook/dependabot/go_modules/github-dependencies-e743bb0a3f
...
build(deps): bump the github-dependencies group with 6 updates
2025-08-26 14:21:32 +05:30
dependabot[bot]
73ab9017a9
build(deps): bump the github-dependencies group with 6 updates
...
Bumps the github-dependencies group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2 ) | `1.31.0` | `1.31.2` |
| [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2 ) | `1.18.4` | `1.18.6` |
| [github.com/aws/aws-sdk-go-v2/service/sns](https://github.com/aws/aws-sdk-go-v2 ) | `1.37.0` | `1.37.2` |
| [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator ) | `0.84.1` | `0.85.0` |
| [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator ) | `0.84.1` | `0.85.0` |
| [github.com/stretchr/testify](https://github.com/stretchr/testify ) | `1.10.0` | `1.11.0` |
Updates `github.com/aws/aws-sdk-go-v2/config` from 1.31.0 to 1.31.2
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.31.0...config/v1.31.2 )
Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.18.4 to 1.18.6
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/config/v1.18.6/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.18.4...config/v1.18.6 )
Updates `github.com/aws/aws-sdk-go-v2/service/sns` from 1.37.0 to 1.37.2
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.37.0...v1.37.2 )
Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.84.1 to 0.85.0
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases )
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.84.1...v0.85.0 )
Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.84.1 to 0.85.0
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases )
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.84.1...v0.85.0 )
Updates `github.com/stretchr/testify` from 1.10.0 to 1.11.0
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/config
dependency-version: 1.31.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
dependency-version: 1.18.6
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sns
dependency-version: 1.37.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
dependency-version: 0.85.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
dependency-version: 0.85.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/stretchr/testify
dependency-version: 1.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: subhamkrai <srai@redhat.com >
2025-08-26 12:45:32 +05:30
Travis Nielsen
79e067ec05
csi: generate default crush topology labels
...
The csi read affinity requires the crush topology labels
to be specified in the cephconnection CR. If they are
not specified by the user, rook can generate the default
topology labels instead of expecting them.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com >
2025-08-25 11:55:00 -06:00
Blaine Gardner
6d84310db5
Merge pull request #16336 from parth-gr/fix-csi-priorkey
...
csi: fix the prior key count for csi key rotation
2025-08-20 10:07:34 -06:00
parth-gr
7b5d476887
csi: fix the prior key count for csi key rotation
...
fix the prior key count status for the csi
key rotation
Signed-off-by: parth-gr <partharora1010@gmail.com >
2025-08-20 20:40:52 +05:30
Blaine Gardner
37b6d41d04
Merge pull request #16346 from BlaineEXE/key-rotation-1.18-cleanup
...
CephX key rotation 1.18 cleanup
2025-08-19 14:55:05 -06:00
Praveen M
5fc4e15bb1
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 >
2025-08-19 20:56:00 +05:30
subham rai
dfff81761a
Merge pull request #16320 from subhamkrai/ci-enable-csi-operator
...
csi: make csi-operator default deployment
2025-08-19 19:00:17 +05:30
subhamkrai and Travis Nielsen
c57a47f774
ci: run csi-operator only in canary and upgrade suite
...
this commit add check to only run the csi-operator in
all the canary tests and upgrade suite only, other suite
like smoke and object will still test csi-driver.
Also, adding changes to make CI happy.
Signed-off-by: subhamkrai <srai@redhat.com >
Co-Authored-by: Travis Nielsen <tnielsen@redhat.com >
Signed-off-by: subhamkrai <srai@redhat.com >
2025-08-19 11:23:14 +05:30
Blaine Gardner
a952b7511a
core: allow cephx rotation for ceph 19.2.3 except mons
...
Allow Rook to rotate CephX keys for Ceph v19.2.3 and up with the
exception of Ceph mons. While v19.2.3 has the `ceph auth rotate` command
that Rook needs to perform key rotation, there is still ongoing work in
Ceph to change how the `mon.` key is tracked internally. Rook's mon key
rotation requires those currently-unreleased Ceph changes.
Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com >
2025-08-18 16:50:11 -06:00
Travis Nielsen
f7d2e208c8
Merge pull request #16313 from sp98/fs-mirror-key-rotation
...
core: rotate fs mirror daemon cephx key
2025-08-18 15:17:06 -06:00
Blaine Gardner
2fd9c9a88c
core: finalize CephCluster CephX status handling
...
Cleanup up overall usage of CephX statuses in CephCluster.
Convert all CephX statuses to non-pointer types. There is no specific
need for pointer types, and keeping these as non-pointers means there is
not a risk of nil pointer exceptions in all the various Rook controllers
for upgraded clusters.
Move initialization of CephCluster CephX status items to
`preMonStartupActions()`. This helps resolve 2 issues:
1. 'Uninitialized' state was being set for external CephClusters where
CephX statuses are not relevant.
2. 'Uninitialized' state was being set for upgraded clusters whose key
status cannot be determined.
Signed-off-by: Blaine Gardner <blaine.gardner@ibm.com >
2025-08-18 14:53:08 -06:00
dependabot[bot]
208837a7bf
build(deps): bump the k8s-dependencies group with 6 updates
...
Bumps the k8s-dependencies group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [k8s.io/api](https://github.com/kubernetes/api ) | `0.33.3` | `0.33.4` |
| [k8s.io/apiextensions-apiserver](https://github.com/kubernetes/apiextensions-apiserver ) | `0.33.3` | `0.33.4` |
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) | `0.33.3` | `0.33.4` |
| [k8s.io/cli-runtime](https://github.com/kubernetes/cli-runtime ) | `0.33.3` | `0.33.4` |
| [k8s.io/client-go](https://github.com/kubernetes/client-go ) | `0.33.3` | `0.33.4` |
| [k8s.io/cloud-provider](https://github.com/kubernetes/cloud-provider ) | `0.33.3` | `0.33.4` |
Updates `k8s.io/api` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/api/compare/v0.33.3...v0.33.4 )
Updates `k8s.io/apiextensions-apiserver` from 0.33.3 to 0.33.4
- [Release notes](https://github.com/kubernetes/apiextensions-apiserver/releases )
- [Commits](https://github.com/kubernetes/apiextensions-apiserver/compare/v0.33.3...v0.33.4 )
Updates `k8s.io/apimachinery` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.33.3...v0.33.4 )
Updates `k8s.io/cli-runtime` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/cli-runtime/compare/v0.33.3...v0.33.4 )
Updates `k8s.io/client-go` from 0.33.3 to 0.33.4
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/kubernetes/client-go/compare/v0.33.3...v0.33.4 )
Updates `k8s.io/cloud-provider` from 0.33.3 to 0.33.4
- [Commits](https://github.com/kubernetes/cloud-provider/compare/v0.33.3...v0.33.4 )
---
updated-dependencies:
- dependency-name: k8s.io/api
dependency-version: 0.33.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-dependencies
- dependency-name: k8s.io/apiextensions-apiserver
dependency-version: 0.33.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-dependencies
- dependency-name: k8s.io/apimachinery
dependency-version: 0.33.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-dependencies
- dependency-name: k8s.io/cli-runtime
dependency-version: 0.33.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-dependencies
- dependency-name: k8s.io/client-go
dependency-version: 0.33.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-dependencies
- dependency-name: k8s.io/cloud-provider
dependency-version: 0.33.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: k8s-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-18 13:29:00 -06:00
Travis Nielsen
c23754fc11
Merge pull request #16329 from degorenko/fix-pool-remove
...
pool: fix cephblockpool remove when related pool is already removed
2025-08-15 13:45:34 -06:00
Denis Egorenko
c9e0f89a8b
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 >
2025-08-15 22:59:34 +04:00
Travis Nielsen
36a47ac01a
Merge pull request #16176 from sp98/mon-key-rotation
...
mon: rotate cephx key
2025-08-15 11:06:31 -06:00
Madhu Rajanna
a71cc27b72
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 >
2025-08-15 09:50:32 -06:00
Madhu Rajanna
36c84aa43c
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 >
2025-08-15 09:42:16 -06:00
Travis Nielsen
892d43c3e8
Merge pull request #16306 from rook/dependabot/go_modules/github-dependencies-84ee9e4cad
...
build(deps): bump the github-dependencies group across 1 directory with 8 updates
2025-08-14 14:14:41 -06:00
Travis Nielsen
d6b91b9409
Merge pull request #16275 from anshuman-agarwala/secret-removal
...
operator: Removed legacy secret deletion code in rbd
2025-08-14 14:06:34 -06:00
dependabot[bot]
6a75d578e7
build(deps): bump the github-dependencies group across 1 directory with 8 updates
...
Bumps the github-dependencies group with 7 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) | `1.55.7` | `1.55.8` |
| [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2 ) | `1.30.0` | `1.31.0` |
| [github.com/aws/aws-sdk-go-v2/service/sns](https://github.com/aws/aws-sdk-go-v2 ) | `1.35.0` | `1.37.0` |
| [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph ) | `0.34.0` | `0.35.0` |
| [github.com/csi-addons/kubernetes-csi-addons](https://github.com/csi-addons/kubernetes-csi-addons ) | `0.12.0` | `0.13.0` |
| [github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring](https://github.com/prometheus-operator/prometheus-operator ) | `0.84.0` | `0.84.1` |
| [github.com/prometheus-operator/prometheus-operator/pkg/client](https://github.com/prometheus-operator/prometheus-operator ) | `0.84.0` | `0.84.1` |
Updates `github.com/aws/aws-sdk-go` from 1.55.7 to 1.55.8
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG_PENDING.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.55.7...v1.55.8 )
Updates `github.com/aws/aws-sdk-go-v2/config` from 1.30.0 to 1.31.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.30.0...v1.31.0 )
Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.18.0 to 1.18.4
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/config/v1.18.4/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.18.0...config/v1.18.4 )
Updates `github.com/aws/aws-sdk-go-v2/service/sns` from 1.35.0 to 1.37.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases )
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json )
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.35.0...v1.37.0 )
Updates `github.com/ceph/go-ceph` from 0.34.0 to 0.35.0
- [Release notes](https://github.com/ceph/go-ceph/releases )
- [Changelog](https://github.com/ceph/go-ceph/blob/master/docs/release-process.md )
- [Commits](https://github.com/ceph/go-ceph/compare/v0.34.0...v0.35.0 )
Updates `github.com/csi-addons/kubernetes-csi-addons` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/csi-addons/kubernetes-csi-addons/releases )
- [Changelog](https://github.com/csi-addons/kubernetes-csi-addons/blob/main/PendingReleaseNotes.md )
- [Commits](https://github.com/csi-addons/kubernetes-csi-addons/compare/v0.12.0...v0.13.0 )
Updates `github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring` from 0.84.0 to 0.84.1
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases )
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.84.0...v0.84.1 )
Updates `github.com/prometheus-operator/prometheus-operator/pkg/client` from 0.84.0 to 0.84.1
- [Release notes](https://github.com/prometheus-operator/prometheus-operator/releases )
- [Changelog](https://github.com/prometheus-operator/prometheus-operator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus-operator/prometheus-operator/compare/v0.84.0...v0.84.1 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-version: 1.55.8
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/config
dependency-version: 1.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
dependency-version: 1.18.4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sns
dependency-version: 1.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/ceph/go-ceph
dependency-version: 0.35.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/csi-addons/kubernetes-csi-addons
dependency-version: 0.13.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
dependency-version: 0.84.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
- dependency-name: github.com/prometheus-operator/prometheus-operator/pkg/client
dependency-version: 0.84.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-14 13:27:45 -06:00
Santosh Pillai
5df485cbb3
Merge pull request #16293 from degorenko/fix-cleanup-job
...
operator: mount udev to cleanup job and disable udev sync
2025-08-14 18:39:24 +05:30
Santosh Pillai
8df6b8d0d0
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 >
2025-08-14 16:16:51 +05:30
Santosh Pillai
fe42fe102f
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 >
2025-08-14 11:16:39 +05:30
Oded Viner
7f0be04773
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 >
2025-08-13 19:01:32 +03:00
Travis Nielsen
47d01f8812
Merge pull request #16304 from Madhu-1/update-csi-op-0.4.0
...
csi: update the csi-operator API
2025-08-13 09:07:12 -06:00
Travis Nielsen
1deec3a396
Merge pull request #16290 from parth-gr/fix-mirror-status
...
rbdmirror: fix status check for rbd rn mirroring
2025-08-13 08:15:39 -06:00
parth-gr
11b3d7e16e
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 >
2025-08-13 13:33:05 +05:30
Madhu Rajanna
3d024ce3c7
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 >
2025-08-13 09:30:50 +02:00
Denis Egorenko
09622a8b8d
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 >
2025-08-12 22:46:27 +04:00
Travis Nielsen
3ea967df70
Merge pull request #16294 from nixpanic/csi-addons/v0.13.0
...
csi: update Kubernetes CSI-Addons sidecar to version 0.13.0
2025-08-12 11:26:27 -06:00
subham rai
c94f490997
Merge pull request #16288 from Madhu-1/fix-16175
...
csi: update cephfs user and key in secret
2025-08-12 21:34:35 +05:30
Niels de Vos
17d53ed16b
csi: update Kubernetes CSI-Addons sidecar to version 0.13.0
...
Signed-off-by: Niels de Vos <ndevos@ibm.com >
2025-08-12 17:56:37 +02:00
subham rai
70f465745b
Merge pull request #16272 from Madhu-1/fix-filepath
...
core: use filepath.Join instead of path.Json and add unit testing for cleanup functions
2025-08-12 14:59:40 +05:30
Madhu Rajanna
cb89f351ed
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 >
2025-08-12 09:53:55 +02:00
Blaine Gardner
59ca78229d
Merge pull request #16075 from sp98/mirror-key-rotation
...
rbd mirror peer key rotation
2025-08-11 10:54:20 -06:00
Santosh Pillai
ee0b137d75
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 >
2025-08-11 21:53:14 +05:30
Madhu Rajanna
1ff3f07ac5
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 >
2025-08-11 07:38:27 +02:00
Anshuman
79b24564ef
operator: removed legacy secret deletion code in rbd
...
Signed-off-by: Anshuman <anshuman@ibm.com >
2025-08-08 21:56:06 +05:30
Blaine Gardner
517f519c23
Merge pull request #16227 from sp98/mirror-daemon-key-rotation
...
core: rotate mirror daemon keys
2025-08-08 09:45:48 -06:00
Madhu Rajanna
878603ba25
core: add unit testing for cleanup
...
Adding unit testing for cleanup
functions.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2025-08-08 12:55:23 +02:00
Madhu Rajanna
4501c86d9f
core: use filepath instead of path
...
using filepath instead of path to
join the filepath as path is usually
used for URL not for files.
Signed-off-by: Madhu Rajanna <madhupr007@gmail.com >
2025-08-08 12:46:25 +02:00
Santosh Pillai
d0fbf6c424
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 >
2025-08-08 10:23:49 +05:30
Travis Nielsen
134e27e353
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 >
2025-08-07 12:22:17 -06:00
Travis Nielsen
27e56cf44f
Merge pull request #16249 from travisn/failover-mon-immediate
...
mon: Failover mon immediately if node not exist
2025-08-07 10:39:52 -06:00
Blaine Gardner
9be45d949b
Merge pull request #16069 from OdedViner/default_realm
...
object: mark realm as default to avoid zone creation
2025-08-07 10:33:11 -06:00
Travis Nielsen
f15e8912b6
Merge pull request #16260 from OdedViner/delete_csi_folders
...
core: cleanup csi-related folders from /var/lib/rook during uninstall
2025-08-07 10:23:02 -06:00
Travis Nielsen
8b4d3b19cf
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 >
2025-08-07 10:06:57 -06:00
Oded Viner
87165cc6d1
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 >
2025-08-07 18:54:54 +03:00