-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
4.13
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
No
-
None
-
None
-
Rejected
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
OLM still check certified-operators/openshift-marketplace when disableAllDefaultSources is true
Version-Release number of selected component (if applicable):
4.13.0-0.nightly-2023-05-01-220847
How reproducible:
not always
Steps to Reproduce:
When running daily e2e test, for profile aws-ipi-disconnected-private, OLM still check certified-operators/openshift-marketplace when disableAllDefaultSources is true
1, set disableAllDefaultSources is true
cat cluster-scoped-resources/config.openshift.io/operatorhubs.yaml
---
apiVersion: config.openshift.io/v1
items:
- apiVersion: config.openshift.io/v1
kind: OperatorHub
...
spec:
disableAllDefaultSources: true
status:
sources:
- disabled: true
name: redhat-marketplace
status: Success
- disabled: true
name: redhat-operators
status: Success
- disabled: true
name: certified-operators
status: Success
- disabled: true
name: community-operators
status: Success
kind: OperatorHubList
metadata:
continue: ""
resourceVersion: "239464"
2, install sub, check result
{
"message": "failed to populate resolver cache from source certified-operators/openshift-marketplace: failed to list bundles: rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup certified-operators.openshift-marketplace.svc on 172.30.0.10:53: no such host\"",
"reason": "ErrorPreventedResolution",
"status": "True",
"type": "ResolutionFailed"
}
May 2 14:02:17.668: INFO: Running 'oc --kubeconfig=/tmp/kubeconfig-2026650238 get pod -n openshift-marketplace'
May 2 14:02:17.731: INFO: $oc get [pod -n openshift-marketplace], the returned resource:NAME READY STATUS RESTARTS AGE
marketplace-operator-857545ccf6-mvdg6 1/1 Running 0 78m
qe-app-registry-gxx9s 1/1 Running 0 19m
Actual results:
OLM still check certified-operators/openshift-marketplace when disableAllDefaultSources is true
Expected results:
OLM doesn't check certified-operators/openshift-marketplace when disableAllDefaultSources is true
Additional info:
must-gather log https://gcsweb-qe-private-deck-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/qe-private-deck/logs/periodic-ci-openshift-openshift-tests-private-release-4.13-amd64-nightly-aws-ipi-disconnected-private-p1-f4/1653372204496195584/artifacts/aws-ipi-disconnected-private-p1-f4/gather-must-gather/artifacts/