Bug 1939815

Summary: Change the Warning Alert for Encrypted PVs in Create StorageClass(provisioner:RBD) page
Product: OpenShift Container Platform Reporter: Neha Berry <nberry>
Component: Console Storage PluginAssignee: gowtham <gshanmug>
Status: CLOSED ERRATA QA Contact: Rachael <rgeorge>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: afrahman, anbehl, aos-bugs, gshanmug, nthomas, rgeorge
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1942864 (view as bug list) Environment:
Last Closed: 2021-07-27 22:53:48 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:
Bug Depends On:    
Bug Blocks: 1942864    
Attachments:
Description Flags
UI screenshot none

Description Neha Berry 2021-03-17 06:01:07 UTC
Created attachment 1763911 [details]
UI screenshot

Description of problem:
=============================
Raising this BZ after a discussion in the chat thread - https://chat.google.com/room/AAAA76Pbvwc/8MtnY_Bs4Ic

Problem :1
--------------
For enabling PV encryption during Storageclass creation, we get following Alert on the screen: 

>>Warning alert:Encrypted PVs cannot be cloned expanded or create snapshots.

IMHO, the above message needs to be refined. 

a)atleast we need comma between cloned and expanded .. 

b) and if we break the sentence and analyse,then the statement "Encrypted PVs cannot be create snapshots"  is not a right statement. hence we need a refinement in the overall message.

Problem 2:
---------------
Also, we have seen that we are able to create snapshot and clone of encrypted PVs, just that the keys are not created.

So, isn't the message misleading ? Should we block creating clones, snapshots and expanding encrypted PVs from UI ?



Version-Release number of selected component (if applicable):
==============================================================
OCS 4.7  + OCP 4.7

How reproducible:
=====================
Always


Steps to Reproduce:
=========================
1. Navigate to Storage->Storageclass 
2. Click on Create New Storage Class 
3. In the page, select the rbd provisioner from the drop-down list
4. Observe that option to enable PV encryption and adding KMS details(if not already added during storagecluster creation) shows up

Actual results:
======================
The Warning alert message is - Warning alert:Encrypted PVs cannot be cloned expanded or create snapshots.

Expected results:
========================
Message needs refinement



Additional info:

Comment 8 errata-xmlrpc 2021-07-27 22:53:48 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.8.2 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:2438

Comment 9 Red Hat Bugzilla 2023-09-15 01:03:31 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days