dalibo / dalibo/cnpg-plugin-pgbackrest
stanza maintenance failed
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 36
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I have upgraded to cnpg 1.30 and pgBackRest v0.0.3.
I did a backup / restore test and so far it seems to work properly
The only error I still get, every 5 minutes, is from the plugin-pgbackrest container
{"level":"info","ts":"2026-07-01T11:29:31.925710452Z","msg":"running maintenance cycle","logging_pod":"cldp-00h-69af8289-1"}
{"level":"error","ts":"2026-07-01T11:29:31.926302906Z","msg":"stanza maintenance failed","logging_pod":"cldp-00h-69af8289-1","error":"v1.GetOptions is not suitable for converting to \"postgresql.cnpg.io/v1\" in scheme \"pkg/runtime/scheme.go:111\"","stacktrace":"github.com/cloudnative-pg/machinery/pkg/log.(*logger).Error\n\t/go/pkg/mod/github.com/cloudnative-pg/machinery@v0.5.0/pkg/log/log.go:128\ngithub.com/dalibo/cnpg-i-pgbackrest/internal/instance.(*StanzaMaintenanceRunnable).Start\n\t/app/internal/instance/maintenance.go:38\nsigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile.func1\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.24.1/pkg/manager/runnable_group.go:260"}
Any idea?
fred
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in internal/instance/maintenance.go at StanzaMaintenanceRunnable.Start and reproduce the maintenance cycle with the reported CNPG 1.30 and pgBackRest v0.0.3 versions. Trace the v1.GetOptions conversion error in the logged stack and verify that stanza maintenance completes without the recurring error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100