Bug 1920999 - Compliance operator is not displayed when disconnected mode is selected in the OpenShift Web-Console.
Summary: Compliance operator is not displayed when disconnected mode is selected in th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Compliance Operator
Version: 4.6.z
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.6.z
Assignee: Jakub Hrozek
QA Contact: Prashant Dhamdhere
URL:
Whiteboard:
Depends On: 1925461
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-27 11:54 UTC by Asheth
Modified: 2021-11-15 10:00 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1925461 (view as bug list)
Environment:
Last Closed: 2021-02-16 13:16:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Compliance operator disconnected infrastructure feature (1.44 MB, application/x-matroska)
2021-02-11 15:16 UTC, Prashant Dhamdhere
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:0436 0 None None None 2021-02-16 13:16:48 UTC

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


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