Bug 2314404 - [csi-addons] csi-addons operator pod goes into CLBO state
Summary: [csi-addons] csi-addons operator pod goes into CLBO state
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: csi-addons
Version: 4.17
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ODF 4.17.0
Assignee: Rakshith
QA Contact: Jilju Joy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-24 09:43 UTC by Rakshith
Modified: 2024-10-30 14:35 UTC (History)
3 users (show)

Fixed In Version: 4.17.0-109
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-10-30 14:35:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github csi-addons kubernetes-csi-addons pull 685 0 None Merged controller/pvc: add checks for nil/empty pvc.Spec.StorageClassName 2024-09-24 09:43:19 UTC
Github red-hat-storage kubernetes-csi-addons pull 207 0 None open BUG 2314404: controller/pvc: add checks for nil/empty pvc.Spec.StorageClassName 2024-09-24 14:47:48 UTC
Red Hat Issue Tracker OCSBZM-9357 0 None None None 2024-10-10 11:17:09 UTC
Red Hat Product Errata RHSA-2024:8676 0 None None None 2024-10-30 14:35:56 UTC

Description Rakshith 2024-09-24 09:43:19 UTC
Description of problem (please be detailed as possible and provide log
snippests):

csi-addons-controller-manager pod is going into CLBO state.

Version of all relevant components (if applicable):


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?
No

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?
-

If this is a regression, please provide more details to justify this:
yes, indexer fix was added in 4.17

Steps to Reproduce:
You can get a storageclassName to nil by
- create a PVC with a sc
- edit PV to set persistentVolumeReclaimPolicy: Retain
- backup PVC and remove SCName, .status and everything other than name/namespace in .metadata
- backup PV and remove SCName, .spec.Claimref , .status and everything other than name/namespace in .metadata
- delete pvc & pv from cluster
- apply the backed up pv yaml and then pvc yaml

Delete the csi-addons pod, watch it go into CLBO state.

Actual results:
csi-addons pod goes into CLBO state.

Expected results:
csi-addons pod should run normally.

Additional info:

refer to 
- https://github.ibm.com/ProjectAbell/abell-tracking/issues/41847
- https://github.com/csi-addons/kubernetes-csi-addons/pull/685
-

Comment 6 errata-xmlrpc 2024-10-30 14:35:53 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.17.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:8676


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