lwolf / stolon-chart

Kubernetes Helm chart to deploy HA Postgresql cluster based on Stolon
MIT License
105 stars 39 forks source link

sentinel can't create events in the deployed namspace - kubernetes backend store #26

Open karthikeayan opened 5 years ago

karthikeayan commented 5 years ago
ERROR: logging before flag.Parse: E1121 13:19:14.420233       1 event.go:200] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"stolon-cluster-stolon.1569263488575d71", GenerateName:"", Namespace:"postgres", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:""}, InvolvedObject:v1.ObjectReference{Kind:"ConfigMap", Namespace:"postgres", Name:"stolon-cluster-stolon", UID:"0a997107-ed90-11e8-9510-000d3a5da51c", APIVersion:"v1", ResourceVersion:"927620", FieldPath:""}, Reason:"LeaderElection", Message:"de609be8 became leader", Source:v1.EventSource{Component:"stolon-sentinel", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xbef574b498f4a971, ext:149754453, loc:(*time.Location)(0x2196340)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbef574b498f4a971, ext:149754453, loc:(*time.Location)(0x2196340)}}, Count:1, Type:"Normal"}': 'events is forbidden: User "system:serviceaccount:postgres:stolon" cannot create events in the namespace "postgres"' (will not retry!)
'events is forbidden: User "system:serviceaccount:postgres:stolon" cannot create events in the namespace "postgres"' (will not retry!)