Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1920999

Summary: Compliance operator is not displayed when disconnected mode is selected in the OpenShift Web-Console.
Product: OpenShift Container Platform Reporter: Asheth <asheth>
Component: Compliance OperatorAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED ERRATA QA Contact: Prashant Dhamdhere <pdhamdhe>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6.zCC: bluddy, ecordell, josorior, mfuruta, mrogers, nkinder, xiyuan
Target Milestone: ---Keywords: Reopened
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1925461 (view as bug list) Environment:
Last Closed: 2021-02-16 13:16:32 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:
Bug Depends On: 1925461    
Bug Blocks:    
Attachments:
Description Flags
Compliance operator disconnected infrastructure feature none

Description Asheth 2021-01-27 11:54:45 UTC
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.

Comment 1 Ben Luddy 2021-01-27 22:09:41 UTC
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 ***

Comment 5 Matt Rogers 2021-02-04 23:44:05 UTC
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.

Comment 7 Prashant Dhamdhere 2021-02-11 15:16:48 UTC
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

Comment 9 errata-xmlrpc 2021-02-16 13:16:32 UTC
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