Bug 1836956
Summary: | co-fetch should allow suppressing 404 errors | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Filip Krepinsky <fkrepins> |
Component: | Management Console | Assignee: | Jon Jackson <jonjacks> |
Status: | CLOSED NOTABUG | QA Contact: | Yadan Pei <yapei> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.5 | CC: | aos-bugs, jokerman, pweil, spadgett, yzamir |
Target Milestone: | --- | ||
Target Release: | 4.6.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: | 2020-06-03 14:42:12 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: |
Description
Filip Krepinsky
2020-05-18 14:41:26 UTC
This is working as intended. The console messages are harmless and not displayed to the user. These are only for developers. It would be worse not to log the 404 response. The calling code should handle the failed promise if it's not. In our case that is not possible, because we are using Firehose which calls watchK8sObject (k8sGet), which does not have any option of handling this. This feature could be then added to firehose, if we don't want to modify the co-fetch. Sorry, I disagree with the premise. The 404 network requests are accurate and helpful for debugging. They aren't displayed to the user. We shouldn't misuse the k8s fieldSelector to suppress the message. In general, I agree that it is helpful to have such logs. Nevertheless, VMI case is special, because we expect that it might not be there - VM page behaves differently according to that. This feature would just help to cleanup the log a bit. |