Bug 2102098 - [OSD] There is no error message shown on node label edit modal
Summary: [OSD] There is no error message shown on node label edit modal
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.12.0
Assignee: Jakub Hadvig
QA Contact: Yanping Zhang
URL:
Whiteboard:
: 2108030 (view as bug list)
Depends On:
Blocks: 2108372
TreeView+ depends on / blocked
 
Reported: 2022-06-29 10:30 UTC by Yanping Zhang
Modified: 2023-01-17 19:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
* Previously, when selecting the `edit` label from the action list on the OpenShift Dedicated node page, no response was elicited and a web hook error was returned. This issue has been fixed so that the error message is only returned when editing fails. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2102098[*BZ#2102098*])
Clone Of:
Environment:
Last Closed: 2023-01-17 19:50:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
web-hook-error-in-developer-console (249.41 KB, image/png)
2022-06-29 10:30 UTC, Yanping Zhang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11817 0 None open Bug 2102098: There is no error message shown on node label edi... 2022-07-13 13:11:11 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:51:16 UTC

Description Yanping Zhang 2022-06-29 10:30:12 UTC
Created attachment 1893358 [details]
web-hook-error-in-developer-console

Description of problem:
On OSD console, on one node page, select edit label from action list, when save new label, there is no response on the modal, could see a web hook error from developer console.

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

How reproducible:
Always

Steps to Reproduce:
1.Login OSD console with cluster admin user.
2.On one node page, select edit label from action list, save new label.
3.

Actual results:
2. There is no response after click "Save". There is 403 forbidden error in developer console.

Expected results:
2. Should show error message on the modal after click "Save" button

Additional info:

Comment 1 Jakub Hadvig 2022-07-08 07:52:35 UTC
@Giao so the overall issue is that we are not rendering the error as part of the modal but rather closing the modal. I could reproduce this issue in 4.12 as well.

Comment 2 Jakub Hadvig 2022-07-18 10:52:11 UTC
*** Bug 2108030 has been marked as a duplicate of this bug. ***

Comment 5 Yanping Zhang 2022-07-22 08:28:51 UTC
Tested on ocp 4.12 cluster with payload 4.12.0-0.nightly-2022-07-21-192844. 
Edit label on node page, when the label is not valid, click on "Save" button, there will be error message shown on the modal. Refer to attachment.

Comment 9 errata-xmlrpc 2023-01-17 19:50:54 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.12.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-2022:7399


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