Bug 1958088
Summary: | Deleted Ingress Controller still used as Location Status | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Alexander Niebuhr <alexander> |
Component: | Dev Console | Assignee: | Jaivardhan Kumar <jakumar> |
Status: | CLOSED NOTABUG | QA Contact: | Gajanan More <gamore> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 4.7 | CC: | aos-bugs, cvogt, dsantra, jakumar, jokerman, mmasters, nmukherj, spadgett |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | 4.9.0 | Flags: | cvogt:
needinfo-
|
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: | 2021-06-25 15:29:40 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
Alexander Niebuhr
2021-05-07 07:23:54 UTC
Looks like you want the https://github.com/openshift/router/blob/master/images/router/clear-route-status.sh script to clear out old status entries. This script currently has a problem that prevents it from working properly, which is being tracked as bug 1944851, so I am closing this report (bug 1958088) as a duplicate of that one (bug 1944851). Please review bug 1944851 and tell me if I have closed this report in error. *** This bug has been marked as a duplicate of bug 1944851 *** actually the functional part of this issue is described in https://bugzilla.redhat.com/show_bug.cgi?id=1944851 as you said, however that the UI does not use the latest updated status to show the current route instead it uses the latest entry of an array seems to be another bug, which should be fixed. I would suggest to reopen, maybe reassign this bug to the correct team! Re-opening per comment 2, and re-assigning to the "Management Console" team. I'm unfamiliar with "Topology graph", but there is no reason that is obvious to me why it should show only one host name; usually the route's status.ingress[*].host values are all the same, but if they differ, I see no reason not to show all the different host names. I do think it should only show the host names which are valid. Or maybe the one which is defined in spec, not in status? I think we only want to present valid admitted hostnames as links. Otherwise, the link will be broken. so https://bugzilla.redhat.com/show_bug.cgi?id=1944851 needs to fix the status and in UI we need to get a generic fix for both admin console/dev console and show all admitted hostnames as links here is the ticket track https://issues.redhat.com/browse/ODC-6072. I think we can close this ticket cc @spadgett / @cvogt > however that the UI does not use the latest updated status to show the current route instead it uses the latest entry of an array seems to be another bug, which should be fixed. Hi, Alexander. We don't simply show the last item in the array. We made an intentional decision to find the oldest admitted hostname from the route status and display that (regardless of where it is in the array). I don't know that it's really better to show the newest admitted hostname. That's not necessarily more valid than the oldest admitted hostname. Couldn't the most recent hostname have the deleted ingress controller? The real problem is that's we're arbitrarily picking a single URL to show instead of finding a way to show all of them to the user. RFE https://issues.redhat.com/browse/ODC-6072 has been opened to investigate a better approach. Closing since the current behavior is working as designed, and we have a JIRA issue open to look at improving the UX in the future. The route status not being cleaned up is tracked by bug 1944851. yeah sure, the main point is that you guys are aware and have tracking. I actually think it would be the better decision to show the newest admitted hostname instead the oldest, since the probability for that being still online is much higher. Any way, you guys should make sure no outdated route is shown, either by showing all admitted routes or by fixing the status clean up. Thanks :) |