Bug 2015375 - PVC creation for ODF/IBM Flashsystem shows incorrect types
Summary: PVC creation for ODF/IBM Flashsystem shows incorrect types
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: 4.11.0
Assignee: Jakub Hadvig
QA Contact: Xiyun Zhao
URL:
Whiteboard:
Depends On:
Blocks: 2073477
TreeView+ depends on / blocked
 
Reported: 2021-10-19 04:50 UTC by Paul Cuzner
Modified: 2022-08-10 10:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 10:38:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 10285 0 None open Bug 2015375: Add IBM Flashsystem volume types 2022-04-06 11:13:27 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:38:47 UTC

Description Paul Cuzner 2021-10-19 04:50:41 UTC
Description of problem (please be detailed as possible and provide log
snippests):
When creating a PVC via the UI, for a storageclass related to the IBM FlashSystem array, the volume types of RWO and RWX are both available


Version of all relevant components (if applicable):
4.9


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
No - it's just a visual inconsistency


Is there any workaround available to the best of your knowledge?
No


Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes


Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:
N/A

Steps to Reproduce:
1. Create a PVC
2. Select the IBM flashsystem based storageclass
3. Observe the volume types are RWO and RWX...only RWO makes sense for IBM Flashsystem



Actual results:
PVC flow shows invalid options in the UI 


Expected results:
Only valid options for the storageclass should be shown to prevent unexpected behaviour.


Additional info:

Comment 8 Jakub Hadvig 2021-10-19 14:32:57 UTC
Hey Paul
do you know what should be the name of the annotation for the IBM Flashsystem provisioner? So we can add it into https://github.com/openshift/console/blob/master/frontend/public/components/storage/shared.ts#L25

Comment 9 Paul Cuzner 2021-10-20 02:46:14 UTC
The provisioner value for the Flashsystem is block.csi.ibm.com

Comment 14 Xiyun Zhao 2022-04-21 11:13:34 UTC
This issue has been verified on payload 4.11.0-0.nightly-2022-04-16-163450

Verification Step:
1. Login OCP, prepare data for testing
   1) Install "IBM block storage CSI driver" operator on Operators -> OperatorHub page
   2) Create a "IBMBlockSCI" for the operator, on Operator details-> IBM block storage CSI driver Tab
   3) Create a StorageClasses with provisioner "block.csi.ibm.com", and keep default value for other parameter
      Note: Provisioner of block.csi.ibm.com will be shown after IBMBlockSCI created successfully
2. Create PVC on Storage -> PersistentVolumeClaims page, use IBM flashsystem based storageclass which created on Step1-3)
3. Check the option of Shared access (RWX) is disabled for IBM flashsystem based storageclass on 'Access mode' part

Result:
3. Shared access (RWX) is disabled for IBM flashsystem based storageclass, only Single user (RWO) can be selected
   PVC with IBM flashsystem based storageclass can created successfully

Comment 15 Xiyun Zhao 2022-04-21 11:24:59 UTC
Additional information:
How to create an external IBM flashsystem Storage class
 1. Install operator "OpenShift Data Foundation"
 2. Create a Storage system on Operator Details -> StorageSystem Tab
    1) Choose 'Connect an external storage platform'(Default value) on Step 1-Backing storage 
       Select IBM FlashSystem Storage on the dropdown list
    2) Provide the necessary info on Step2 - Create storage class
       StorageClass name, IPaddress(Rest API IP address of IBM FlashSystem.), Username, Password, Pool name
Reference:  https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.9/html/deploying_openshift_data_foundation_in_external_mode/deploy-openshift-data-foundation-using-ibm-flashsystem

Comment 19 errata-xmlrpc 2022-08-10 10:38:21 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 Container Platform 4.11.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-2022:5069


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