Bug 1815189
| Summary: | feature flagged UI does not always become available after operator installation | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | cvogt |
| Component: | Management Console | Assignee: | Jon Jackson <jonjacks> |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | CC: | aos-bugs, jhadvig, jonjacks, spadgett, yapei |
| Target Milestone: | --- | Flags: | jonjacks:
needinfo-
|
| Target Release: | 4.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | Scrubbed | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: When an operator adds an API to an existing API group, it does not trigger API discovery.
Consequence: Newly added API is not seen by the front end until a page refresh occurs
Fix: For users with permission, watch CRDs instead of APIServiceModels and re-run API discovery whenever any CRD is added or removed. For users without permission to watch CRDs, poll API discovery. For all users, re-run API discovery the first time an API isn't found in the definitions.
Result: If an operator adds a new API to an existing API group, the front end API definitions will be updated without requiring a page reload.
|
Story Points: | --- |
| Clone Of: | Environment: |
Version: 4.5.0-0.ci-2020-03-17-123117
Cluster ID: 7cf2bdac-1124-49a9-ac4e-5a206e569bde
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36 Edg/80.0.361.66
|
|
| Last Closed: | 2022-03-12 04:34: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
cvogt
2020-03-19 18:05:11 UTC
*** Bug 1832706 has been marked as a duplicate of this bug. *** Pushing this to 4.6. Its not new, and we don't have time to address in 4.5. @Ben, I'm unable to look into this bug at this time due to my upcoming leave. I want to reassessing to you so you could assign it to someone else to avoid delay. I think we can implement this in the backend now and make watch work for all users. We can use the console service account to watch CRDs, but only return the group/version/kind to the client. This wouldn't leak any information not already available through API discovery. Then the UI should be able to respond immediately on changes, and we avoid the race we have today. This looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=1997269 issue. Jon could you please take a look if the above mentioned BZ is not a dup.? Thanks @ Jakub, this is related to https://bugzilla.redhat.com/show_bug.cgi?id=1997269 but not quite a duplicate. I think that we can address these separately. Manually moving to modified since the associated PR merged. 1. Install 'Red Hat OpenShift Serverless' operator
$ oc get csv -n knative-serving
NAME DISPLAY VERSION REPLACES PHASE
serverless-operator.v1.18.0 Red Hat OpenShift Serverless 1.18.0 serverless-operator.v1.17.0 Succeeded
$ oc get crd | grep knative | awk -F ' ' '{print $1}'
knativeeventings.operator.knative.dev
knativekafkas.operator.serverless.openshift.io
knativeservings.operator.knative.dev
2. Create 'Knative Serving' instance in 'knative-serving' namespace, wait until `Serverless` navigation section to appear in the admin nav, I can always see 3 nav links: Revisions, Routes, Services
^^ is checked against 4.10.0-0.nightly-2021-11-15-034648
However on a 4.9 nightly(4.9.0-0.nightly-2021-11-12-222121) cluster without the fix code, I can still always see 3 nav links: Revisions, Routes, Services, I didn't reproduce the issue described
Anything I'm missing regards to how can I reproduce the issue?
Didn't get response yet, based on comment 27 will move it to VERIFIED any problems or issues we can go back to this BZ 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.10.3 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:0056 |