Bug 1946320

Summary: Incorrect error message in Deployment Attach Storage Page
Product: OpenShift Container Platform Reporter: Bipul Adhikari <badhikar>
Component: Management ConsoleAssignee: Bipul Adhikari <badhikar>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.7CC: aos-bugs, jokerman, spadgett, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.8.0-0.nightly-2021-04-15-152737 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:57:19 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
scrshot of the error none

Description Bipul Adhikari 2021-04-05 19:36:36 UTC
Created attachment 1769355 [details]
scrshot of the error

Description of problem:
When PVCs are not present in the namespace associated with the deployment an error. 

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

How reproducible: 1/1


Steps to Reproduce:
1. Go to Deployments
2. Click Kebab; And Press Add storage

Actual results:
If no PVCs are present in the namespace, an Alert is shown with erroneous message.


Expected results:
Proper Message should be shown

Additional info:

Comment 3 Xiyun Zhao 2021-04-16 02:38:03 UTC
This bug has been verified and fixed on payload 4.8.0-0.nightly-2021-04-15-152737 

Verification Steps:
1. Go to Deployments
2. Click Kebab; And Press Add storage (make sure no PVCs is create for this namespace/project)
3. Check the message under the dropdown list of 'Select claim'
   The message should be shown as 'No PersistentVolumeClaim found'

Result:
3. The message is shown as 'No PersistentVolumeClaim found' as expected

Comment 6 errata-xmlrpc 2021-07-27 22:57:19 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