Bug 2092464 - marketplace catalog defaults to v4.10
Summary: marketplace catalog defaults to v4.10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.11
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: 4.11.0
Assignee: Vu Dinh
QA Contact: kuiwang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-01 15:40 UTC by jkeister
Modified: 2022-08-10 11:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:15:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github operator-framework operator-marketplace pull 476 0 None open Revert "Bug 2092464: shift marketplace operator catalogs default to v4.11" 2022-06-02 19:37:05 UTC
Github operator-framework operator-marketplace pull 477 0 None open Bug 2092464: Update default catalogsource to use 4.11 images 2022-06-21 08:34:10 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:16:04 UTC

Description jkeister 2022-06-01 15:40:42 UTC
Description of problem:
https://github.com/operator-framework/operator-marketplace/blob/master/defaults/01_redhat_operators.cr.yaml#L10

redhat-operator-index version referenced for building marketplace container is v4.10, but needs to be v4.11.

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

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
pod pulled is v4.10

Expected results:
pod pulled is v4.11

Additional info:

Comment 1 jkeister 2022-06-01 15:59:08 UTC
Broadening scope to all default catalogs in this space, since the images now exist.

Comment 12 kuiwang 2022-06-22 07:07:22 UTC
pass on 4.11
---
[root@preserve-olm-env2 openshift-tests-private]# oc get catsrc -A
NAMESPACE               NAME                  DISPLAY               TYPE   PUBLISHER   AGE
openshift-marketplace   certified-operators   Certified Operators   grpc   Red Hat     20m
openshift-marketplace   community-operators   Community Operators   grpc   Red Hat     20m
openshift-marketplace   redhat-marketplace    Red Hat Marketplace   grpc   Red Hat     20m
openshift-marketplace   redhat-operators      Red Hat Operators     grpc   Red Hat     20m
[root@preserve-olm-env2 openshift-tests-private]# oc -n openshift-marketplace -o json get catsrc certified-operators|jq  '.spec.image'
"registry.redhat.io/redhat/certified-operator-index:v4.11"
[root@preserve-olm-env2 openshift-tests-private]# oc -n openshift-marketplace -o json get catsrc community-operators|jq  '.spec.image'
"registry.redhat.io/redhat/community-operator-index:v4.11"
[root@preserve-olm-env2 openshift-tests-private]# oc -n openshift-marketplace -o json get catsrc redhat-marketplace|jq  '.spec.image'
"registry.redhat.io/redhat/redhat-marketplace-index:v4.11"
[root@preserve-olm-env2 openshift-tests-private]# oc -n openshift-marketplace -o json get catsrc redhat-operators|jq  '.spec.image'
"registry.redhat.io/redhat/redhat-operator-index:v4.11"
[root@preserve-olm-env2 openshift-tests-private]# oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.11.0-0.nightly-2022-06-22-015220   True        False         8m42s   Cluster version is 4.11.0-0.nightly-2022-06-22-015220
[root@preserve-olm-env2 openshift-tests-private]# 

---

Comment 13 Jian Zhang 2022-06-22 13:10:28 UTC
Failed to pull registry.redhat.io/redhat/redhat-operator-index:v4.11, details:

mac:~ jianzhang$ oc get pods
NAME                                   READY   STATUS             RESTARTS      AGE
certified-operators-q8njl              1/1     Running            0             18m
community-operators-k8qwj              1/1     Running            0             18m
marketplace-operator-7577dd46b-2tgd6   1/1     Running            1 (14m ago)   22m
redhat-marketplace-hvgv2               1/1     Running            0             18m
redhat-operators-7dk2g                 0/1     ImagePullBackOff   0             8m4s
redhat-operators-qf5nj                 0/1     ImagePullBackOff   0             16s

  Warning  Failed          6m42s (x4 over 8m14s)  kubelet            Failed to pull image "registry.redhat.io/redhat/redhat-operator-index:v4.11": rpc error: code = Unknown desc = loading manifest for target platform: reading manifest sha256:b157936c98d803f684dac0339dcb6c958c61eb17b5122a067f1a4caf9af6cddc in registry.redhat.io/redhat/redhat-operator-index: StatusCode: 404, Not found
  Warning  Failed          6m42s (x4 over 8m14s)  kubelet            Error: ErrImagePull
  Warning  Failed          6m27s (x6 over 8m13s)  kubelet            Error: ImagePullBackOff
  Normal   BackOff         3m8s (x20 over 8m13s)  kubelet            Back-off pulling image "registry.redhat.io/redhat/redhat-operator-index:v4.11"

Change the status to ASSIGNED.

Comment 15 Vu Dinh 2022-06-22 20:33:47 UTC
Hi,

The index image was missing from the registry due to some other failures. It seems it is back now.

Please retest.

Thanks,
Vu

Comment 16 kuiwang 2022-06-23 01:36:03 UTC
pass
---
[root@preserve-olm-env2 bin]# oc get clusterversion
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.11.0-0.nightly-2022-06-22-190830   True        False         9m28s   Cluster version is 4.11.0-0.nightly-2022-06-22-190830
[root@preserve-olm-env2 bin]# oc get catsrc -A
NAMESPACE               NAME                  DISPLAY               TYPE   PUBLISHER   AGE
openshift-marketplace   certified-operators   Certified Operators   grpc   Red Hat     22m
openshift-marketplace   community-operators   Community Operators   grpc   Red Hat     22m
openshift-marketplace   redhat-marketplace    Red Hat Marketplace   grpc   Red Hat     22m
openshift-marketplace   redhat-operators      Red Hat Operators     grpc   Red Hat     22m
[root@preserve-olm-env2 bin]# oc -n openshift-marketplace -o json get catsrc certified-operators|jq  '.spec.image'
"registry.redhat.io/redhat/certified-operator-index:v4.11"
[root@preserve-olm-env2 bin]# oc -n openshift-marketplace -o json get catsrc community-operators|jq  '.spec.image'
"registry.redhat.io/redhat/community-operator-index:v4.11"
[root@preserve-olm-env2 bin]# oc -n openshift-marketplace -o json get catsrc redhat-marketplace|jq  '.spec.image'
"registry.redhat.io/redhat/redhat-marketplace-index:v4.11"
[root@preserve-olm-env2 bin]# oc -n openshift-marketplace -o json get catsrc redhat-operators|jq  '.spec.image'
"registry.redhat.io/redhat/redhat-operator-index:v4.11"
[root@preserve-olm-env2 bin]# oc -n openshift-marketplace get pods
NAME                                    READY   STATUS    RESTARTS      AGE
certified-operators-qp6q6               1/1     Running   0             23m
community-operators-wx6l4               1/1     Running   0             23m
marketplace-operator-567b597b45-4fhpv   1/1     Running   1 (17m ago)   26m
redhat-marketplace-2c2dc                1/1     Running   0             23m
redhat-operators-cgpwt                  1/1     Running   0             23m
[root@preserve-olm-env2 bin]# 

---

Comment 18 errata-xmlrpc 2022-08-10 11:15:48 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069


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