New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug 1986699: Differentiate between operators for install #9668
Bug 1986699: Differentiate between operators for install #9668
Conversation
@rebeccaalpert: This pull request references Bugzilla bug 1986699, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@rebeccaalpert: This pull request references Bugzilla bug 1986699, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@rebeccaalpert: This pull request references Bugzilla bug 1986699, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test e2e-gcp-console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the issue with this bug is not with the CSV logic. It's with the Subscription we are associating with each package. We are only using the package name to match Subscription to PackageManifest. This is not specific enough. We need to make sure that not only the package name matches, but also Subscription.spec.source
matches PackageManifest.status.catalogSource
, and Subscription.spec.sourceNamespace
matche PackageManifest.status.catalogSourceNamespace`.
frontend/packages/operator-lifecycle-manager/src/components/operator-hub/operator-hub-page.tsx
Outdated
Show resolved
Hide resolved
db563ca
to
3acdbc5
Compare
@rebeccaalpert: This pull request references Bugzilla bug 1986699, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of small changes requested.
frontend/packages/operator-lifecycle-manager/src/components/operator-group.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/operator-lifecycle-manager/src/components/operator-group.tsx
Outdated
Show resolved
Hide resolved
...d/packages/operator-lifecycle-manager/src/components/operator-hub/operator-hub-subscribe.tsx
Outdated
Show resolved
Hide resolved
2484a0c
to
8e76d0f
Compare
Console was showing the wrong install status for operators with the same display name but different catalog sources. We don't have a ton of data to work with, but adding the package catalog source and namespace to the subscription finding function seems to work. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1986699
8e76d0f
to
49647b7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rebeccaalpert, TheRealJon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-gcp-console |
1 similar comment
/test e2e-gcp-console |
@rebeccaalpert: All pull requests linked via external trackers have merged: Bugzilla bug 1986699 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Console was showing the wrong install status for operators with the same display name but different catalog sources. We don't have a ton of data to work with, but adding some tighter logic seems to work for the case specified in the bug.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1986699.