Bug 1990282 - 'Install' button enables to proceed with installation of multiple ocs-opertor under different namespace in a cluster
Summary: 'Install' button enables to proceed with installation of multiple ocs-opertor...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jose A. Rivera
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-05 07:41 UTC by Aman Agrawal
Modified: 2023-08-09 17:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-15 15:01:45 UTC
Embargoed:


Attachments (Terms of Use)
ocs-operator via UI (474.66 KB, video/webm)
2021-08-05 07:41 UTC, Aman Agrawal
no flags Details

Description Aman Agrawal 2021-08-05 07:41:20 UTC
Created attachment 1811133 [details]
ocs-operator via UI

Description of problem (please be detailed as possible and provide log
snippests):


Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?


Can this issue reproducible?


Can this issue reproduce from the UI?


If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1. Deploy a 4.8 OCS cluster via Jenkins.
2. Login to UI console and go to Operators -> OperatorsHub.
3. Search with OCS, make sure you have 2 instances of ocs-operator, in my case I could see 2 instances of ocs-operator without pushing another image of it by editing catalogsource.
4. Both the ocs-operator show 'Install' button on them whereas the cluster already had a ocs-operator installed when OCS was deployed via Jenkins.
5. Click on Install, select a different namespace and proceed with installation.
6. The installation will fail at the end.

7. Also found this issue on another cluster where only one instance of ocs-operator was available and I pushed another image of it by editing the catalogsource.
8. Went back to UI, under Operators -> OperatorsHub and search with OCS. Both the ocs-operator will now show 'Install' button on them whereas the cluster already has a ocs-operator installed when OCS was deployed via Jenkins.
9. Click on Install, select a different namespace and proceed with installation.
10. The installation will fail at the end.


Actual results: ocs-operator on UI has 'Install' button when we have multiple instances of it and one instance is already installed


Expected results: No matter the number of instances of ocs-operator available on UI even if new ocs-operator image is pushed later on by editing the catalogsource, they should always show 'Uninstall' button when one instance of ocs-operator is already installed on the cluster


Additional info:

Found the issue on these 2 clusters-
https://ocs4-jenkins-csb-ocsqe.apps.ocp4.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/4970/

https://ocs4-jenkins-csb-ocsqe.apps.ocp4.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/4324/

Comment 3 Jose A. Rivera 2021-10-15 15:01:45 UTC
This is a "feature" of the OLM, and thus working as intended. Most of this is an artifact of the fact that we're doing non-GA stuff under the hood for our testing. There's not much we can (or should!) do about it. Closing as NOTABUG.


Note You need to log in before you can comment on or make changes to this bug.