Bug 1581538
| Summary: | Failed to create event error appears in sdn log | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Meng Bo <bmeng> |
| Component: | Networking | Assignee: | Dan Winship <danw> |
| Status: | CLOSED ERRATA | QA Contact: | Meng Bo <bmeng> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.10.0 | CC: | aos-bugs, bbennett |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-30 19:16:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Checked on v3.10.0-0.58.0, the issue has been fixed. There is no error in the log, and the sdn related events are created under openshift-sdn project. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1816 |
Description of problem: Setup OCP cluster, check the sdn log after installation, there is error about failed to create event. E0523 02:11:40.348280 9116 event.go:200] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"ip-172-18-13-135.ec2.internal.1531242769331b9f", GenerateName:"", Namespace:"default", 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:"Node", Namespace:"", Name:"ip-172-18-13-135.ec2.internal", UID:"", APIVersion:"", ResourceVersion:"", FieldPath:""}, Reason:"Starting", Message:"Starting openshift-sdn.", Source:v1.EventSource{Component:"openshift-sdn", Host:"ip-172-18-13-135.ec2.internal"}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xbeb95157146b839f, ext:554092963, loc:(*time.Location)(0xaed80a0)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbeb95157146b839f, ext:554092963, loc:(*time.Location)(0xaed80a0)}}, Count:1, 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 is forbidden: User "system:serviceaccount:openshift-sdn:sdn" cannot create events in the namespace "default": User "system:serviceaccount:openshift-sdn:sdn" cannot create events in project "default"' (will not retry!) Version-Release number of selected component (if applicable): v3.10.0-0.50.0 ose-node:v3.10 58027d498eba How reproducible: always Steps to Reproduce: 1. Setup OCP cluster 2. Check the log in sdn pod # oc logs sdn-57gqf -n openshift-sdn | grep event.go 3. Actual results: Error about failed to create event appears. Expected results: Should not have such error. Additional info: