Bug 2054630

Summary: cancel create silence from kebab menu of alerts page will navigated to the previous page
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: MonitoringAssignee: Gabriel Bernal <gbernal>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.8CC: amuller, anpicker, aos-bugs, hasun
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:49:51 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
record none

Description Junqi Zhao 2022-02-15 11:25:51 UTC
Created attachment 1861199 [details]
record

Description of problem:
this issue is with 4.8 and above versions
login console, the default page is
https://{console-route}/dashboards

4.8 click "Monitoring -> Alerting", 4.9 and above click "Observe -> Alerting", go to Alerts page
click "Create silence" from the kebab menu, then click Cancel, the page would navigate to the previous page, https://{console-route}/dashboards
see from the recording, if we navigate to other page before cancelling "Create silence" from the kebab menu, the URl also navigate to the previous page

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2022-02-14-171323

How reproducible:
always

Steps to Reproduce:
1. see the description
2.
3.

Actual results:
if we navigate to other page before cacelling "Create silence" from the kebab menu, the URl would navigate to the previous page

Expected results:
remain in the alerts page

Additional info:

Comment 1 Andrew Pickering 2022-02-22 08:54:15 UTC
I think this is sufficiently low priority that it doesn't need backporting to previous versions, but let's try to fix this for 4.11.

Comment 2 Junqi Zhao 2022-03-01 02:38:13 UTC
tested with https://github.com/openshift/console/pull/11107, cancel the silence creation would back to the "Observe -> Alerting" page

Comment 8 errata-xmlrpc 2022-08-10 10:49:51 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 (Important: OpenShift Container Platform 4.11.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:5069