Bug 1882057

Summary: Not able to select access modes for snapshot and clone
Product: OpenShift Container Platform Reporter: Kanika Murarka <kmurarka>
Component: Console Storage PluginAssignee: gowtham <gshanmug>
Status: CLOSED ERRATA QA Contact: Jilju Joy <jijoy>
Severity: low Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, hchiramm, jijoy, nthomas, ocs-bugs, rperiyas
Target Milestone: ---   
Target Release: 4.7.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-02-24 15:19:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
PVC clone page showing access mode not selected
none
Resore page showing access mode not selected none

Description Kanika Murarka 2020-09-23 17:27:59 UTC
Description of problem:
User not allowed to choose access modes while cloning a claim or while restoring a snapshot.

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


How reproducible:
100%

Steps to Reproduce:
1. Go to PVC page 
2. Kebab menu -> clone
3. no option to choose an access mode

Actual results:
No access mode selection

Expected results:
Should have a way to select access mode.

Additional info:

Comment 1 Humble Chirammal 2020-10-14 06:26:04 UTC
Kanika, this is not only in Snapshot and Clone, rather this option is not provided at PVC creation time too. Isnt it ?

Comment 2 Kanika Murarka 2020-10-14 08:19:30 UTC
Humble, we have access modes selection at PVC page, so it has to be provided only for snapshot and clone. 
For PVC page, we dont have volume mode selection, for which we have another BZ https://bugzilla.redhat.com/show_bug.cgi?id=1883587.

Comment 4 Jilju Joy 2020-12-18 09:38:43 UTC
Hi Kanika,

Access mode options are available while creating a PVC clone and while restoring a volume snapshot. But I am not able to select an access mode. I tried to click on all the 3 options but none of them gets selected.

Comment 5 Jilju Joy 2020-12-18 09:40:28 UTC
Created attachment 1740191 [details]
PVC clone page showing access mode not selected

Comment 6 Jilju Joy 2020-12-18 09:41:27 UTC
Created attachment 1740192 [details]
Resore page showing access mode not selected

Comment 7 Jilju Joy 2020-12-18 09:44:02 UTC
(In reply to Jilju Joy from comment #4)
> Hi Kanika,
> 
> Access mode options are available while creating a PVC clone and while
> restoring a volume snapshot. But I am not able to select an access mode. I
> tried to click on all the 3 options but none of them gets selected.

Tested in Cluster version 4.7.0-0.nightly-2020-12-18-031435
OCS version is 4.6.0

Comment 8 gowtham 2020-12-23 23:29:52 UTC
Fix PR: https://github.com/openshift/console/pull/7650

Comment 10 Jilju Joy 2021-01-15 08:08:03 UTC
Verified in:
Cluster version is 4.7.0-0.nightly-2021-01-14-211319
ocs-operator.v4.7.0-230

Access mode options are available while creating a PVC clone and while restoring a volume snapshot. One of the available access modes can be selected. Verified that the RWX access mode selection is disabled for RBD Filesystem mode PVC.

Comment 13 errata-xmlrpc 2021-02-24 15:19:20 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