Bug 1970466
| Summary: | Console's OperatorHub leads users to unrelated install plan, if subscription does not have its own | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | sleshche |
| Component: | Management Console | Assignee: | ralpert |
| Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.7 | CC: | aos-bugs, jokerman, spadgett, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: There was an edge case (no install plan) that wasn't being handled in the logic pulling in the data for a link in OperatorHub.
Consequence: We linked users to unrelated install plans if subscriptions didn't have their own.
Fix: We added a state that should take over from the default behavior as part of a story, so that should fix it. We will also backport a simpler change to fix the original issue.
Result: Bug is fixed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-10-18 17:33:33 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: | 1985356 | ||
|
Description
sleshche
2021-06-10 14:10:39 UTC
This bug will be solved indirectly by https://issues.redhat.com/browse/CONSOLE-2805 and https://github.com/openshift/console/pull/9346 Moving to MODIFIED as https://github.com/openshift/console/pull/9346 has merged. Follow the steps in bug description 1. Create test namespace. 2. Install ArgoCD operator into openshift-operators namespace via OperatorHub 3. Import the following YAML apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: ditto-operator namespace: test spec: channel: alpha installPlanApproval: Automatic name: ditto-operator source: community-operators sourceNamespace: openshift-marketplace startingCSV: ditto-operator.v0.non-existing 4. Go to Operators -> Installed Operators -> Choose `All Projects` , the `Status` is shown Unknown for ditto-operator 5. Click on Ditto operator user will be taken to Subscription details page k8s/ns/test/operators.coreos.com~v1alpha1~Subscription/ditto-operator 6. also on Operators -> OperatorHub page, ditto-operator is not included in `Installed` operator when filtering by Install state Verified on 4.9.0-0.nightly-2021-07-22-015245 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.9.0 bug fix and 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-2021:3759 |