Bug 1861262
Summary: | Operators are not displayed when disconnected filter is applied in OpenShift UI | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Asheth <asheth> |
Component: | OLM | Assignee: | Evan Cordell <ecordell> |
OLM sub component: | OperatorHub | QA Contact: | Jian Zhang <jiazha> |
Status: | CLOSED NOTABUG | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | aos-bugs, bluddy, ecordell, fabian, fdeutsch, jmazzite, krizza, mfuruta, nhale, oarribas, rh-container |
Version: | 4.5 | ||
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-01-15 19:33:49 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: |
Description
Asheth
2020-07-28 07:54:14 UTC
Taking a closer look, it seems like the console filters distinguishes the packages that are capable of running on a disconnected cluster by checking for the `operators.openshift.io/infrastructure-features: '["Disconnected"]'` annotation on their PackageManifests. It looks like, as of today, only AMQ Streams and Kafka have this annotation. I'll need to reach out to the remaining operator maintainers to make them aware that this is a requirement for being discovered by console. NOTE: The documentation is not clear in regards to this annotation. See: https://access.redhat.com/documentation/en-us/openshift_container_platform/4.5/html-single/operators/index#olm-enabling-operator-for-restricted-network_osdk-generating-csvs It says the following: ==== Look for the Disconnected annotation, which indicates that the Operator works in a disconnected environment: metadata: annotations: operators.openshift.io/infrastructure-features: '["Disconnected"]' === But there are annotations in the CSV itself, and there are annotations on the operator Deployment definition (also found in the CSV). I will assume this goes in the CSV top-level metadata.annotation section, NOT the operator Deployment definition. Can someone: 1) confirm that is where this annotation should go 2) fix the docs to make it more clear :) > 1) confirm that is where this annotation should go
yes, the annotations should be on the CSV, not the nested deployment spec.
2) fix the docs to make it more clear :)
I'll ask the docs team to make this more explicit.
For any specific operator that is listed in docs as supporting disconnected, but does not have the proper annotations, please file a bug against that operator specifically. I don't think we're getting any value from having an OLM team member review this BZ every other month. *** Bug 1920858 has been marked as a duplicate of this bug. *** *** Bug 1920999 has been marked as a duplicate of this bug. *** |