Bug 1999648
| Summary: | Remove remaining Storage Class in console-app | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | ralpert |
| Component: | Management Console | Assignee: | ralpert |
| Status: | CLOSED ERRATA | QA Contact: | Xiyun Zhao <xiyuzhao> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 4.9 | CC: | aos-bugs, jokerman, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.9.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-10-18 17:50:40 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: | |||
|
Description
ralpert
2021-08-31 13:44:28 UTC
This bug has been fixed and verified on payload 4.9.0-0.nightly-2021-09-05-192114
Prepare data for the verification:
1. Create PersistentVolumeClaim
$ cat pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: testpvc
namespace: default
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 1Gi
$ oc apply -f pvc.yaml
2. Create Deployment Configs
$ cat dc.yaml
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
name: example2
namespace: default
spec:
selector:
app: httpd
replicas: 3
template:
metadata:
labels:
app: httpd
spec:
containers:
- name: httpd
image: >-
image-registry.openshift-image-registry.svc:5000/openshift/httpd:latest
ports:
- containerPort: 8080
$ oc apply -f dc.yaml
3. Add volumes to the deployment config
$ oc set volume dc/example2 --add --type=pvc --claim-name=testpvc --mount-path=/data
deploymentconfig.apps.openshift.io/example2 volume updated
Verification Step:
1. Login OCP as administrator, navigate to Storage -> PersistentVolumeClaims page
2. Find the PVC created on Step1 of Prepare data section, click the Action button (three-dot) on the end of the line, and choose the option of 'Clone PVC'
3. Verify if the string for "Storage Class" is updated to "StorageClass"
Result:
3. The space has been removed, now the string of "StorageClass" is shown on the PVC details part on the "Clone PVC" page
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 |