Bug 2002561

Summary: Failing tests: "volumeMode should fail in binding dynamic provisioned PV to PVC"
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: StorageAssignee: Jan Safranek <jsafrane>
Storage sub component: Kubernetes External Components QA Contact: Chao Yang <chaoyang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs
Version: 4.9   
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:51:28 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:
Bug Depends On: 1999578    
Bug Blocks:    

Comment 1 Jan Safranek 2021-09-09 11:05:43 UTC
Why fixing in 4.9: In the end, the AWS EFS CSI driver will provision a filesystem volume when it's asked for a block volume. The driver does not support block volumes and should return a proper error message. This will remove a failure from our CI and prevent some errors in a customer environment.

Comment 4 Chao Yang 2021-09-16 06:24:57 UTC
  Warning  ProvisioningFailed    2s (x5 over 17s)   efs.csi.aws.com_ip-10-0-167-123_92124779-8679-4b70-afa2-954f33e0371e  failed to provision volume with StorageClass "efs-sc": rpc error: code = InvalidArgument desc = Volume capabilities not supported: only filesystem volumes are supported
Passed with aws-efs-csi-driver-operator.4.9.0-202109132154

Comment 7 errata-xmlrpc 2021-10-18 17:51:28 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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-2021:3759