Bug 2276593 - StorageClaim controller fails to query the type of claim from CR and logs empty value
Summary: StorageClaim controller fails to query the type of claim from CR and logs emp...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: ocs-client-operator
Version: 4.16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ODF 4.16.0
Assignee: Leela Venkaiah Gangavarapu
QA Contact: Jilju Joy
URL:
Whiteboard: isf-provider
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-23 09:03 UTC by Leela Venkaiah Gangavarapu
Modified: 2024-07-17 13:20 UTC (History)
5 users (show)

Fixed In Version: 4.16.0-85
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-07-17 13:20:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github red-hat-storage ocs-client-operator pull 149 0 None open Bug 2276593: [release-4.16] controllers: define claimType before getting storageclass 2024-04-23 09:29:23 UTC
Red Hat Product Errata RHSA-2024:4591 0 None None None 2024-07-17 13:20:46 UTC

Description Leela Venkaiah Gangavarapu 2024-04-23 09:03:34 UTC
storageclaim controller continuously logs error "unsupported storage type: " during reconciles and fails to query the type of the storageclaim.

This created storageclaim to not reconcile properly failing to create storage/volumesnapshot classes.

Found in 4.16.0-84. QA verification only needs regression.

Comment 9 Jilju Joy 2024-05-03 05:46:47 UTC
Verified in version:
$ oc get csv -n openshift-storage-client
NAME                                        DISPLAY                            VERSION            REPLACES   PHASE
ocs-client-operator.v4.16.0-89.stable       OpenShift Data Foundation Client   4.16.0-89.stable              Succeeded
odf-csi-addons-operator.v4.16.0-89.stable   CSI Addons                         4.16.0-89.stable              Succeeded

$ oc get clusterversion
NAME      VERSION       AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.16.0-ec.5   True        False         17h     Cluster version is 4.16.0-ec.5

Verified on hosted cluster created using agent. Provider is ODF 4.16.0-89 on bare metal.

No logs "unsupported storage type"
$ oc logs ocs-client-operator-controller-manager-59d94696b4-6t54z -c manager| grep "unsupported storage type"
$ 

Storageclaims Ready and storageclasses are created.
$ oc get storageclaim 
NAME                      STORAGETYPE   STORAGEPROFILE   STORAGECLIENTNAME   PHASE
storage-client-ceph-rbd   block                          storage-client      Ready
storage-client-cephfs     sharedfile                     storage-client      Ready

$ oc get sc
NAME                      PROVISIONER                             RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
storage-client-ceph-rbd   openshift-storage.rbd.csi.ceph.com      Delete          Immediate           true                   17h
storage-client-cephfs     openshift-storage.cephfs.csi.ceph.com   Delete          Immediate           true                   17h

Comment 10 errata-xmlrpc 2024-07-17 13:20:42 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.16.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:4591


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