# Rook v1.21.3

2026-11-24 · [Original release notes](https://github.com/rook/rook/releases/tag/v1.21.3) · [Full summary](https://ratatosk.io/en/releases/rook/v1.21.3)

Security 5 · Breaking changes 4 · Important fixes 11 · Enhancements 3 · Dependency updates 5 · Other changes 5

## Security (5)

### Unsafe `assimilate-conf` options rejected

- Affects: options passed to `assimilate-conf`, including `CephObjectStore` `rgwConfig` and `rgwConfigFromSecret` settings

A line break in a key or value could start a new configuration section when these settings were written, and a line-break-containing `rgwConfig` could silently apply none of its RGW options. Keys containing line breaks or square brackets, and values containing line breaks, are now rejected before writing, with the key logged.

> - core: Reject line breaks in options passed to assimilate-conf (#18723, @jhoblitt)

### Invalid OSD prepare-job data rejected before Deployment creation

- Affects: OSD prepare-job status ConfigMaps

Previously, a non-canonical UUID or a ceph-volume mode other than `lvm` or `raw` in the ConfigMap could lead to an arbitrary host-directory mount in the privileged OSD pod or alter requested cephx caps. Such OSDs are now rejected before their Deployments are built.

> - osd: Validate the osd uuid and mode before building its deployment (#18724, @jhoblitt)

### [Security status unclear] Invalid `subPath` values rejected in CephObjectStore and CephNFS mounts

- Affects: `CephObjectStore` `gateway.additionalVolumeMounts` and CephNFS SSSD sidecar `additionalFiles` mounts

When either mount uses a `subPath` containing a `..` path element, the volume could be mounted over another directory in the container. That `subPath` is now rejected, and an existing CR using it stops reconciling until corrected.

> - core: Keep additional volume mounts inside their root directory (#18714, @jhoblitt)

### Cleanup-policy Job mon secret exposure fixed

- Affects: installations that run cluster cleanup-policy Jobs (Inferred)

During cluster teardown, the Jobs previously exposed the mon secret as a literal `ROOK_MON_SECRET` environment value, readable by anyone who could read Jobs or Pods in the namespace and retained indefinitely with completed Jobs. The secret is now stored in a `rook-ceph-cleanup` Secret and garbage-collected with its owning Jobs.

> - core: Keep the mon secret out of the cleanup job spec (#18853, @jhoblitt)

### Unsafe `CephObjectStoreAccount` purge argument handling fixed

- Affects: `CephObjectStoreAccount` resources

Previously, force-deleting an account with shell syntax in `status.accountID` could run commands as root in the privileged purge Job. Purge arguments are now passed as positional parameters, and malformed account IDs are refused, so deletion fails rather than purging.

> - object: Stop interpolating account purge arguments into a shell script (#18709, @jhoblitt)

## Breaking changes (4)

### Realm system user creation fixed for custom-endpoint master zones

- Affects: multisite object stores where a `CephObjectZone` with custom endpoints is the master zone in the master zonegroup

Previously, custom endpoints caused the multisite join block to be skipped, leaving the realm system user uncreated for the master zone in the master zonegroup. Rook now creates it in this case; endpoint management remains with the zone controller.

Evidence: “When a CephObjectZone has customEndpoints defined, configureObjectStore skips the entire multisite join block (endpoint management is correctly delegated to the zone controller), but this also inadvertently skips createSystemUser. As a result, the realm system user is never created for the master zone in the master zonegroup when custom endpoints are in use.” https://github.com/rook/rook/pull/18648

> - rgw: Create system user when zone has custom endpoints (#18648, @billyridgway)

### `CephObjectRealm` and `CephObjectZoneGroup` deletion waits for dependents

- Affects: `CephObjectRealm` resources referenced by `CephObjectZoneGroups`, and `CephObjectZoneGroup` resources referenced by `CephObjectZones`

In a bulk delete that removed a zone-group CR before its zones, a zone could drop its finalizer while leaving its Ceph zone undeleted. Waiting for dependents lets zones delete their Ceph zones and, when `preservePoolsOnDelete` is `false`, their pools.

Evidence: “Because the zone group now waits for its zones, a bulk delete lets each zone delete its Ceph zone, and its pools if `preservePoolsOnDelete` is `false`.” https://github.com/rook/rook/pull/18452

> - object: Block realm and zone group deletion with a finalizer (#18452, @Greenpepper15)

### Ceph custom-resource probe handlers no longer choose the check

- Affects: Ceph custom resources with probe handler settings

RGW with neither S3 nor Swift, the MDS startup probe, and the NVMe-oF liveness probe previously passed through custom handlers; an MDS timing-only override could fail pod validation because it had no handler. Now Rook's handler runs where Rook has a probe, CR probe settings are ignored with a warning where it does not, and the MDS startup probe uses the MDS liveness check.

Evidence: “A CR now sets only a probe's timing and thresholds; the handler is always Rook's. Where Rook has no probe, the CR's is ignored with a warning, and an MDS startup probe runs the MDS liveness check.” https://github.com/rook/rook/pull/18713

> - core: Never take a probe handler from a custom resource (#18713, @jhoblitt)

### Ceph exporter skips startup monitor configuration fetch for RDMA

- Affects: Ceph exporter setups with `ms_public_type=async+rdma` in the Ceph config override
- Action required: Required exporter settings must be provided locally or through existing Rook arguments when `ms_public_type=async+rdma` is enabled.

The exporter can collect metrics from local daemon admin sockets; other configurations keep the existing startup behavior.

Evidence: “When Rook detects ceph config contains `ms_public_type=async+rdma`, Rook passes Ceph exporter `--no-mon-config`, allowing metric collection from local daemon admin sockets without the exporter's startup monitor configuration fetch. The default remains unchanged.” https://github.com/rook/rook/pull/18758

> - exporter: Allow skipping monitor configuration fetch (#18758, @taaahaaa)

## Important fixes (11)

### [Silent failure] Erasure-coded pool StorageClasses retain map and unmap options

- Affects: rook-ceph-cluster chart setups creating erasure-coded pool StorageClasses with `parameters.mapOptions` or `parameters.unmapOptions` configured (Inferred)

Previously, the EC block pool template silently dropped these options, so the generated StorageClass did not carry them. Now it includes each option that is set; rendering is unchanged when neither is set.

> - helm: Pass mapOptions and unmapOptions to EC pool storage classes (#18854, @lbarrosby)

### [Silent failure] OSD disruption controller requeues during draining

- Affects: clusters with an OSD failure domain marked as draining

After the default `rook-ceph-osd` PDB was deleted, a stale cached PDB with `DisruptionsAllowed > 0` could make reconciliation report success without requeueing. If no watched objects changed, `noout` stayed set, blocking PDBs remained in place, the default PDB was not restored, and `osdMaintenanceTimeout` did not fire; the controller now reconciles again after 15 seconds while a failure domain is draining, without relying on the cached PDB read.

> - osd: Requeue the disruption controller while a failure domain drains (#18752, @lbarrosby)

### CephCluster monitoring setting now rendered by Helm chart

- Affects: rook-ceph-cluster Helm chart setups that set `monitoring.metricsDisabled` (Inferred)

Previously, setting `monitoring.metricsDisabled` to `true` had no effect, leaving the Prometheus mgr module and Ceph exporter enabled. Set values now appear in the rendered CephCluster; when unset, the field remains absent.

> - helm: Pass `monitoring.metricsDisabled` to the CephCluster (#18753, @lbarrosby)

### [Silent failure] OSD migration checks now return lookup errors

- Affects: clusters performing OSD migration

Previously, a non-`NotFound` error from a `ConfigMap` or `Deployment` lookup could make the migration appear complete, leading to deletion of the next OSD Deployment before the recreated OSD was confirmed. The error now requeues reconciliation instead; `NotFound` handling is unchanged.

> - osd: Return API errors when checking if OSD migration is complete (#18813, @amalsaidov)

### [Silent failure] rook-ceph-cluster chart preserves StorageClass expansion settings

- Affects: rook-ceph-cluster chart configurations with `storageClass.allowVolumeExpansion: false` for `cephBlockPools` or `cephFileSystems`

Previously, the chart treated configured `false` as empty and rendered `true`, allowing volume expansion. Now configured `false` renders as `false`, while an unset value still defaults to `true`; `cephECBlockPools` and object store StorageClasses are unaffected.

> - helm: Honor allowVolumeExpansion false on pool storage classes (#18802, @lbarrosby)

### RGW deployments deleted before store keys and pools

- Affects: non-external `CephObjectStores`

When a non-external `CephObjectStore` was deleted while gateways were running, removing RGW keys and pools first could leave restarted gateways unable to authenticate until their deployments were garbage-collected.

> - object: Stop the gateways before deleting an object store (#18860, @danielw-canva)

### Raw OSD activation skips auxiliary BlueFS entries without `osd_id`

- Affects: raw OSD activation

In full-scan activation, an auxiliary BlueFS DB/WAL entry without `osd_id` could raise a `KeyError` and abort parsing before the matching main device was reached.

> - osd: Skip raw list entries without an osd_id during activation (#18233, @taaahaaa)

### `assignMons` monitor scheduling race fixed

- Affects: monitor scheduling through `assignMons` (Inferred)

When `assignMons` schedules monitors in goroutines, its main loop read `c.mapping.Schedule` without `resultLock` while those goroutines wrote to it. This could corrupt or panic on the map or drop a monitor's scheduling result.

> - mon: Fix data race on mon scheduling map in assignMons (#18795, @travisn)

### ClientProfile watches and creation skipped when CSI operator resources are disabled

- Affects: Rook deployments with `ROOK_CREATE_CSI_OPERATOR_RESOURCES=false`

When the `csi.ceph.io` CRDs were absent, the rados namespace and subvolume group controllers still watched `ClientProfile`; the cache failed to sync and the operator exited after about two minutes.

> - csi: Skip ClientProfile watches when csi op disabled (#18806, @subhamkrai)

### RGW SSE-KMS Vault transit mount selection fixed

- Affects: RGW object stores using SSE-KMS with Vault’s `transit` engine

When the transit engine was mounted somewhere other than `transit`, SSE-KMS still used the hard-coded `/v1/transit` prefix and failed. It now uses `VAULT_TRANSIT_BACKEND_PATH` from `security.kms.connectionDetails` for a custom mount, defaulting to `transit`; the `kv` engine still uses `VAULT_BACKEND_PATH`.

> - object: Honor VAULT_TRANSIT_BACKEND_PATH for RGW SSE-KMS transit (#18727, @A-RYAN-1)

### AES256K upgrade checks tolerate expected authentication health errors

- Affects: Ceph upgrades to versions that support AES256K

If reconciliation restarted after monitors were upgraded but before the remaining daemons were upgraded and their keys rotated, either health error made the upgrade check refuse to proceed and could leave the upgrade stuck. The check now lets the upgrade resume without waiting for those errors to clear.

> - core: Don't block upgrade on cephx key type errors (#18759, @sp98)

## Enhancements (3)

- OSD update batches can be restricted by CRUSH failure domain (To use: Configure `spec.storage.osdUpdateFailureDomain` with a CRUSH bucket type, such as `host` or `rack`.)
- CephObjectStore pool placement limit raised to 32 storage classes
- CephNFS validation moved after deletion handling

## Dependency updates (5)

5 more, none mentioning security

- `- build(deps): bump the all-dependencies group across 1 directory with 6 updates (#18865, @dependabot[bot])`
- `- build(deps): bump the all-dependencies group across 1 directory with 26 updates (#18851, @dependabot[bot])`
- `- build(deps): bump the all-dependencies group with 7 updates (#18791, @dependabot[bot])`
- `- build(deps): bump the all-dependencies group with 45 updates (#18778, @dependabot[bot])`
- `- build(deps): bump the all-dependencies group with 90 updates (#18720, @dependabot[bot])`

## Other changes (5)

- Default CSI `ClientProfile` resolves annotated secret names
- rook-ceph-cluster chart now renders StorageClass labels
- `POD_NAME` duplication removed from RGW gateway containers
- OSD activation quotes `OSD_UUID` in lockbox key lookup
- OSD UUID mismatch detection during preparation

---

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.
