Bug 2102098

Summary: [OSD] There is no error message shown on node label edit modal
Product: OpenShift Container Platform Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: stevsmit, yapei, yufchang
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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*])
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:50:54 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: 2108372    
Attachments:
Description Flags
web-hook-error-in-developer-console none

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