Bug 2220843

Summary: [4.12]Missing StorageProfile defaults for IBM and AWS EFS CSI provisioners
Product: Container Native Virtualization (CNV) Reporter: Arnon Gilboa <agilboa>
Component: StorageAssignee: Arnon Gilboa <agilboa>
Status: CLOSED ERRATA QA Contact: dalia <dafrank>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.12.0CC: dafrank
Target Milestone: ---   
Target Release: 4.12.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.12.5-16 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 14:51:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arnon Gilboa 2023-07-06 09:31:54 UTC
StorageProfiles ease the burden of selecting the optimal PVC parameters (AccessMode and VolumeMode) for known CSI provisioners. As we encounter new provisioners we should determine the correct values and update our internal table in CDI so that our customers will get a better out of the box experience. Having a correct storage profile can also make VM provisioning order of magnitude faster (host copy vs. CSI clones). Several customer support cases have already arisen because the OCP certified provisioner had an empty or incorrect admin provided storage profile.

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

How reproducible:
100%

Steps to Reproduce:
Create DV with storage class which has no StorageProfile defaults (e.g. AWS ElasticFileSystem provisioner efs.csi.aws.com)

Actual results:
Empty StorgaeProfile is created

Expected results:
StorgaeProfile with default AccessMode and VolumeMode should be created

Additional info:

Comment 1 dalia 2023-07-31 10:05:08 UTC
verified on OpenShift Virtualization 4.12.5.

steps:

Create new StorageClass with block.csi.ibm.com/efs.csi.aws.com

Check storage profile - access move and volume mode as expected.

Comment 7 errata-xmlrpc 2023-08-01 14:51:33 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: OpenShift Virtualization 4.12.5 security and 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-2023:4421