Skip to content

Instantly share code, notes, and snippets.

@arapulido
Created February 19, 2018 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arapulido/ef55b57f86d71dc1675ef583975cfa20 to your computer and use it in GitHub Desktop.
Save arapulido/ef55b57f86d71dc1675ef583975cfa20 to your computer and use it in GitHub Desktop.
Logs for apprepository-controller RBAC error
W0219 09:15:19.953567 1 client_config.go:529] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
I0219 09:15:19.956001 1 controller.go:123] Setting up event handlers
I0219 09:15:19.956176 1 controller.go:164] Starting AppRepository controller
I0219 09:15:19.956201 1 controller.go:167] Waiting for informer caches to sync
I0219 09:15:20.056385 1 controller.go:172] Starting workers
I0219 09:15:20.056443 1 controller.go:178] Started workers
I0219 09:15:20.094411 1 controller.go:234] Successfully synced 'kubeapps/incubator'
I0219 09:15:20.095176 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"incubator", UID:"4d731a38-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com/v1alpha1", ResourceVersion:"412", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
I0219 09:15:20.103488 1 controller.go:234] Successfully synced 'kubeapps/stable'
I0219 09:15:20.103553 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"stable", UID:"4ffe7524-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com/v1alpha1", ResourceVersion:"464", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
I0219 09:15:20.113882 1 controller.go:234] Successfully synced 'kubeapps/svc-cat'
I0219 09:15:20.113983 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"svc-cat", UID:"4ffff23c-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com/v1alpha1", ResourceVersion:"466", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
W0219 09:23:20.990706 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 466 (1361)
W0219 09:30:33.008893 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 1361 (2092)
I0219 09:31:42.338948 1 controller.go:234] Successfully synced 'kubeapps/incubator'
I0219 09:31:42.349526 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"incubator", UID:"4d731a38-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2169", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
I0219 09:31:43.945453 1 controller.go:234] Successfully synced 'kubeapps/stable'
I0219 09:31:43.946043 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"stable", UID:"4ffe7524-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2182", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
I0219 09:31:44.857411 1 controller.go:234] Successfully synced 'kubeapps/svc-cat'
I0219 09:31:44.857606 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"svc-cat", UID:"4ffff23c-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2195", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
I0219 09:34:34.280506 1 controller.go:234] Successfully synced 'kubeapps/incubator'
I0219 09:34:34.280893 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"incubator", UID:"4d731a38-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2420", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
E0219 09:34:34.293685 1 event.go:200] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"incubator.1514b031d11cf7b5", GenerateName:"", Namespace:"kubeapps", SelfLink:"", UID:"", ResourceVersion:"2177", 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:"AppRepository", Namespace:"kubeapps", Name:"incubator", UID:"4d731a38-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2420", FieldPath:""}, Reason:"Synced", Message:"AppRepository synced successfully", Source:v1.EventSource{Component:"apprepository-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63654629502, loc:(*time.Location)(0x19ab460)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbe9ac46a90b7e961, ext:1154422007794, loc:(*time.Location)(0x19ab460)}}, Count:2, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events "incubator.1514b031d11cf7b5" is forbidden: User "system:serviceaccount:kubeapps:apprepository-controller" cannot patch events in the namespace "kubeapps"' (will not retry!)
I0219 09:34:34.822873 1 controller.go:234] Successfully synced 'kubeapps/stable'
I0219 09:34:34.823363 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"stable", UID:"4ffe7524-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2429", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
E0219 09:34:34.837737 1 event.go:200] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"stable.1514b03230ddcdc0", GenerateName:"", Namespace:"kubeapps", SelfLink:"", UID:"", ResourceVersion:"2185", 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:"AppRepository", Namespace:"kubeapps", Name:"stable", UID:"4ffe7524-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2429", FieldPath:""}, Reason:"Synced", Message:"AppRepository synced successfully", Source:v1.EventSource{Component:"apprepository-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63654629503, loc:(*time.Location)(0x19ab460)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbe9ac46ab10b79ef, ext:1154964355215, loc:(*time.Location)(0x19ab460)}}, Count:2, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events "stable.1514b03230ddcdc0" is forbidden: User "system:serviceaccount:kubeapps:apprepository-controller" cannot patch events in the namespace "kubeapps"' (will not retry!)
I0219 09:34:35.405893 1 controller.go:234] Successfully synced 'kubeapps/svc-cat'
I0219 09:34:35.407061 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"svc-cat", UID:"4ffff23c-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2440", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
E0219 09:34:35.412843 1 event.go:200] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"svc-cat.1514b0326739c74e", GenerateName:"", Namespace:"kubeapps", SelfLink:"", UID:"", ResourceVersion:"2198", 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:"AppRepository", Namespace:"kubeapps", Name:"svc-cat", UID:"4ffff23c-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2440", FieldPath:""}, Reason:"Synced", Message:"AppRepository synced successfully", Source:v1.EventSource{Component:"apprepository-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63654629504, loc:(*time.Location)(0x19ab460)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbe9ac46ad8309573, ext:1155547356677, loc:(*time.Location)(0x19ab460)}}, Count:2, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events "svc-cat.1514b0326739c74e" is forbidden: User "system:serviceaccount:kubeapps:apprepository-controller" cannot patch events in the namespace "kubeapps"' (will not retry!)
I0219 09:34:35.955560 1 controller.go:234] Successfully synced 'kubeapps/incubator'
I0219 09:34:35.955918 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"incubator", UID:"4d731a38-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2451", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
E0219 09:34:35.961423 1 event.go:200] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"incubator.1514b031d11cf7b5", GenerateName:"", Namespace:"kubeapps", SelfLink:"", UID:"", ResourceVersion:"2177", 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:"AppRepository", Namespace:"kubeapps", Name:"incubator", UID:"4d731a38-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2451", FieldPath:""}, Reason:"Synced", Message:"AppRepository synced successfully", Source:v1.EventSource{Component:"apprepository-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63654629502, loc:(*time.Location)(0x19ab460)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbe9ac46af8f4696e, ext:1156097061384, loc:(*time.Location)(0x19ab460)}}, Count:3, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events "incubator.1514b031d11cf7b5" is forbidden: User "system:serviceaccount:kubeapps:apprepository-controller" cannot patch events in the namespace "kubeapps"' (will not retry!)
I0219 09:34:36.758707 1 controller.go:234] Successfully synced 'kubeapps/stable'
I0219 09:34:36.776775 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"stable", UID:"4ffe7524-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2461", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
E0219 09:34:36.839184 1 event.go:200] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"stable.1514b03230ddcdc0", GenerateName:"", Namespace:"kubeapps", SelfLink:"", UID:"", ResourceVersion:"2185", 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:"AppRepository", Namespace:"kubeapps", Name:"stable", UID:"4ffe7524-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2461", FieldPath:""}, Reason:"Synced", Message:"AppRepository synced successfully", Source:v1.EventSource{Component:"apprepository-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63654629503, loc:(*time.Location)(0x19ab460)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbe9ac46b2d3820c7, ext:1156900172654, loc:(*time.Location)(0x19ab460)}}, Count:3, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events "stable.1514b03230ddcdc0" is forbidden: User "system:serviceaccount:kubeapps:apprepository-controller" cannot patch events in the namespace "kubeapps"' (will not retry!)
I0219 09:34:37.026677 1 controller.go:234] Successfully synced 'kubeapps/svc-cat'
I0219 09:34:37.027998 1 event.go:218] Event(v1.ObjectReference{Kind:"AppRepository", Namespace:"kubeapps", Name:"svc-cat", UID:"4ffff23c-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2471", FieldPath:""}): type: 'Normal' reason: 'Synced' AppRepository synced successfully
E0219 09:34:37.030068 1 event.go:200] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"svc-cat.1514b0326739c74e", GenerateName:"", Namespace:"kubeapps", SelfLink:"", UID:"", ResourceVersion:"2198", 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:"AppRepository", Namespace:"kubeapps", Name:"svc-cat", UID:"4ffff23c-1555-11e8-bb30-0800278ecf20", APIVersion:"kubeapps.com", ResourceVersion:"2471", FieldPath:""}, Reason:"Synced", Message:"AppRepository synced successfully", Source:v1.EventSource{Component:"apprepository-controller", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63654629504, loc:(*time.Location)(0x19ab460)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbe9ac46b4194e0b9, ext:1157168053624, loc:(*time.Location)(0x19ab460)}}, Count:3, Type:"Normal", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events "svc-cat.1514b0326739c74e" is forbidden: User "system:serviceaccount:kubeapps:apprepository-controller" cannot patch events in the namespace "kubeapps"' (will not retry!)
W0219 09:41:22.021586 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 2471 (2994)
W0219 09:50:27.026885 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 2994 (3528)
W0219 09:57:03.043817 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 3528 (4099)
W0219 10:03:31.081304 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 4099 (4586)
W0219 10:09:32.102083 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 4586 (5005)
W0219 10:18:51.114694 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 5005 (5879)
W0219 10:27:37.122611 1 reflector.go:341] github.com/kubeapps/apprepository-controller/pkg/client/informers/externalversions/factory.go:74: watch of *v1alpha1.AppRepository ended with: too old resource version: 5879 (6371)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment