Bug 1749469
| Summary: | discrepancy between representation of events in web ui (OCP Console) and rest of the Openshift | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Martin Bukatovic <mbukatov> | ||||
| Component: | Management Console | Assignee: | Rastislav Wagner <rawagner> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.2.0 | CC: | aos-bugs, jokerman, yapei | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.4.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Enhancement | |||||
| Doc Text: |
Previously events in Console were classified as Info or Error type which was inconsistent with CLI and k8s terminology. The classification was changed to Normal and Warning to align with CLI/K8s.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 1804116 1804118 (view as bug list) | Environment: | |||||
| Last Closed: | 2020-05-04 11:13:32 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: | 1804116, 1804118 | ||||||
| Attachments: |
|
||||||
|
Description
Martin Bukatovic
2019-09-05 17:18:09 UTC
Now Events are filtered by type 'Normal' and 'Warning' on Home -> Events page Also events Type instead of Reason is used to determine whether it's Normal or Warning 1. Create an app and change BC source uri to invalid, create a build $ oc get events ...... 3m35s Normal Created pod/perl-2-build Created container git-clone 3m35s Normal Started pod/perl-2-build Started container git-clone 3m34s Normal BuildStarted build/perl-2 Build yapei1/perl-2 is now running 3m29s Normal BuildFailed build/perl-2 Build yapei1/perl-2 failed 3m43s Normal DeploymentCreated deploymentconfig/perl Created new replication controller "perl-1" for version 1 2. Create a standalone pod with invalid source image, take this file as example https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/pods/busybox-pod.yaml, pod will failed to start $ oc describe pod my-pod ..... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled <unknown> default-scheduler Successfully assigned yapei1/my-pod to ip-10-0-134-82.us-east-2.compute.internal Normal BackOff <invalid> (x3 over 18s) kubelet, ip-10-0-134-82.us-east-2.compute.internal Back-off pulling image "docker.io/busyboxtest" Warning Failed <invalid> (x3 over 18s) kubelet, ip-10-0-134-82.us-east-2.compute.internal Error: ImagePullBackOff Normal Pulling <invalid> (x3 over 18s) kubelet, ip-10-0-134-82.us-east-2.compute.internal Pulling image "docker.io/busyboxtest" Warning Failed <invalid> (x3 over 18s) kubelet, ip-10-0-134-82.us-east-2.compute.internal Failed to pull image "docker.io/busyboxtest": rpc error: code = Unknown desc = Error reading manifest latest in docker.io/library/busyboxtest: errors: denied: requested access to the resource is denied unauthorized: authentication required Warning Failed <invalid> (x3 over 18s) kubelet, ip-10-0-134-82.us-east-2.compute.internal Error: ErrImagePull The event with Type `Normal` are shown as Normal on console The event with Type `Warning` are shown as Warning on console, warning events are shown in yellow color Verified on 4.4.0-0.nightly-2019-12-15-184910 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-2020:0581 |