Bug 1809706
Summary: | Pushing an operator whose default channel points to a non-existent CSV breaks the entire OperatorHub UI | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jason Montleon <jmontleo> | |
Component: | Management Console | Assignee: | Robb Hamilton <rhamilto> | |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 4.5 | CC: | aos-bugs, jokerman, rhamilto, shishika, vpagar, yapei | |
Target Milestone: | --- | |||
Target Release: | 4.5.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Cause: The console expects all packages to have a defaultChannel and will fail if a package does not have one.
Consequence: If a package without a defaultChannel is added, the entire console fails.
Fix: Any packages without defaultChannels should be filtered out so the console does not fail.
Result: The console no longer fails if a package without a defaultChannel is added.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1811142 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-13 17:17:45 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1811142 |
Description
Jason Montleon
2020-03-03 17:49:17 UTC
The issue is still reproduced on 4.5.0-0.nightly-2020-03-06-190457, will check on newer build 1. cluster admin create the operator source # cat operator-source.yaml apiVersion: operators.coreos.com/v1 kind: OperatorSource metadata: name: jmontleon-operator namespace: openshift-marketplace spec: type: appregistry endpoint: https://quay.io/cnr registryNamespace: jmontleon displayName: "Migration Operator" publisher: "ocp-migrate-team" # oc create -f operator-source.yaml operatorsource.operators.coreos.com/jmontleon-operator created # oc get operatorsource -n openshift-marketplace NAME TYPE ENDPOINT REGISTRY DISPLAYNAME PUBLISHER STATUS MESSAGE AGE certified-operators appregistry https://quay.io/cnr certified-operators Certified Operators Red Hat Succeeded The object has been successfully reconciled 108m community-operators appregistry https://quay.io/cnr community-operators Community Operators Red Hat Succeeded The object has been successfully reconciled 108m jmontleon-operator appregistry https://quay.io/cnr jmontleon Migration Operator ocp-migrate-team Succeeded The object has been successfully reconciled 2m18s redhat-marketplace appregistry https://quay.io/cnr redhat-marketplace Red Hat Marketplace Red Hat Succeeded The object has been successfully reconciled 108m redhat-operators appregistry https://quay.io/cnr redhat-operators Red Hat Operators Red Hat Succeeded The object has been successfully reconciled 108m 2. view Operator Hub, operator items can be loaded and no broken Verified on 4.5.0-0.nightly-2020-03-11-214319 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, 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/RHBA-2020:2409 |