-
Notifications
You must be signed in to change notification settings - Fork 67
Description
Hi team, would like to check what is the cause for this intermittent issue that causing the operator to be restarted ? Below is the error logs when the crash happen.
panic: Malformed version:
goroutine 55416 [running]:
github.com/hashicorp/go-version.Must(...)
/go/pkg/mod/github.com/hashicorp/[email protected]/version.go:105
github.com/percona/percona-postgresql-operator/pkg/apis/pgv2.percona.com/v2.(*PerconaPGCluster).Version(0x242d149?)
/go/src/github.com/percona/percona-postgresql-operator/pkg/apis/pgv2.percona.com/v2/perconapgcluster_types.go:384 +0x45
github.com/percona/percona-postgresql-operator/pkg/apis/pgv2.percona.com/v2.(*PerconaPGCluster).CompareVersion(0x0?, {0x242a55f, 0x5})
/go/src/github.com/percona/percona-postgresql-operator/pkg/apis/pgv2.percona.com/v2/perconapgcluster_types.go:388 +0x1d
github.com/percona/percona-postgresql-operator/percona/controller/pgcluster.(*PGClusterReconciler).createScheduledBackup(0xc00091d080, {{0x28e6e18?, 0xc000f60180?}, 0xc000e76f70?}, {0xc000faeff0, 0x16}, {0x2429a16, 0x4}, {0xc001802549, 0x5}, ...)
/go/src/github.com/percona/percona-postgresql-operator/percona/controller/pgcluster/schedule.go:128 +0x5d5
github.com/percona/percona-postgresql-operator/percona/controller/pgcluster.(*PGClusterReconciler).reconcileScheduledBackup.(*PGClusterReconciler).createScheduledBackupFunc.func1()
/go/src/github.com/percona/percona-postgresql-operator/percona/controller/pgcluster/schedule.go:84 +0x91
github.com/robfig/cron/v3.FuncJob.Run(0xc000e76fd0?)
/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:136 +0x12
github.com/robfig/cron/v3.(*Cron).startJob.func1()
/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:312 +0x55
created by github.com/robfig/cron/v3.(*Cron).startJob in goroutine 132
/go/pkg/mod/github.com/robfig/cron/[email protected]/cron.go:310 +0x8c