Chapter 5. Bug fixes
This section describes bugs fixed in Red Hat OpenShift Data Foundation 5.0.
5.1. Multicloud Object Gateway Copy linkLink copied to clipboard!
Data resiliency status no longer switches between Progressing and OK on the Storage Cluster Object tab
Previously, the Object tab of the Storage Cluster page showed the data resiliency status as Progressing and then switched to OK every 15 seconds. This occurred because NooBaa on-demand Prometheus metrics were always created and returned an initial value when queried, even when there was no data. When actual values were added, they replaced the initial value, which caused the status to change repeatedly. With this fix, the metrics are created only when they receive data.
NamespaceStore no longer stops working after its endpoint is updated
Previously, a NamespaceStore stopped working after its endpoint was updated. This occurred because the internal NooBaa connection to the NamespaceStore remained stale after the change. With this fix, the connection is looked up by name, and the
noobaa-operatordetects endpoint changes during reconciliation, so the connection stays current.
NooBaa no longer shows
postgresUpdatePhase: Failedafter an upgradePreviously, after an OpenShift Data Foundation upgrade, the NooBaa status showed
postgresUpdatePhase: Failedeven though the upgrade had finished successfully. This occurred because old status information from the database dump that was performed during the upgrade affected the current NooBaa status. With this fix, the stale PostgreSQL status and phase information is cleared.
Backing store data is no longer left undeleted because of agents blocks reclaimer errors
Previously, the
noobaa-corelogs showedAGENT_BLOCKS_RECLAIMER: ERROR TypeError: Cannot read properties of undefined (reading 'frags'), and data was not deleted from the Ceph RGW backing store. This occurred because the agents blocks reclaimer did not handle problematic blocks correctly when the data was unavailable. With this fix, the reclaimer handles these cases, so the errors no longer fill the logs.
PVPool backing store pods now start when the noobaa-operator is scaled up
Previously, the PVPool backing store pod failed to start while the
noobaa-operatorwas scaled up. This occurred because the tolerations in the NooBaa custom resource (CR) were a superset of the tolerations on the backing store agent pod, and the mismatch caused the pod to enter a create and delete loop. With this fix, the operator treats a superset toleration match as valid before it reconciles the agent pod.
NooBaa no longer logs false errors for concurrent S3 uploads from JFrog Artifactory
Previously, NooBaa and PostgreSQL endpoint logs showed false
ERROR-level messages when JFrog Artifactory HA nodes uploaded to the same object key at the same time, even though an internal retry had already resolved theHTTP 500errors. This occurred because concurrent S3PUTrequests to the same key caused PostgreSQL unique constraint violations (23505) in the Multicloud Object Gateway (MCG). With this fix, handled database retry collisions are logged at a lower severity (log0/[L0]), so concurrent uploads succeed without misleading error messages in the logs.
noobaa-endpoint logs no longer flood with Thanos compactor marker-file 404 errors
Previously, the
noobaa-endpointlogs were filled withERROR-level messages that included a full stack trace each time the Thanos compactor checked for a marker file that did not exist (404). This occurred because NooBaa logged this specific error at a higher log level than it should have. With this fix, the log level of the message is decreased, so these checks no longer flood the logs.
NooBaa can now create the default AWS backing store in GovCloud regions
Previously, NooBaa could not create the default backing store in AWS GovCloud regions and reported
Temporary Error: could not use AWS AssumeRoleWithWebIdentity with role name Status code: 400. This occurred because NooBaa used the default AWS endpoint when it called the Security Token Service (STS), and GovCloud uses a different set of endpoints. With this fix, NooBaa adds the region to the configuration session of the STS client, so it uses the correct AWS endpoint.
5.2. Disaster recovery Copy linkLink copied to clipboard!
Disabling DR for CephFS workloads protected by VolSync no longer leaves PVCs stuck in Terminating state
Previously, when you disabled disaster recovery (DR) for CephFS workloads protected by VolSync,
PersistentVolumeClaims(PVCs) could remain stuck in theTerminatingstate instead of stayingBound, even when the disable-DR workflow requested that the PVCs be preserved (do-not-delete-pvc). Disabling DR did not complete cleanly, and the workloads might keep running while the storage was left in an inconsistent state. This occurred because Ramen deleted theReplicationSourceobjects and related replication-group objects without first removing their owner references from the PVCs, so Kubernetes marked the PVCs for deletion.With this fix, Ramen no longer sets owner references or the Advanced Cluster Management (ACM)
do-not-deleteannotations on VolSync-managed PVCs. Instead, it keeps the PVCs through failover, relocation, and DR disablement by retaining the persistent volumes (reclaimPolicy=Retain) and by using thepvc-volsync-protectionfinalizer. As a result, disabling DR protection by deleting the DRPlacementControl (DRPC) no longer deletes the application’s CephFS PVCs, and the PVCs remain available for ongoing use. This change also removes intermittent garbage-collection race conditions in the VolSync controller.
5.3. CSI driver Copy linkLink copied to clipboard!
CephFS PVC provisioning no longer fails when legacy PVs lack a subvolume name
Previously, all new CephFS PVC provisioning failed cluster-wide with
EINVALuntil the flag was cleared manually. This occurred because legacy PVs do not havesubvolumeNamein theirvolumeAttributes. When thecsi-omap-generatorcontroller calledSetSubVolCSIMetadata()on these PVs, an unchecked map lookup returned an empty string. The Ceph Manager resolved the empty string to the parent directory/volumes/csiand incorrectly marked it withceph.dir.subvolume=1. CephFS does not allow nested subvolumes, so it then rejected the creation of any subvolume inside/volumes/csi.With this fix, the controller validates that
subvolumeNameexists and is not empty. If it is missing or empty, the controller skips the metadata update and logs a warning./volumes/csiis no longer incorrectly flagged as a subvolume. PVs that have a validsubvolumeNamebehave as before.
5.4. OCS operator Copy linkLink copied to clipboard!
rook-ceph-osd-prepare pods no longer remain in Pending state after OSDs are removed and the replica count is reduced
Previously, after you removed OSDs and reduced the
replicacount of astorageDeviceSetsentry in the StorageCluster custom resource (CR), newrook-ceph-osd-preparepods and their PVCs remained in thePendingstate for the removed device set indices, for example 0, 1, and 2. Therook-ceph-operatoralso loggedfailed to find valid VolumeSourceerrors for the surviving OSDs. This occurred because the surviving OSDs were on higher device set indices, for example 3, 4, and 5, but the OCS Operator always passed the device sets to Rook starting from index 0.With this fix, you can set the
storageClassDeviceSetIndicesfield understorageDeviceSetsin the StorageCluster CR to the indices of the surviving device sets, which are the numbers in the OSD PVC names, for exampleocs-deviceset-localblock-3-data-…. The OCS Operator then communicates the active indices to Rook. As a result, no new prepare jobs are created for the removed indices, the surviving OSDs and their PVCs remain bound, and the StorageCluster and CephCluster reach the Ready state with Ceph inHEALTH_OK. If prepare jobs and PVCs were already created for the removed indices, delete them and restart therook-ceph-operatorpod.