Commit Graph
13319 Commits
Author SHA1 Message Date
Michael Adam 081028e6ae build: set the release version to v1.19.5
For the patch release update the docs and images to
v1.19.5

Signed-off-by: Michael Adam <obnox@samba.org>
2026-04-28 18:36:30 +02:00
Travis Nielsen ce25263994 Merge pull request #17436 from rook/mergify/bp/release-1.19/pr-17432
security: grant scc to rook-ceph-nvmeof service account (backport #17432)
2026-04-27 13:32:18 -06:00
Oded Viner d4ba34c43a security: grant scc to rook-ceph-nvmeof service account
the rook-ceph-nvmeof service account is not listed in the
securitycontextconstraints users, causing cephnvmeofgateway
pods to fail on openshift. add the service account to the
scc in the helm charts, go scc builder, and test namespace
substitution.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 7f3e2ace27)
2026-04-27 15:50:36 +00:00
mergify[bot] 0f7c5ffba0 Merge pull request #17424 from rook/mergify/bp/release-1.19/pr-17420
core:remove newlines from liveness probe scripts (backport #17420)
2026-04-24 14:14:34 +00:00
Santosh c2cf45e716 core: remove newlines from liveness probe scripts
Strip unnecessary leading and trailing newlines from osdLivenessProbeScript and livenessProbeScript raw string literals in spec.go

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit 925acb3e92)
2026-04-24 13:44:34 +00:00
Travis Nielsen 2fb3f54c73 Merge pull request #17289 from subhamkrai/add-helm-annotation-to-csi-1.19
csi: add helm ownership annotation to csi resources
2026-04-24 07:40:45 -06:00
subhamkrai cf42d313a9 csi: add helm ownership annotation to csi resources
We are moving the CSI management to the admin and currently, the
CSI resources are created at runtime so the cluster installed with
helm will face an error that resources are not managed by helm.
To avoid this error, we are adding the annotation at runtime so
that during upgrade users do not face issues.

