Bug 1894163

Summary: OperatorHub displaying old content
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: OLMAssignee: Vu Dinh <vdinh>
OLM sub component: OLM QA Contact: Bruno Andrade <bandrade>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: anbhatta, bandrade, dkulkarn, ecordell, hbraun, pamoedom, vdinh, ychoukse
Version: 4.6   
Target Milestone: ---   
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: Environment:
Last Closed: 2020-11-16 14:37:43 UTC Type: ---
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: 1891995    
Bug Blocks:    

Comment 7 Jian Zhang 2020-11-09 03:50:45 UTC
Plus:
Upgrade to 4.6.0-0.nightly-2020-11-07-035509 from 4.5.0-0.nightly-2020-11-07-002125

[root@preserve-olm-env data]# oc adm upgrade --to-image registry.svc.ci.openshift.org/ocp/release@sha256:b4fb7b51fdfee6d1a3c296a7cd1bc8307f44f9718f16f200534d571f70033199 --allow-explicit-upgrade --force --allow-upgrade-with-warnings
[root@preserve-olm-env data]# oc get operatorsource
error: the server doesn't have a resource type "operatorsource"
[root@preserve-olm-env data]# oc get catalogsource
NAME                  DISPLAY               TYPE   PUBLISHER   AGE
certified-operators   Certified Operators   grpc   Red Hat     123m
community-operators   Community Operators   grpc   Red Hat     123m
redhat-marketplace    Red Hat Marketplace   grpc   Red Hat     123m
redhat-operators      Red Hat Operators     grpc   Red Hat     123m
[root@preserve-olm-env data]# oc get svc -o wide
NAME                           TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE    SELECTOR
certified-operators            ClusterIP   172.30.211.64    <none>        50051/TCP           56m    olm.catalogSource=certified-operators
community-operators            ClusterIP   172.30.236.120   <none>        50051/TCP           56m    olm.catalogSource=community-operators
marketplace-operator-metrics   ClusterIP   172.30.142.130   <none>        8383/TCP,8081/TCP   136m   name=marketplace-operator
redhat-marketplace             ClusterIP   172.30.113.56    <none>        50051/TCP           56m    olm.catalogSource=redhat-marketplace
redhat-operators               ClusterIP   172.30.156.68    <none>        50051/TCP           56m    olm.catalogSource=redhat-operators


We can get the 4.6 version for an operator.
[root@preserve-olm-env data]# oc get packagemanifest cluster-logging -o yaml|grep version
          version: v1
          version: v1
      version: 4.6.0-202010201329.p0

Comment 10 errata-xmlrpc 2020-11-16 14:37:43 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 Container Platform 4.6.4 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/RHBA-2020:4987