Bug 1846220

Summary: custom display name did not change after updating on console
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: OLMAssignee: Bowen Song <bsong>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: aos-bugs, bsong, dmesser, ecordell, hasha, jiazha, jokerman, krizza, nhale, vdinh
Version: 4.5   
Target Milestone: ---   
Target Release: 4.3.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-07-07 14:48:25 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: 1841171    
Bug Blocks: 1851221    

Comment 4 Jian Zhang 2020-06-28 06:51:10 UTC
Cluster version is 4.3.0-0.nightly-2020-06-27-134851
mac:~ jianzhang$ oc -n openshift-operator-lifecycle-manager exec catalog-operator-6669cbf85d-tlfdf -- olm --version
OLM version: 0.13.0
git commit: b57391ec305810c6fbc5cf5583bafc20c13dabdb

There is only the "Custom" display on the UI for 4.3.z, not the CatalogSource Name. See the screenshot:
https://user-images.githubusercontent.com/15416633/85940270-02930a80-b94e-11ea-8f1d-8e5bdac7542d.png
So, the user would not encounter this issue. Anyway, I just check the "packagemanifest" in the backend.

1, Create a new CatalogSource on the Web console:
mac:~ jianzhang$ cat bug-cs.yaml 
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: custom-test
  namespace: openshift-marketplace
spec:
  displayName: custom-test22
  image: docker.io/aosqe/custom-keycloak:latest
  publisher: hasha
  sourceType: grpc
mac:~ jianzhang$ oc create -f bug-cs.yaml 
catalogsource.operators.coreos.com/custom-test created

2, Update the displayName "custom-test22" to "custom-test43"
mac:~ jianzhang$ oc edit catalogsource  custom-test
catalogsource.operators.coreos.com/custom-test edited

3, Check if the displayName updated:
mac:~ jianzhang$ oc get packagemanifest|grep keycloak
keycloak-operator                            custom-test43         6m35s
keycloak-operator                            Community Operators   59m

The displayed name has been upgraded to "custom-test43", LGTM, verify it.

Comment 6 errata-xmlrpc 2020-07-07 14:48:25 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, 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:2805