Signed-off-by: subhamkrai <srai@redhat.com>
2026-04-23 20:07:33 +05:30
mergify[bot] 50abb3c7e3 Merge pull request #17396 from rook/mergify/bp/release-1.19/pr-17228
osd: fix CRUSH device class not applied during OSD re-discovery (backport #17228)
2026-04-21 13:08:53 +00:00
David Orman 9a7c43cb60 osd: fix CRUSH device class not applied during OSD re-discovery
When an OSD is purged and reprovisioned, it comes back without the
correct CRUSH device class. NVMe devices configured with
deviceClass: nvme in the CR end up as ssd.

Root cause: the operator sets ROOK_OSD_CRUSH_DEVICE_CLASS on prepare
jobs but not on OSD deployments. During re-discovery
(GetCephVolumeRawOSDs), the daemon reads this env var, finds it
absent, and falls back to auto-detected deviceType which returns ssd
for NVMe.

Fix: add crushDeviceClassEnvVar(osd.DeviceClass) to the OSD
deployment spec in spec.go, alongside the existing
dataDeviceClassEnvVar. Existing deployments pick up the new env var
on operator reconciliation without manual intervention.

Fixes #17227
Signed-off-by: David Orman <ormandj@corenode.com>
(cherry picked from commit 1357d71177)
2026-04-21 12:21:03 +00:00
mergify[bot] aaf5edbcfe Merge pull request #17392 from rook/mergify/bp/release-1.19/pr-17373
mds: fix incorrect behaviour for CephFS when no active standby (backport #17373)
2026-04-21 03:59:15 +00:00
Denis Egorenko 99e0268bde mds: fix incorrect behaviour for CephFS health state when no active standby
Set expected standby mds daemons, when changing activeStandby mds parameter.

Resolves #17372

Signed-Off-By: Denis Egorenko <degorenko@mirantis.com>
(cherry picked from commit b3ffac9e0d)
2026-04-20 20:16:12 +00:00
mergify[bot] 22b14d0a44 Merge pull request #17390 from rook/mergify/bp/release-1.19/pr-17376
doc: fix out of date references to default PgHealthyRegex (backport #17376)
2026-04-20 18:23:05 +00:00
Elias Carter 14cddd314b doc: fix out of date references to default PgHealthyRegex
Signed-off-by: Elias Carter <elias@dropbox.com>
(cherry picked from commit 5a065948e2)
2026-04-20 17:52:48 +00:00
Travis Nielsen 3c4ae5a9a9 Merge pull request #17378 from rook/mergify/bp/release-1.19/pr-17300
build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 (backport #17300)
2026-04-17 15:19:13 -06:00
mergify[bot] a18ea73dad Merge pull request #17375 from rook/mergify/bp/release-1.19/pr-17359
mon: Prevent mon drains more reliably when mons are down (backport #17359)
2026-04-17 19:56:27 +00:00
dependabot[bot] a32e98cb63 build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Commits](https://github.com/go-jose/go-jose/compare/v4.1.3...v4.1.4)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
  dependency-version: 4.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 7feeafe9b5)
2026-04-17 13:31:30 -06:00
Travis Nielsen d5852b3b32 mon: prevent mon drains more reliably when mons are down
The mon PDB was previously only being adjusted
during mon failover, where the maxunavailable was set to 0
before failover, then reset to 1 after failover. This allowed
for a race condition where one mon had been drained and is
not fully back in quorum before the next mon is allowed to drain.
This is now prevented by disallowing drains until a mon
is fully back in quorum. Anytime a mon falls out of quorum,
the mon pdb will be adjusted to prevent further drains
from causing a mon quorum outage.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 80b50969b2)
2026-04-17 18:15:53 +00:00
Travis Nielsen a305575831 Merge pull request #17368 from rook/mergify/bp/release-1.19/pr-17352
helm: set ROOK_UNREACHABLE_NODE_TOLERATION_SECONDS from chart values (backport #17352)
2026-04-17 10:26:36 -06:00
Prabhala Tara Aasrita 3d57ae0b2f helm: set ROOK_UNREACHABLE_NODE_TOLERATION_SECONDS from chart values
Previously the unreachable node toleration on the operator pod was hardcoded to 5 seconds in the Helm chart and the ROOK_UNREACHABLE_NODE_TOLERATION_SECONDS env var was notset up at all. This change reads both from .Values.unreachableNodeTolerationSeconds (defaulting to 5).

Fixes #17303

Signed-off-by: Prabhala Tara Aasrita <taraasrita@ibm.com>
(cherry picked from commit dcb501de56)
2026-04-17 14:22:52 +00:00
subham rai 4f2d515df1 Merge pull request #17367 from rook/mergify/bp/release-1.19/pr-17361
Fix swapped provisionerPriorityClassName with pluginPriorityClassName (backport #17361)
2026-04-17 10:47:16 +05:30
Sonny Sasaka 7128bd9178 csi: fix swapped provisionerPriorityClassName with pluginPriorityClassName
Previously provisionerPriorityClassName config is applied to node plugin
but pluginPriorityClassName is applied to controller plugin. This causes
a misconfiguration since the default values for
provisionerPriorityClassName is system-cluster-critical and
pluginPriorityClassName is system-node-critical.

The default priority for node plugin ought to be system-node-critical so
we can leverage this information to kill the pods in this priority last,
allowing other pods that may mount RBD-backed volume to unmount cleanly
first, otherwise the shutdown sequence may hang due to failure
unmounting RBD-backed volume when the node plugin pod is already killed.

Signed-off-by: Sonny Sasaka <sonnysasaka@gmail.com>
(cherry picked from commit dff04494fe)
2026-04-17 04:37:23 +00:00
mergify[bot] 050cc97fbc Merge pull request #17360 from rook/mergify/bp/release-1.19/pr-17351
Add 'CSIMetadataRadosNamespace' parameter to CephFilesystemSubVolumeGroup (backport #17351)
2026-04-15 23:44:41 +00:00
Alexander Degenhart 9a5acd919b csi: add 'CSIMetadataRadosNamespace' parameter to CephFilesystemSubVolumeGroup
This parameter is written to .spec.cephFS.radosNamespace of the generated
ClientProfile.

The parameter is called 'CSIMetadataRadosNamespace' to clarify that it is used
for CSI metadata and unrelated to the actual CephFS (meta)data.

Context:

The ceph-csi CephFS plugin stores additional metadata related to PV(C)s
in RADOS objects in the metadata pool of the CephFS.
By default those objects are stored in the 'csi' RADOS namespace.

For a multi-tenant CephFS setup (that is used by multiple K8s Clusters/
ceph-csi drivers) segregating those additional objects into separate RADOS
namespaces is desireable so the clusters can not modify the metadata of other
clusters (enforced by appropriate ceph client capabilities).

'ceph-csi' implemented this via the `cephFS.radosNamespace` config option for
cluster entries in the `ceph-csi-config` ConfigMap with https://github.com/ceph/ceph-csi/pull/4661.

The `ceph-csi-operator` added support for that config entry by adding
'radosNamespace' to the 'CephFsConfigSpec' of the 'ClientProfile' with
https://github.com/ceph/ceph-csi-operator/pull/165.

Signed-off-by: Alexander Degenhart <degenhart@fim.uni-passau.de>
(cherry picked from commit 17b98da89e)
2026-04-15 23:14:39 +00:00
Joshua Hoblitt 0746ca482d Merge pull request #17355 from obnoxxx/release-1.19-prep-v1.19.4
build: set the release version to v1.19.4
v1.19.4
2026-04-14 13:46:21 -07:00
Michael Adam 4e1d7b7879 build: set the release version to v1.19.4
For the patch release update the docs and images to
v1.19.4

Signed-off-by: Michael Adam <obnox@samba.org>
2026-04-14 20:46:30 +02:00
Travis Nielsen 94e63b880a Merge pull request #17353 from travisn/default-ceph-ver
build: Keep default ceph version at 19.2.3
2026-04-14 11:45:34 -06:00
Travis Nielsen a7fb76d955 build: keep default ceph version at 19.2.3
As discussed in the community meeting, wait until the next Rook
minor release v1.20 to change the default Ceph version to
tentacle v20. While v20 is already supported with v1.19.x,
we will just wait to change the default version in Rook.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
2026-04-14 11:07:46 -06:00
Travis Nielsen a1939fd093 Merge pull request #17330 from rook/mergify/bp/release-1.19/pr-17278
docs: fix broken links and outdated Go version in contributing docs (backport #17278)
2026-04-09 10:09:21 -06:00
Artem Muterko b8f057ca56 docs: fix broken links and outdated references in contributing docs
Signed-off-by: Artem Muterko <artem@sopho.tech>
(cherry picked from commit d816e95b65)
2026-04-09 14:49:21 +00:00
Travis Nielsen 89ead2f314 Merge pull request #17299 from rook/mergify/bp/release-1.19/pr-17160
test: add integration tests for CephObjectStoreUser capabilities (backport #17160)
2026-04-08 13:09:00 -06:00
Travis Nielsen ce1124502e Merge pull request #17329 from rook/mergify/bp/release-1.19/pr-17324
mgr: Add missing RBAC role for ceph-mgr in secondary clusters (backport #17324)
2026-04-08 13:08:10 -06:00
Travis Nielsen b203947f1e Merge pull request #17326 from rook/mergify/bp/release-1.19/pr-17262
deploy/examples: add standalone cleanup-job.yaml (backport #17262)
2026-04-08 12:01:22 -06:00
Travis Nielsen d25f34310b Merge pull request #17325 from rook/mergify/bp/release-1.19/pr-17320
osd: Add logging when detecting osd versions (backport #17320)
2026-04-08 12:00:44 -06:00
mergify[bot] 1fbb023ca6 Merge pull request #17327 from rook/mergify/bp/release-1.19/pr-16836
build: use ceph tentacle v20 as default version (backport #16836)
2026-04-08 17:53:17 +00:00
Daniel Gonzalez 75c712d108 manifest: add missing rook-ceph-mgr role to secondary cluster
Fixes: https://github.com/rook/rook/issues/17323

Signed-off-by: Daniel Gonzalez <daniel@gonzalez-nothnagel.de>
(cherry picked from commit 6e8bb63705)
2026-04-08 17:43:44 +00:00
subhamkrai c13d44a728 build: use ceph tentacle v20 as default version
let's use ceph tentacle as default version in deployment

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit 6285afc0a4)
2026-04-08 17:20:31 +00:00
Mateen Anjum 4fda945dd8 docs(ceph-teardown): add Single Node Cleanup section
References the standalone cleanup-job.yaml for cases where the
operator-managed cleanup did not run on a specific node.

Signed-off-by: Mateen Anjum <mateenali66@gmail.com>
(cherry picked from commit 5219e81538)
2026-04-08 17:15:39 +00:00
Mateen Anjum 9e4d26f720 manifest: add standalone cleanup-job.yaml example
Add a standalone Job manifest mirroring the cleanup logic the operator
executes via cleanUpJobTemplateSpec when a CephCluster is deleted with
cleanupPolicy enabled.

Useful when the operator-managed cleanup did not run (e.g. force-deleted
cluster) or a node needs manual cleanup outside normal operator flow.

Secrets (ROOK_MON_SECRET, ROOK_CLUSTER_FSID) are sourced from the
rook-ceph-mon secret via secretKeyRef. Namespace is injected via the
Downward API. Only dataDirHostPath and node hostname need manual input.

Closes #17255

Signed-off-by: Mateen Anjum <mateenali66@gmail.com>
(cherry picked from commit e3b4217458)
2026-04-08 17:15:38 +00:00
Travis Nielsen 99c90c6d8e osd: add logging when detecting osd versions
When osd versions are being detected, log more info
about the versions to understand better if the
require-osd-version release is being set as
expected.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit a80ca49855)
2026-04-08 17:07:28 +00:00
Joshua Hoblitt 01eeb21aeb test: add integration tests for CephObjectStoreUser capabilities
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 0139637e34)
2026-04-02 20:41:07 +00:00
mergify[bot] b8c0661019 Merge pull request #17297 from rook/mergify/bp/release-1.19/pr-17149
object: call generateUserCaps after AdminOpsClient calls (backport #17149)
2026-04-02 16:30:31 +00:00
hjk068 ff79144fef object: call generateUserCaps after AdminOpsClient calls
This prevents overwriting the user-specified capabilities
and correctly copies the Capabilities into UserCapabilities
after the AdminOpsClient calls.

Signed-off-by: hjk068 <hello.hyunjin@gmail.com>
(cherry picked from commit b113e37dae)
2026-04-02 15:15:22 +00:00
Blaine Gardner 8a46529c71 Merge pull request #17292 from rook/mergify/bp/release-1.19/pr-17259
test: factor out shared object store creation from ns'd object suite tests (backport #17259)
2026-04-02 09:07:14 -06:00
mergify[bot] 49cf956417 Merge pull request #17291 from rook/mergify/bp/release-1.19/pr-17204
cosi: update default COSI sidecar image version (backport #17204)
2026-04-01 18:04:27 +00:00
Joshua Hoblitt f0acd81c11 test: factor out shared object store creation from ns'd object suite tests
This factors out the creation of a single CephObjectStore instance to be
shared between the individually namespaced object suite packages.

This reduces the object suite runtime by the cost of starting up and
tearing down an object store three times.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 92f6d3fb67)
2026-04-01 18:00:08 +00:00
Tarun Gupta Akirala 89129f03cd cosi: update default sidecar image version
Encountered this bug in current image kubernetes-sigs/container-object-storage-interface#173
which is fixed in recent release via kubernetes-sigs/container-object-storage-interface#197

Signed-off-by: Tarun Gupta Akirala <tarun.akirala@nutanix.com>
(cherry picked from commit 9803964d03)
2026-04-01 11:28:33 -06:00
mergify[bot] cd5660179d Merge pull request #17277 from rook/mergify/bp/release-1.19/pr-17238
ceph: add labels support to CephObjectStore RGW service (backport #17238)
2026-03-30 18:11:29 +00:00
majiayu000 c9e0bca7ff object: add labels field to CephObjectStore RGW service spec
Allow users to configure custom labels on CephObjectStore RGW services
by adding a Labels field to the RGWServiceSpec, following the existing
pattern used for Annotations. This enables use cases such as service
mesh integration and monitoring discovery that require specific labels
on Kubernetes services.

Fixes: #17235
Signed-off-by: majiayu000 <1835304752@qq.com>
(cherry picked from commit ac6ec79865)
2026-03-30 16:38:49 +00:00
mergify[bot] 835d991012 Merge pull request #17252 from rook/mergify/bp/release-1.19/pr-17225
osd: zap disks for forceful OSD installation (backport #17225)
2026-03-26 19:21:16 +00:00
Santosh 00b127ceb4 osd: zap disks for forceful OSD installation
When cephCluster is resinstalled and WipeDevicesFromOtherClusters is set
to true, then Rook cleans up the OSD disks using ceph-volum lvm zap, so
that new OSD can created on this disk. This PR removes the dependencies
of the "ceph-volume lvm zap" and provides implements the entry disk
"ceph-volume lvm zap" logic within rook

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit 92324588ba)
2026-03-26 18:46:25 +00:00