Bug 1946512 - [OCP v48] Unreachable url shows in links section of Compliance Operator over GUI
Summary: [OCP v48] Unreachable url shows in links section of Compliance Operator over GUI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Compliance Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.8.z
Assignee: Jakub Hrozek
QA Contact: xiyuan
URL:
Whiteboard:
Depends On: 1953331 1990836
Blocks: 1953517 1953520
TreeView+ depends on / blocked
 
Reported: 2021-04-06 10:06 UTC by Prashant Dhamdhere
Modified: 2021-09-07 06:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1953517 (view as bug list)
Environment:
Last Closed: 2021-09-07 06:05:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift compliance-operator pull 676 0 None None None 2021-08-02 13:46:59 UTC
Red Hat Product Errata RHBA-2021:3214 0 None None None 2021-09-07 06:05:28 UTC

Description Prashant Dhamdhere 2021-04-06 10:06:19 UTC
Description of problem:

Unreachable url shows in links section of Compliance Operator over GUI


Version-Release number of selected component (if applicable):

4.8.0-0.nightly-2021-04-03-092337 + compliance-operator.v0.1.29


How reproducible:

Always

Steps to Reproduce:

1. Install Compliance Operator through Web Console
2. After installation of operator click on Compliance Operator -> Operator Details
3. In Links section, unreachable url will get find https://compliance-operator.domain/

Actual results:
 
The mentioned url should be reachable or it should point to product page or documentation


Expected results:

Unreachable url shows in links section of Compliance Operator over GUI

Additional info:

Comment 1 Matt Rogers 2021-04-09 16:30:14 UTC
Fixed upstream: https://github.com/openshift/compliance-operator/pull/614

Comment 2 xiyuan 2021-04-26 14:16:31 UTC
verification blocking by https://bugzilla.redhat.com/show_bug.cgi?id=1953331

Comment 3 xiyuan 2021-05-27 07:02:33 UTC
Hi Matt, 
It is also the same issue: hardcoded to 4.7. 
https://github.com/openshift/compliance-operator/blob/master/deploy/olm-catalog/compliance-operator/manifests/compliance-operator.clusterserviceversion.yaml#L1405

Once 4.8 released, it is better point to 4.8 doc instead of 4.7 doc.

Comment 9 Prashant Dhamdhere 2021-08-24 08:38:22 UTC
[Bug_Verification]

The Compliance Operator documentation url is reachable and point to latest released OCP version. i.e 4.8

Verified on:
4.8.0-0.nightly-2021-08-23-234834 + compliance-operator.v0.1.39

$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-08-23-234834   True        False         179m    Cluster version is 4.8.0-0.nightly-2021-08-23-234834

$ oc get csv
NAME                              DISPLAY                            VERSION    REPLACES   PHASE
compliance-operator.v0.1.39       Compliance Operator                0.1.39                Succeeded
elasticsearch-operator.5.1.1-42   OpenShift Elasticsearch Operator   5.1.1-42              Succeeded

$ oc get csv compliance-operator.v0.1.39 -o yaml |grep -A20 "Compliance Operator documentation"
  - name: Compliance Operator documentation
    url: https://docs.openshift.com/container-platform/latest/security/compliance_operator/compliance-operator-understanding.html      <<----
  maintainers:
  - email: support
    name: Red Hat Support
  maturity: alpha
  provider:
    name: Red Hat Inc.
    url: www.redhat.com
  relatedImages:
  - image: registry.redhat.io/compliance/openshift-compliance-rhel8-operator@sha256:10dcd18f4ddf73b295befde8fe720a49d1826d6415b822a4c11a933a8d7a72cb
    name: compliance-operator
  - image: registry.redhat.io/compliance/openshift-compliance-openscap-rhel8@sha256:1317d69bafd867f358b30168ca40dd49835696821d3f4b1244089f8d46dde3bf
    name: openscap
  - image: registry.redhat.io/compliance/openshift-compliance-rhel8-operator@sha256:10dcd18f4ddf73b295befde8fe720a49d1826d6415b822a4c11a933a8d7a72cb
    name: operator
  - image: registry.redhat.io/compliance/openshift-compliance-content-rhel8@sha256:7527f52d9ce5f22fe5453b23eb490ce1f7e64e0cf7112b13a294c4bc442ae35d
    name: profile
  - image: registry.redhat.io/compliance/openshift-compliance-content-rhel8@sha256:7527f52d9ce5f22fe5453b23eb490ce1f7e64e0cf7112b13a294c4bc442ae35d
    name: openshift-compliance-content-rhel8-7527f52d9ce5f22fe5453b23eb490ce1f7e64e0cf7112b13a294c4bc442ae35d-annotation
  version: 0.1.39

Comment 11 errata-xmlrpc 2021-09-07 06:05:14 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 (OpenShift Compliance Operator bug fix and enhancement 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/RHBA-2021:3214


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