Skip to content

[Bug]: firstRecoverabilityPoint not populated via Barman backup plugin #10456

@centaurea-riba

Description

@centaurea-riba

Is there an existing issue already for this bug?

  • I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

  • I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

  • I have read the troubleshooting guide and I think this is a new bug.

Contact Details

No response

Version

1.28 (latest patch)

What version of Kubernetes are you using?

1.34

What is your Kubernetes environment?

Other

How did you install the operator?

Helm

What happened?

A regression (kind of) has been identified in the CNPG metrics pipeline affecting two critical backup-related fields: firstRecoverabilityPoint and lastSuccessfulBackupTime.

Previously, these fields were populated directly on the Cluster CR status, making them consistently available to the metrics exporter. However, after adopting the Barman plugin, these fields are now sourced from the ObjectStore CR instead. As a result, the metrics exporter no longer exposes them correctly, causing silent data gaps in observability tooling.

Image

Cluster resource

kubectl get objectstore minio-storage -n sonarqube -o json | jq '.status'
{
  "serverRecoveryWindow": {
    "sonarqube-cnpg-cluster": {
      "firstRecoverabilityPoint": "2026-04-14T13:37:23Z",
      "lastSuccessfulBackupTime": "2026-04-16T00:00:01Z"
    }
  }
}

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions