Bug 1887380 - Unsupported access mode should not be available to select when creating pvc by aws-ebs-csi-driver(gp2-csi) from web-console
Summary: Unsupported access mode should not be available to select when creating pvc b...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.7.0
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks: 1887551
TreeView+ depends on / blocked
 
Reported: 2020-10-12 10:04 UTC by Wei Duan
Modified: 2021-02-24 15:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Since 4.6 new provisioners names will be without the 'kubernetes.io/' prefix. Consequence: RWX and RWO access mode can be selected when creating pvc by aws-ebs-csi-driver(gp2-csi) from web-console Fix: Add additional provisioners to their AccessMode mapping. Result: RWX and RWO access mode is not available when creating pvc by aws-ebs-csi-driver(gp2-csi) from web-console
Clone Of:
Environment:
Last Closed: 2021-02-24 15:24:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
unsupport access mode (83.27 KB, image/png)
2020-10-12 10:04 UTC, Wei Duan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6902 0 None closed Bug 1887380: Add additional provisioners to their AccessMode mapping 2021-01-15 12:46:41 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:25:28 UTC

Description Wei Duan 2020-10-12 10:04:58 UTC
Created attachment 1720910 [details]
unsupport access mode

Description of problem:
When creating a pvc from web-console in aws cluster, if choose gp2-csi as storageclass, we can select the RWX and RWO access mode while they are not supported for aws-ebs-csi-driver(gp2-csi),  
Please make them unavailable like gp2.

Version-Release number of selected component (if applicable):
4.6.0-0.nightly-2020-10-10-041109

How reproducible:
Always

Steps to Reproduce:
See attachment

Actual results:
RWX and RWO access mode could be selected when creating pvc by aws-ebs-csi-driver(gp2-csi) from web-console

Expected results:
RWX and RWO access mode should not be available when creating pvc by aws-ebs-csi-driver(gp2-csi) from web-console

Comment 1 Jan Safranek 2020-10-12 15:19:38 UTC
In 4.6 we added few new CSI drivers. Listing their supported volume modes below:

manila.csi.openstack.org: ['ReadWriteOnce', 'ReadWriteMany', 'ReadOnlyMany']
ebs.csi.aws.com:  ['ReadWriteOnce']
csi.ovirt.org: ['ReadWriteOnce']

Comment 3 Yanping Zhang 2020-10-13 08:15:29 UTC
Checked on ocp 4.7 with payload 4.7.0-0.ci-2020-10-12-222453.
Checked on pvc creation page, when choose aws-ebs-csi-driver(gp2-csi) storageclass, only 'ReadWriteOnce' mode can be selected now.
Move the bug to verified.

Comment 6 errata-xmlrpc 2021-02-24 15:24:44 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.7.0 security, bug fix, and enhancement 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-2020:5633


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