Bug 2240188 - [CNV 4.13.12] CDIStorageProfilesIncomplete alerts for noobaa and rgw storage class along with other SC.
Summary: [CNV 4.13.12] CDIStorageProfilesIncomplete alerts for noobaa and rgw storage ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.13.5
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
: 4.13.7
Assignee: Arnon Gilboa
QA Contact: Jenia Peimer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-22 11:06 UTC by Ulhas Surse
Modified: 2024-03-15 17:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-13 14:08:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-33332 0 None None None 2023-09-22 11:07:31 UTC

Description Ulhas Surse 2023-09-22 11:06:19 UTC
Description of problem:

- The CDI doesn't support object/bucket storage. However, a storage profile is created for these storage classes by the CDI.

~~~
oc get storageprofile openshift-storage.noobaa.io -o yaml |yq -y '.spec,.status'
{}
---
provisioner: openshift-storage.noobaa.io/obc
storageClass: openshift-storage.noobaa.io
~~~

- And we have the alert "CDIStorageProfilesIncomplete  Incomplete StorageProfiles exist, accessMode/volumeMode cannot be inferred by CDI for PVC population request" for these StorageProfiles.


- Due to this, the Openshift Virtualization status shows Degraded. 


Version-Release number of selected component (if applicable):

OpenShift Virtualization   4.13.12

How reproducible:

100%

Steps to Reproduce:

1. In an OpenShift cluster which is having openshift-storage.noobaa.io and ocs-storagecluster-ceph-rgw storage class, there will be alerts on incomplete storage profiles.

Actual results:

CDIStorageProfilesIncomplete alerts for noobaa and rgw storage class along with other storage class. 

Expected results:

Suppress the alerts for these StorageClass since they are not supported

Additional info:

1] After patching the storage classes with required fields, the alert clears and Operator becomes ready (green). 

  # oc  patch storageprofile <storage-profile-name> --type=merge -p '{"spec": {"claimPropertySets": [{"accessModes": ["ReadWriteOnce"], "volumeMode": "Filesystem"}]}}'

2] It was reported earlier but seems regression:

  https://bugzilla.redhat.com/show_bug.cgi?id=2169686

Comment 2 Arnon Gilboa 2023-11-22 16:28:57 UTC
@usurse can you please paste here the output of `oc get StorageProfile -A -o yaml`?

Comment 5 Arnon Gilboa 2023-12-13 14:08:37 UTC
@usurse as discussed, please reproduce it on >= v4.13.0.rhel9-898 or close it if can't reproduce.


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