Bug 1796080

Summary: OLM Operators on the OperatorHub page should be filtered by GOOS and GOARCH (openshift-4.2)
Product: OpenShift Container Platform Reporter: bpeterse
Component: Management ConsoleAssignee: bpeterse
Status: CLOSED WONTFIX QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.zCC: aos-bugs, cfillekes, jokerman, yapei
Target Milestone: ---   
Target Release: 4.2.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1796079 Environment:
Last Closed: 2020-05-06 20:50:09 UTC Type: ---
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: 1796078, 1796079, 1804851    
Bug Blocks:    

Description bpeterse 2020-01-29 14:48:58 UTC
+++ This bug was initially created as a clone of Bug #1796079 +++

+++ This bug was initially created as a clone of Bug #1796078 +++

Description of problem:

Not all operators support all architectures.  Therefore, operators under OLM will have an annotation defining supported architectures. If the current architecture of the cluster is not listed in this annotation, the console should filter (hide) the operator from view.  

* The console backend needs to use golang's sys/runtime library to get the architecture of the cluster/pod
* The console should pass the architecture to the front end
* The OLM page should filter based on the provided architecture data.  

This story supports https://issues.redhat.com/browse/OLM-1464

The backend work to gather the architecture & pass to the front end needs backports to 4.3 & 4.2
The front end filtering work needs backports to 4.3, 4.2 if it is clean.

Comment 1 bpeterse 2020-04-06 14:57:21 UTC
*** Bug 1819891 has been marked as a duplicate of this bug. ***

Comment 2 bpeterse 2020-05-06 20:50:09 UTC
We no longer plan to backport this feature to 4.2, 4.3 was the cutoff.