Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-33332

[2240188] [CNV 4.13.12] CDIStorageProfilesIncomplete alerts for noobaa and rgw storage class along with other SC.

XMLWordPrintable

    • Storage Core Sprint 244, Storage Core Sprint 245, Storage Core Sprint 246
    • Medium

      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).

      1. 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

            agilboa@redhat.com Arnon Gilboa
            rhn-support-usurse Ulhas Surse
            Natalie Gavrielov Natalie Gavrielov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: