Bug 2231076

Summary: ocs-operator crashes due to a panic cause by Nil pointer dereference
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: umanga <uchapaga>
Component: ocs-operatorAssignee: Nikhil Ladha <nladha>
Status: CLOSED ERRATA QA Contact: Petr Balogh <pbalogh>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.13CC: kramdoss, mparida, muagarwa, nberry, nigoyal, odf-bz-bot
Target Milestone: ---   
Target Release: ODF 4.15.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.15.0-87 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2246526 2246527 (view as bug list) Environment:
Last Closed: 2024-03-19 15:22:37 UTC Type: Bug
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:    
Bug Blocks: 2246526, 2246527    

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