Bug 2080609 - Operator fails to install due to service name lookup failure
Summary: Operator fails to install due to service name lookup failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.10.z
Assignee: Alexander Greene
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On: 2074612
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-30 13:06 UTC by OpenShift BugZilla Robot
Modified: 2023-09-01 13:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-23 13:25:10 UTC
Target Upstream Version:
Embargoed:
agreene: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift operator-framework-olm pull 298 0 None open [release-4.10] Bug 2080609: Fix GRPC CheckRegistryServer function (#2756) 2022-05-03 13:26:42 UTC
Red Hat Product Errata RHBA-2022:2258 0 None None None 2022-05-23 13:25:34 UTC

Comment 2 Jian Zhang 2022-05-06 09:35:18 UTC
1, Create a cluster that contains the fixed PR via the cluster-bot.

mac:~ jianzhang$ oc get clusterversion
NAME      VERSION                                                   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.10.0-0.ci.test-2022-05-06-085926-ci-ln-2bz39r2-latest   True        False         2m      Cluster version is 4.10.0-0.ci.test-2022-05-06-085926-ci-ln-2bz39r2-latest

2, Create a CatalogSource without the `updateStrategy`
mac:~ jianzhang$ cat cs-bug.yaml 
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: bug-operator
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/olmqe/learn-operator-index:v2
  displayName: Bug Operators
  publisher: OLM QE
mac:~ jianzhang$ oc create -f cs-bug.yaml 
catalogsource.operators.coreos.com/bug-operator created

3, Delete its SA.
mac:~ jianzhang$ oc project openshift-marketplace
Now using project "openshift-marketplace" on server "https://api.ci-ln-2bz39r2-72292.origin-ci-int-gce.dev.rhcloud.com:6443".

mac:~ jianzhang$ oc get sa
NAME                   SECRETS   AGE
bug-operator           2         2m3s
builder                2         19m
certified-operators    2         20m
community-operators    2         20m
default                2         27m
deployer               2         19m
marketplace-operator   2         27m
redhat-marketplace     2         20m
redhat-operators       2         20m
mac:~ jianzhang$ oc delete sa bug-operator 
serviceaccount "bug-operator" deleted

4, It can be created as expected, LGTM, verify it.
mac:~ jianzhang$ oc get sa
NAME                   SECRETS   AGE
bug-operator           2         21s
builder                2         20m
certified-operators    2         20m
community-operators    2         20m
default                2         28m
deployer               2         20m
marketplace-operator   2         28m
redhat-marketplace     2         20m
redhat-operators       2         20m

Comment 5 Jian Zhang 2022-05-14 01:54:12 UTC
Change it to VERIFIED based on comment 2.

Comment 8 errata-xmlrpc 2022-05-23 13:25:10 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.10.15 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-2022:2258


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