Bug 2067312
| Summary: | PPT event source is lost when received by the consumer | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Aneesh Puttur <aputtur> |
| Component: | Cloud Native Events | Assignee: | Aneesh Puttur <aputtur> |
| Cloud Native Events sub component: | Cloud Event Proxy | QA Contact: | obochan <obochan> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | urgent | ||
| Priority: | urgent | CC: | aos-bugs, aputtur, ijolliff, jacding |
| Version: | 4.11 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-10 10:24:22 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2067311 | ||
moved to verified in 4.11 so it will merge to 4.10 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 (Moderate: OpenShift Container Platform 4.11.0 extras and security update), 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/RHSA-2022:5070 |
Description of problem: Source of the event is lost when the event are converted from cloud events to cloud native events When event has created the source of the event is captured by the producer \"source\": \"/cluster/cnfde7.ptp.lab.eng.bos.redhat.com/ptp/ens7fx/master\" but when it is converted to Cloud-native events the source is replaced by event source type /cluster/node/cnfde7.ptp.lab.eng.bos.redhat.com/sync/sync-status/os-clock-sync-state\" Version-Release number of selected component (if applicable): 4.10, 4.11 Actual results: {\n \"id\": \"\",\n \"type\": \"event.sync.sync-status.os-clock-sync-state-change\",\n \"source\": \"/cluster/node/cnfde7.ptp.lab.eng.bos.redhat.com/sync/sync-status/os-clock-sync-state\",\n \"dataContentType\": \"application/json\",\n \"time\": \"2022-03-23T17:56:27.444679124Z\",\n \"data\": {\n \"version\": \"v1\",\n \"values\": [\n {\n \"resource\": \"/sync/sync-status/os-clock-sync-state\",\n \"dataType\": \"notification\",\n \"valueType\": \"enumeration\",\n \"value\": \"LOCKED\"\n },\n {\n \"resource\": \"/sync/sync-status/os-clock-sync-state\",\n \"dataType\": \"metric\",\n \"valueType\": \"decimal64.3\",\n \"value\": \"2321\"\n }\n ]\n }\n }\n" Expected results: {\n \"id\": \"2725fc41-0414-4b70-84cb-28689ab5ebe7\",\n \"type\": \"event.sync.ptp-status.ptp-state-change\",\n \"source\": \"/cluster/cnfde7.ptp.lab.eng.bos.redhat.com/ptp/CLOCK_REALTIME\",\n \"dataContentType\": \"application/json\",\n \"time\": \"2022-03-23T18:37:10.13560074Z\",\n \"data\": {\n \"version\": \"v1\",\n \"values\": [\n {\n \"resource\": \"/sync/ptp-status/lock-state\",\n \"dataType\": \"notification\",\n \"valueType\": \"enumeration\",\n \"value\": \"FREERUN\"\n },\n {\n \"resource\": \"/sync/ptp-status/lock-state\",\n \"dataType\": \"metric\",\n \"valueType\": \"decimal64.3\",\n \"value\": \"-1\"\n }\n ]\n }\n }" Additional info: