Commit Graph
13359 Commits
Author SHA1 Message Date
mergify[bot] 7c92efdb97 Merge pull request #17656 from rook/mergify/bp/release-1.19/pr-17546
osd: fix race condition in require-osd-release after rolling upgrade (backport #17546)
2026-06-04 16:01:20 +00:00
Sunnatillo 33de72b18f osd: set require-osd-release from the health monitor
applyUpgradeOSDFunctionality() may run before all OSDs have registered
their new version, leaving require-osd-release unset and the cluster in
HEALTH_WARN.

Check for a single converged OSD version on each health-monitor tick and
set require-osd-release when it changes. The release name is cached to
avoid redundant ceph commands

Signed-off-by: Sunnatillo <sunnat.samadov@est.tech>
(cherry picked from commit f6fa25e844)
2026-06-04 15:31:11 +00:00
Travis Nielsen 7a84015d5d Merge pull request #17611 from obnoxxx/prep-v1.19.6
build: set the release version to v1.19.6
v1.19.6
2026-05-27 11:44:49 -06:00
Michael AdamandTravis Nielsen 522ee75b1d build: set the release version to v1.19.6
For the patch release update the docs and images to
v1.19.6

Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
2026-05-27 19:23:49 +02:00
Travis Nielsen d9cdde1ad6 Merge pull request #17594 from rook/mergify/bp/release-1.19/pr-17565
ci: retry s3cmd bucket creation in rgw-mutisite test (backport #17565)
2026-05-26 15:35:10 -06:00
Joshua Hoblitt 7d8862d04f Merge pull request #17596 from rook/mergify/bp/release-1.19/pr-17544
helm: update prometheus rules from upstream ceph/ceph; add `cluster` label to all scraped metrics (backport #17544)
2026-05-26 13:51:13 -07:00
Joshua Hoblitt 3c66837b9c helm: add cluster label to prom persistent-volume-alert.rules
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit ec75182dad)
2026-05-26 19:09:04 +00:00
Joshua Hoblitt 8385079162 helm: drop ceph version constraint from PrometheusJobExporterMissing
The purpose of this constraint is unknown.

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 22913f5b2f)
2026-05-26 19:09:04 +00:00
Joshua Hoblitt e5d6bce308 helm: update prometheus rules from upstream ceph/ceph
Synced with:

https://github.com/ceph/ceph/blob/4b5096cc0de40a1b80bf801b4261bb58b0702e82/monitoring/ceph-mixin/prometheus_alerts.yml

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 47c97cf4a2)
2026-05-26 19:09:03 +00:00
Joshua Hoblitt 560e6514f1 core: add cluster label to all servicemonitor scraped metrics
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit cc05619dd8)
2026-05-26 19:09:03 +00:00
Santosh 09bb1c39c1 ci: retry s3cmd bucket creation in rgw-mutisite test
The rgw-multisite job is failing frequently. Observed
"connectionRefusedERror: connection Refused" on the s3cmd mb call. It
might be happening because CephObjectSTore CR is ready but RGW gateway
is not fully accepting TCP connections.

This PR  wraps s3cmd mb and s3cmd put calls in a retry loop that
will attempt each command up to 3 times with a 5 second sleep between
attemps. This might help fix the flaky CI test.

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit 2cc51e8eb0)
2026-05-26 17:45:26 +00:00
Travis Nielsen 64f17f691b Merge pull request #17583 from rook/mergify/bp/release-1.19/pr-17582
ci: bump golang.org/x/net to v0.55.0 to fix GO-2026-5026 (backport #17582)
2026-05-26 11:37:15 -06:00
Oded Viner 7329ee069e ci: bump golang.org/x/net to v0.55.0 to fix GO-2026-5026
The govulncheck CI job is failing on all PRs due to vulnerability
GO-2026-5026 in golang.org/x/net v0.54.0. Bump golang.org/x/net to
v0.55.0 to resolve it.

Signed-off-by: Oded Viner <oviner@redhat.com>
(cherry picked from commit bf941235fd)
2026-05-26 10:51:38 -06:00
Joshua Hoblitt b8154ec06b Merge pull request #17577 from jhoblitt/maint-update-gha-release-1.19
ci: bump and/or pin github action versions
2026-05-22 10:24:42 -07:00
Joshua Hoblitt 0da8d34208 ci: bump and/or pin github action versions
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
2026-05-22 08:36:46 -07:00
Travis Nielsen 0804da3684 Merge pull request #17563 from rook/mergify/bp/release-1.19/pr-17562
docs: fix kubectl exec commands in the DR troubleshooting guide (backport #17562)
2026-05-19 13:17:47 -06:00
Michael Adam c45fe6be98 docs: fix kubectl exec commands in the DR troubleshooting guide
kubectl exec requires a double dash ('--') between the pod name and the command to be
executed.

The disaster recovery troubleshooting guide missed those characters
in two places.

This change fixes the guide by adding the missing double dashes

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit ef7e80bedc)
2026-05-19 19:06:54 +00:00
mergify[bot] a436e008d9 Merge pull request #17551 from rook/mergify/bp/release-1.19/pr-17545
osd: fix flaky TestAddRemoveNode failure (backport #17545)
2026-05-15 20:10:51 +00:00
Santosh 42f6f90990 osd: fix flaky TestAddRemoveNode failure
User RaceFreeFakeWatcher isntead of FakeWatcher in TestAddRemoveNode
function. The test runs c.Start() in a goroutine whch stops the watcher
when done. If mockNodeOrchestrationCompeltion sends a watch ever after,
that, FakeWatcher panics with "send on a closed channel".
RaceFreeFakeWatcher safely ignores the sends on a stopped channel.

Signed-off-by: Santosh <sapillai@redhat.com>
(cherry picked from commit 6781d2e58d)
2026-05-15 19:39:59 +00:00
mergify[bot] 0a33f6e60d Merge pull request #17542 from rook/mergify/bp/release-1.19/pr-17407
osd: honor per-device deviceClass in raw-mode prepare and reconcile (backport #17407)
2026-05-14 21:31:31 +00:00
Artem Torubarov 9567cc44a7 osd: honor per-device deviceClass in raw-mode prepare and reconcile
Fixes #16834 and #17384. Per-OSD CR deviceClass was ignored in
osd prepare job when reporting the osd config back to the operator,
and in the operator's reconcile override.
Fixed by resolving the per-device class from the CR devices list
in GetCephVolumeRawOSDs and in makeDeployment.

Signed-off-by: Artem Torubarov <artem.torubarov@sap.com>
(cherry picked from commit b41d63788d)
2026-05-14 18:04:53 +00:00
Travis Nielsen 458ab183ce Merge pull request #17516 from rook/mergify/bp/release-1.19/pr-17472
mgr: retry self-signed cert creation on wrapped context deadline errors (backport #17472)
2026-05-12 13:37:39 -10:00
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
texasich 44123d7472 mgr: retry self-signed cert creation on wrapped deadline errors
Signed-off-by: texasich <texasich@users.noreply.github.com>
(cherry picked from commit beb6c0f373)
2026-05-12 22:37:48 +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