-
Notifications
You must be signed in to change notification settings - Fork 632
Closed
Copy link
Description
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
Version
1.27 (latest patch)
What version of Kubernetes are you using?
1.31
What is your Kubernetes environment?
Cloud: Amazon EKS
How did you install the operator?
Helm
What happened?
During cluster reconciliation, the plugin service returns a “closed pool” error.
The reconciler fails with the error message “while getting plugin connection: closed pool,” indicating that a connection pool (likely using the puddle library) is being accessed after it has been closed.
The cluster controller should be able to establish a plugin connection during reconciliation without encountering this error.
We use the CNPG v1.27.0 and Barman Cloud plugin v0.6.0.
The issue has already been discussed with @leonardoce on the Slack channel. Thank you very much for that.
Cluster resource
Relevant log output
{
"level": "error",
"ts": "2025-09-09T09:20:33.464509208Z",
"msg": "Reconciler error",
"controller": "cluster",
"controllerGroup": "postgresql.cnpg.io",
"controllerKind": "Cluster",
"Cluster": {
"name": "pg-cluster1",
"namespace": "default"
},
"namespace": "default",
"name": "pg-cluster1",
"reconcileID": "9fc416b6-7764-4977-bda1-034b4ce3875b",
"error": "while getting plugin connection: closed pool",
"stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:353\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:300\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.1\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.21.0/pkg/internal/controller/controller.go:202"
}Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't working
Type
Projects
Status
Done