Bug 1953331 - The compliance operator brew Bundle image does not available for OCP4.8
Summary: The compliance operator brew Bundle image does not available for OCP4.8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Compliance Operator
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.8.0
Assignee: Matt Rogers
QA Contact: Prashant Dhamdhere
URL:
Whiteboard:
Depends On:
Blocks: 1946512
TreeView+ depends on / blocked
 
Reported: 2021-04-25 13:28 UTC by xiyuan
Modified: 2021-07-07 11:31 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-07 11:29:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:2652 0 None None None 2021-07-07 11:31:09 UTC

Description xiyuan 2021-04-25 13:28:59 UTC
Description of problem:
The compliance operator brew Bundle image does not available for OCP4.8
Please help to build compliance operator brew Bundle image for OCP4.8 

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-24-175929

Steps to Reproduce:
1. Get the latest compliance operator Brew bundle images 

Actual results:
The compliance operator brew Bundle image does not available for OCP4.8
 
Expected results:
The compliance operator Bundle image should be available on brew for OCP4.8


Additional info:
Attached link for compliance operator brew bundle images: https://brewweb.engineering.redhat.com/brew/packageinfo?packageID=75245

Comment 1 Jakub Hrozek 2021-04-30 15:59:42 UTC
IIRC Matt is working on the builds now

Comment 4 xiyuan 2021-05-24 10:38:54 UTC
Verification pass with 4.8.0-0.nightly-2021-05-21-233425 and compliance-operator.v0.1.32

The bundle image for compliance operator of 4.8 is available at https://brewweb.engineering.redhat.com/brew/packageinfo?packageID=79792. The package name has been updated to openshift-compliance-operator-bundle-container

$ oc create -f - << EOF
> apiVersion: operators.coreos.com/v1alpha1
> kind: CatalogSource
> metadata:
>   name: compliance-operator  
>   namespace: openshift-marketplace
> spec:
>   displayName: openshift-compliance-operator  
>   publisher: Red Hat
>   sourceType: grpc
>   image: quay.io/openshift-qe-optional-operators/compliance-operator-index:v4.8
> EOF
catalogsource.operators.coreos.com/compliance-operator created

$ oc get packagemanifests |grep compliance
compliance-operator                                  Red Hat Operators               8h
openshift-compliance-operator                        openshift-compliance-operator   23s
compliance-operator                                  Production Operators            7h51m

$ oc get packagemanifests openshift-compliance-operator -o yaml | tail
      - registry.redhat.io/compliance/openshift-compliance-rhel8-operator@sha256:ce58bccec47e285e2eb5725ff3a7790bbd219340b6e10d80d0f15c17b1410e5b
      - registry.redhat.io/compliance/openshift-compliance-openscap-rhel8@sha256:605915dbdd813a34ff2eb1d214209343c25e5d7cd2613ae7a3a4ffefa17fb453
      - registry.redhat.io/compliance/openshift-compliance-content-rhel8@sha256:144eb411a3816a2bcb0ea544de64ce2835f39c1f5faf8ac2d7c302eaec20770a
      version: 0.1.32
    name: "4.8"
  defaultChannel: "4.8"
  packageName: openshift-compliance-operator
  provider:
    name: Red Hat Inc.
    url: www.redhat.com
[xiyuan@MiWiFi-RA69-srv openshift-tests-private]$ oc create -f - << EOF
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: compliance-operator  
  namespace: openshift-marketplace
spec:
  displayName: openshift-compliance-operator  
  publisher: Red Hat
  sourceType: grpc
  image: quay.io/openshift-qe-optional-operators/compliance-operator-index:v$1
---
apiVersion: v1
kind: Namespace
metadata:
  name: openshift-compliance
  annotations:
    openshift.io/node-selector: ""
---
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
   name: openshift-compliance-abcd
   namespace: openshift-compliance
spec:
   targetNamespaces:
   - openshift-compliance
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
   name: openshift-compliance-operator
   namespace: openshift-compliance
spec:
   channel: "4.8"
   Approval: Automatic
   name: openshift-compliance-operator
   source: compliance-operator 
   sourceNamespace: openshift-marketplace
EOF
^C
[xiyuan@MiWiFi-RA69-srv openshift-tests-private]$  oc create -f - << EOF
> apiVersion: v1
> kind: Namespace
> metadata:
>   name: openshift-compliance
>   annotations:
>     openshift.io/node-selector: ""
> ---
> apiVersion: operators.coreos.com/v1
> kind: OperatorGroup
> metadata:
>    name: openshift-compliance-abcd
>    namespace: openshift-compliance
> spec:
>    targetNamespaces:
>    - openshift-compliance
> ---
> apiVersion: operators.coreos.com/v1alpha1
> kind: Subscription
> metadata:
>    name: openshift-compliance-operator
>    namespace: openshift-compliance
> spec:
>    channel: "4.8"
>    Approval: Automatic
>    name: openshift-compliance-operator
>    source: compliance-operator 
>    sourceNamespace: openshift-marketplace
> EOF
namespace/openshift-compliance created
operatorgroup.operators.coreos.com/openshift-compliance-abcd created
subscription.operators.coreos.com/openshift-compliance-operator created
$ oc project openshift-compliance
Already on project "openshift-compliance" on server "https://api.xiyuan211.qe.devcluster.openshift.com:6443".
]$ oc get ip
NAME            CSV                           APPROVAL    APPROVED
install-q2klc   compliance-operator.v0.1.32   Automatic   true
$ oc get csv
NAME                          DISPLAY               VERSION   REPLACES   PHASE
compliance-operator.v0.1.32   Compliance Operator   0.1.32               Succeeded
$

Comment 8 errata-xmlrpc 2021-07-07 11:29:56 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 (Compliance Operator version 0.1.35 for OpenShift Container Platform 4.6-4.8), 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:2652


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