-
Notifications
You must be signed in to change notification settings - Fork 162
Open
Labels
Description
Report
After upgrading k8s cluster to version 1.31.6 and psmdb operator to version 1.19.1 (via helm chart), the operator's pod is in a crashloop state.
More about the problem
Pod's log contains the following error
2025-02-25T21:46:44.338Z INFO setup Manager starting up {"gitCommit": "ecf1a1457e1d3c44f77b2e58c4f57ac0d3dfb94e", "gitBranch": "release-1-19-1", "goVersion": "go1.23.6", "os": "linux", "arch": "amd64"}
2025-02-25T21:46:44.371Z ERROR setup failed to register multicluster service {"error": "get api groups and resources: unable to retrieve the complete list of server APIs: external.metrics.k8s.io/v1beta1: stale GroupVersion discovery: external.metrics.k8s.io/v1beta1", "errorVerbose": "unable to retrieve the complete list of server APIs: external.metrics.k8s.io/v1beta1: stale GroupVersion discovery: external.metrics.k8s.io/v1beta1\nget api groups and resources\ngithub.com/percona/percona-server-mongodb-operator/pkg/mcs.Register\n\t/go/src/github.com/percona/percona-server-mongodb-operator/pkg/mcs/register.go:41\nmain.main\n\t/go/src/github.com/percona/percona-server-mongodb-operator/cmd/manager/main.go:132\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:272\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1700"}
main.main
/go/src/github.com/percona/percona-server-mongodb-operator/cmd/manager/main.go:133
runtime.main
/usr/local/go/src/runtime/proc.go:272I don't use metrics-server in k8s cluster and never seen this error for a previous psmdb operator versions.
Steps to reproduce
- Upgrade psmdb-operator helm chart to version 1.19.1
- Check the operator's pod status
Versions
- Kubernetes 1.31.6
- Operator 1.19.1
- Database 6.0.19-16
Anything else?
No response