Bug 2231076 - ocs-operator crashes due to a panic cause by Nil pointer dereference
Summary: ocs-operator crashes due to a panic cause by Nil pointer dereference
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-operator
Version: 4.13
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ODF 4.15.0
Assignee: Nikhil Ladha
QA Contact: Petr Balogh
URL:
Whiteboard:
Depends On:
Blocks: 2246526 2246527
TreeView+ depends on / blocked
 
Reported: 2023-08-10 13:31 UTC by umanga
Modified: 2024-03-19 15:22 UTC (History)
6 users (show)

Fixed In Version: 4.15.0-87
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2246526 2246527 (view as bug list)
Environment:
Last Closed: 2024-03-19 15:22:37 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-operator pull 2232 0 None Merged Use context passed via handler instead of reconciler's context 2023-10-27 06:51:11 UTC
Red Hat Product Errata RHSA-2024:1383 0 None None None 2024-03-19 15:22:48 UTC

Description umanga 2023-08-10 13:31:51 UTC
Description of problem (please be detailed as possible and provide log
snippests):

When upgrading from v4.12.z to v4.13.z, ocs-operator crashes. But, it eventually restarts and works fine. It might even be seen on fresh installs.

Version of all relevant components (if applicable):
v4.13.z

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
No. It does not affect functionality.

Is there any workaround available to the best of your knowledge?
Not needed. It recovers automatically.

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes.

Can this issue reproduce from the UI?
Yes.

If this is a regression, please provide more details to justify this:
Probably, but it does not affect functionality.

Steps to Reproduce:
1. Install ODF v4.12.z
2. Upgrade to ODF v4.13.z
3. Watch ocs-operator pod for restarts.
4. After it restarts, check it's previous logs `oc logs -p ocs-operator-`


Actual results:
ocs-operator crashes and restarts once.

Expected results:
ocs-operator should not crash and restart without reason.

Additional info:

Comment 10 errata-xmlrpc 2024-03-19 15:22:37 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: Red Hat OpenShift Data Foundation 4.15.0 security, enhancement, & 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/RHSA-2024:1383


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