Description of problem: The KCS[1] shows the list of Operators supported by Red Hat in disconnected mode. [1] https://access.redhat.com/articles/4740011 However, When we check in the OpenShift Web UI, the Infrastructure Feature from the Operator hub shows only 11 Operators when the disconnected filter is applied. The compliance operator is not displayed. Version-Release number of selected component (if applicable): 4.6.x How reproducible: Steps to Reproduce: 1.Check the list of Operators supported by Red Hat in the Disconnected mode -- https://access.redhat.com/articles/4740011 2. Use OpenShift Web UI. Select Operator Hub -> Infrastructure Feature -> Disconnected Actual results: The infrastructure feature does not show Compliance operator when the disconnected filter is applied Expected results: When the disconnected filter is applied, it should show all Red Hat supported Operators, not just a few Operators. It should show the Compliance operator. Additional info: There was a bug opened earlier for this issue "https://bugzilla.redhat.com/show_bug.cgi?id=1861262", however that bug was closed with a note that a separate Bugzilla should be opened for different operators.
Please file issues like this one with the team that maintains the operator in question: https://bugzilla.redhat.com/show_bug.cgi?id=1861262#c11. *** This bug has been marked as a duplicate of bug 1861262 ***
I've opened https://github.com/openshift/compliance-operator/pull/557 to fix this. The operator does still support disconnected mode (since we reference image SHAs instead of tags), but the CSV was missing the annotation that advertises disconnected support.
Created attachment 1756381 [details] Compliance operator disconnected infrastructure feature It looks good now, the infrastructure feature shows the Compliance operator when the disconnected filter gets applied. Verified on: 4.6.0-0.nightly-2021-02-11-052939 compliance-operator.v0.1.26 $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.6.0-0.nightly-2021-02-11-052939 True False 94m Cluster version is 4.6.0-0.nightly-2021-02-11-052939 $ oc get csv -nopenshift-compliance NAME DISPLAY VERSION REPLACES PHASE compliance-operator.v0.1.26 Compliance Operator 0.1.26 Succeeded $ oc get csv/compliance-operator.v0.1.26 -nopenshift-compliance -o yaml |grep Disconnected operators.openshift.io/infrastructure-features: '["Disconnected"]' $ oc get packagemanifest compliance-operator -o yaml |grep Disconnected operators.openshift.io/infrastructure-features: '["Disconnected"]' $ oc get pods -nopenshift-compliance NAME READY STATUS RESTARTS AGE compliance-operator-7cd796894d-fftk2 1/1 Running 0 58m ocp4-openshift-compliance-pp-866dd6d44c-94xf2 1/1 Running 0 57m rhcos4-openshift-compliance-pp-b448cb85f-7wkkf 1/1 Running 0 57m Attaching `Compliance_Operator_Disconnected.mkv` video which confirm the feature over GUI
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.6 compliance-operator security and bug fix 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:0436