Bug 1973336 - Verify "Only {volumeMode} volume mode is available for {storageClass} with {accessMode} access mode" displays correctly
Summary: Verify "Only {volumeMode} volume mode is available for {storageClass} with {a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.9.0
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-17 16:27 UTC by ralpert
Modified: 2021-10-18 17:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:35:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9303 0 None open Bug 1973336: Use double brackets for Volume Mode locales 2021-06-21 06:56:59 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:35:44 UTC

Description ralpert 2021-06-17 16:27:15 UTC
Description of problem:
We should verify that "Only {volumeMode} volume mode is available for {storageClass} with {accessMode} access mode" displays correctly in the console-app plugin. We usually need to use double brackets.

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

How reproducible:
Always

Steps to Reproduce:
1. Look at "Only {volumeMode} volume mode is available for {storageClass} with {accessMode} access mode" in console-app.json

Actual results:
Single quotes - the variables may not display correctly.

Expected results:
The variables display correctly.

Additional info:

Comment 2 Yadan Pei 2021-06-29 03:07:16 UTC
1. Install `OpenShift Container Storage` operator
2. create Storage Cluster CR
3. wait for new storageclass is provisioned
$ oc get sc
NAME                          PROVISIONER                             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
azurefile-ocp                 kubernetes.io/azure-file                Delete          WaitForFirstConsumer   false                  46m
managed-premium (default)     kubernetes.io/azure-disk                Delete          WaitForFirstConsumer   true                   86m
ocs-storagecluster-ceph-rbd   openshift-storage.rbd.csi.ceph.com      Delete          Immediate              true                   86s
ocs-storagecluster-cephfs     openshift-storage.cephfs.csi.ceph.com   Delete          Immediate              true  

$ oc get sc ocs-storagecluster-cephfs -o yaml
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  annotations:
    description: Provides RWO and RWX Filesystem volumes
  creationTimestamp: "2021-06-29T02:57:40Z"
  name: ocs-storagecluster-cephfs
  resourceVersion: "53972"
  uid: 9b1a4f95-559a-4641-a1c2-a5ef70df6f3a
parameters:
  clusterID: openshift-storage
  csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
  csi.storage.k8s.io/controller-expand-secret-namespace: openshift-storage
  csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
  csi.storage.k8s.io/node-stage-secret-namespace: openshift-storage
  csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
  csi.storage.k8s.io/provisioner-secret-namespace: openshift-storage
  fsName: ocs-storagecluster-cephfilesystem
provisioner: openshift-storage.cephfs.csi.ceph.com
reclaimPolicy: Delete
volumeBindingMode: Immediate

4. Goes to PVC creation page and choose 'ocs-storagecluster-cephfs' as Storage Class name, we can see ONLY 'Filesystem' value in 'Volume mode', click on the question mark, it will show a tooltip with message: Only Filesystem volume mode is available for ocs-storagecluster-cephfs with ReadWriteOnce access mode
5. Set browser language to Chinese, Korean and Japanese, check the translation. When we switch language the tooltip message doesn't change accordingly, it is still shown with English


Assign back for update, this is checked against 4.9.0-0.nightly-2021-06-28-114004

Comment 3 Yadan Pei 2021-06-30 07:22:49 UTC
since the original issue described in the BZ is resolved(now the text is showing correctly) moving to VERIFIED

will track localization issue in separate BZ

Comment 6 errata-xmlrpc 2021-10-18 17:35:03 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


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