-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.16
-
None
-
Low
-
No
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
console always send GET CSV requests to 'openshift' namespace even copiedCSV is not disabled
Version-Release number of selected component (if applicable):
4.16.0-0.nightly-2024-05-15-001800
How reproducible:
Always
Steps to Reproduce:
1. Install operator into a specific namespace on the cluster(Operator will be available in a single Namespace only.) for example, subscribe APIcast into project 'test' 2. Check if copiedCSV is disabled >> window.SERVER_FLAGS.copiedCSVsDisabled <- false // copiedCSV is NOT disabled $ oc get olmconfig cluster -o json | jq .status.conditions [ { "lastTransitionTime": "2024-05-15T23:16:50Z", "message": "Copied CSVs are enabled and present across the cluster", "reason": "CopiedCSVsEnabled", "status": "False", "type": "DisabledCopiedCSVs" } ] 3. monitor the browser console errors when check operator details via Operators -> Installed Operators -> click on the operator APIcast
Actual results:
3. we can see a GET CSV request to 'openshift' namespace is sent and 404 was returned GET https://console-openshift-console.apps.qe-daily-416-0516.qe.devcluster.openshift.com/api/kubernetes/apis/operators.coreos.com/v1alpha1/namespaces/openshift/clusterserviceversions/apicast-community-operator.v0.7.1
Expected results:
3. copiedCSV is not disabled, probably we should not send request to query CSVs from 'openshift' namespace
Additional info:
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update