Bug 2169686 - CDIStorageProfilesIncomplete alerts for noobaa and rgw storage class
Summary: CDIStorageProfilesIncomplete alerts for noobaa and rgw storage class
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.12.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 4.12.2
Assignee: Adam Litke
QA Contact: Yan Du
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-14 10:32 UTC by nijin ashok
Modified: 2023-09-19 04:33 UTC (History)
3 users (show)

Fixed In Version: CNV v4.12.2-7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-03-29 17:36:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt containerized-data-importer pull 2476 0 None Merged Suppress alerting for unsupported provisioners 2023-02-15 14:44:22 UTC
Github kubevirt containerized-data-importer pull 2591 0 None Merged [release-v1.55] Suppress alerting for unsupported provisioners 2023-02-21 07:12:33 UTC
Red Hat Issue Tracker CNV-25523 0 None None None 2023-02-14 10:33:18 UTC
Red Hat Product Errata RHEA-2023:1523 0 None None None 2023-03-29 17:36:20 UTC

Description nijin ashok 2023-02-14 10:32:27 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.


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

OpenShift Virtualization   4.12.0

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.

Expected results:

Suppress the alerts for these StorageClass since they are not supported

Additional info:

Comment 3 Yan Du 2023-03-16 07:54:47 UTC
Test on CNV-v4.12.2-16, not see CDIStorageProfilesIncomplete alerts for noobaa and rgw storage class.

$ oc get storageprofile openshift-storage.noobaa.io  ocs-external-storagecluster-ceph-rgw
NAME                                   AGE
openshift-storage.noobaa.io            1h6m
ocs-external-storagecluster-ceph-rgw   1h6m
$ oc get sc  openshift-storage.noobaa.io  ocs-external-storagecluster-ceph-rgw 
NAME                                   PROVISIONER                             RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
openshift-storage.noobaa.io            openshift-storage.noobaa.io/obc         Delete          Immediate           false                  1h6m
ocs-external-storagecluster-ceph-rgw   openshift-storage.ceph.rook.io/bucket   Delete          Immediate           false                  1h6m

Comment 13 errata-xmlrpc 2023-03-29 17:36:10 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 (OpenShift Virtualization 4.12.2 Images), 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/RHEA-2023:1523

Comment 14 Red Hat Bugzilla 2023-09-19 04:33:34 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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