Commit Graph
13336 Commits
Author SHA1 Message Date
Travis Nielsen d7fb036beb Merge pull request #17520 from rook/mergify/bp/release-1.19/pr-17286
doc: add CSI operator resource cleanup steps to teardown guide (backport #17286)
2026-05-12 13:37:22 -10:00
mergify[bot] 500416ea3f Merge pull request #17523 from rook/mergify/bp/release-1.19/pr-17364
build(deps): bump github.com/moby/spdystream from 0.5.0 to 0.5.1 (backport #17364)
2026-05-12 23:25:28 +00:00
Travis Nielsen 4b1387df36 Merge pull request #17518 from rook/mergify/bp/release-1.19/pr-17494
docs: fix duplicated words in docs and comments (backport #17494)
2026-05-12 13:11:52 -10:00
dependabot[bot] f40098fe8f build(deps): bump github.com/moby/spdystream from 0.5.0 to 0.5.1
Bumps [github.com/moby/spdystream](https://github.com/moby/spdystream) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/moby/spdystream/releases)
- [Commits](https://github.com/moby/spdystream/compare/v0.5.0...v0.5.1)

---
updated-dependencies:
- dependency-name: github.com/moby/spdystream
  dependency-version: 0.5.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 88a3e79cbb)
2026-05-12 22:54:39 +00:00
Lumir Sliva 9e3c1bfd6c doc: add CSI operator resource cleanup steps to teardown guide
Add a section to the teardown documentation with cleanup commands
for CSI operator resources: OperatorConfig, Driver, ClientProfile,
ClientProfileMapping, and CephConnection custom resources, plus the
csi-operator.yaml deployment manifest.

Signed-off-by: Lumir Sliva <61183145+lumir-sliva@users.noreply.github.com>
(cherry picked from commit 943ea89cd5)
2026-05-12 22:45:30 +00:00
immanuwell 209afb081c docs: fix duplicated words in docs and comments
Clean up duplicated words and a typo in object storage docs, comments, and user-facing messages.

Signed-off-by: immanuwell <pchpr.00@list.ru>
(cherry picked from commit c3a9f5fdd9)
2026-05-12 22:41:39 +00:00
Travis Nielsen d85e1ad5fb Merge pull request #17504 from OdedViner/bump-mod-1-19
build: bump golang.org/x/net to fix govulncheck ci failure
2026-05-11 12:07:58 -10:00
Oded Viner fa8fec75ae build: bump golang.org/x/net to fix govulncheck ci failure
bump golang.org/x/net from v0.52.0 to latest patched version
to resolve known http2 vulnerability flagged by govulncheck.

the vulnerable call path is:
  object.debugHTTPClient.Do
  -> httputil.DumpRequestOut
  -> http2.Transport.RoundTrip

this is a pre-existing issue blocking ci on all pull requests.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit 20fa0128f5)
Signed-off-by: Oded Viner <oviner@redhat.com>
2026-05-11 16:25:43 +03:00
subham rai 44ef87de85 Merge pull request #17489 from rook/mergify/bp/release-1.19/pr-17484
mon: check node existence on every health check iteration (backport #17484)
2026-05-07 13:53:50 +05:30
Prabhala Tara Aasrita 7d35e21f7c mon: check node existence on every health check iteration
Previously, shouldFailoverMonImmediately() was called only when a mon first went out of quorum. If the node gets deleted after the timeout starts, it does not get detected until the timeout expires. Moved the call outside the timeout initialization block so it runs on every health check iteration and detects node deletion immediately.

Fixes #15953

Signed-off-by: Prabhala Tara Aasrita <taraasrita@ibm.com>
(cherry picked from commit aeae61e5be)
2026-05-07 06:03:33 +00:00
mergify[bot] 8dd0490236 Merge pull request #17469 from rook/mergify/bp/release-1.19/pr-17464
core: add default ResourceRequirements for cmd-reporter (backport #17464)
2026-04-30 18:22:35 +00:00
Joshua Hoblitt 84d334083e core: add default ResourceRequirements for cmd-reporter
The cmd-reporter ResourceRequirements are used by the
`rook-ceph-detect-version` pod.  Setting a default ResourceRequirement
is useful in and of itself while always allowing the `values.yaml` serve
double duty as a configuration example.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 64cf1df920)
2026-04-30 17:34:43 +00:00
subham rai 98ced8e864 Merge pull request #17466 from rook/mergify/bp/release-1.19/pr-17453
osd: detect encryption label from dmcrypt path (backport #17453)
2026-04-30 17:12:37 +05:30
Santosh eea22fa5e5 osd: detect encryption label from dmcrypt path
Detect OSD encryption from the dmcrypt block path in `getOSDInfo` as a
fallback when the `encrypted` label is missing on pre-label deployments.

Include `osd.Encrypted` in the label check in `makeDeployment` so the
label reflects the actual OSD state on upgrade.

Fixes a bug where upgrading to a Rook version with the `encrypted` label
would set the label to `false` on already-encrypted OSDs, because the
label didn't exist yet and `getOSDInfo` defaulted to `false`.

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit fc9e3b54f3)
2026-04-30 08:08:09 +00:00
Travis Nielsen 0e3cfeb17e Merge pull request #17460 from rook/mergify/bp/release-1.19/pr-17451
exporter: set correct DNSPolicy for rook-ceph-exporter (backport #17451)
2026-04-29 15:15:02 -06:00
Rohan Gupta 62215c7061 exporter: set correct DNSPolicy for rook-ceph-exporter
rook-ceph-exporter should use DNSPolicy ClusterFirstWithHostNet when
hostNetwork is enabled

Signed-off-by: Rohan Gupta <rohgupta@redhat.com>
(cherry picked from commit 17873d3af2)
2026-04-29 18:11:39 +00:00
Joshua Hoblitt d7816398d8 Merge pull request #17449 from obnoxxx/prep-v1.19.5
build: Set the release version to v1.19.5
v1.19.5
2026-04-28 15:43:34 -04:00
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