Bug 1899835 - catalog-operator repeatedly crashes with "runtime error: index out of range [0] with length 0" [NEEDINFO]
Summary: catalog-operator repeatedly crashes with "runtime error: index out of range [...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.6
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 4.7.0
Assignee: Nick Hale
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks: 1901871
TreeView+ depends on / blocked
 
Reported: 2020-11-20 07:50 UTC by Simon Krenger
Modified: 2022-10-11 09:27 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:35:02 UTC
Target Upstream Version:
Embargoed:
nhale: needinfo? (prdeshpa)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github operator-framework operator-lifecycle-manager pull 1876 0 None closed Bug 1899835: fix(catalog): be defensive about directly indexing catalog pods 2021-01-26 13:38:07 UTC
Red Hat Knowledge Base (Solution) 5589051 0 None None None 2020-12-02 02:11:58 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:35:31 UTC

Comment 6 Jian Zhang 2020-11-30 03:21:41 UTC
Cluster version is 4.7.0-0.nightly-2020-11-29-133728
[root@preserve-olm-env data]# oc  -n openshift-operator-lifecycle-manager exec catalog-operator-7c49448c5d-b8rm6 -- olm --version
OLM version: 0.17.0
git commit: 62c86d340fcbfe29bc049766dda52fa232695c35

LGTM, verify it. Didn't encounter this issue during the upgrading from 4.6 to 4.7.
[root@preserve-olm-env data]# oc get pods -n openshift-operator-lifecycle-manager 
NAME                                READY   STATUS    RESTARTS   AGE
catalog-operator-7c49448c5d-b8rm6   1/1     Running   0          90m
olm-operator-74cdc7c6bb-9sbj4       1/1     Running   0          90m
packageserver-685876878c-ftjsh      1/1     Running   0          83m
packageserver-685876878c-k64hc      1/1     Running   0          83m

Comment 18 errata-xmlrpc 2021-02-24 15:35:02 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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-2020:5633


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