Bug 2052953

Summary: Observe dashboard always opens for last viewed workload instead of the selected one
Product: OpenShift Container Platform Reporter: Jan Richter <jrichter>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.9CC: cjerolim, nmukherj, viraj
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
There is currently a known issue. In the developer perspective, the *Observe* dashboard opens for the most recently viewed workload rather than the one you selected in the *Topology*. This issue happens because the session prefers the redux store instead of the query parameters in the URL. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2052953[BZ#2052953])
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:48:34 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: 2059805    
Attachments:
Description Flags
screencast of the problem none

Description Jan Richter 2022-02-10 10:38:51 UTC
Created attachment 1860316 [details]
screencast of the problem

Description of problem:
The view dashboard link in topology -> observe tab of a workload doesn't open the correct workload. It seems to always open what it considers last viewed.


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

How reproducible:
always


Steps to Reproduce:
1. Create at least 2 workloads
2. Open the first workload in topology, go to Observe tab
3. Click on 'View dashboard'
4. The correct workload opens
5. Go back to topology
6. Select the second workload
7. Click on 'View dashboard' in Observe tab

Actual results:
The first workload is open in observe dashboard 

Expected results:
The second workload should be open

Additional info:

Comment 1 Christoph Jerolimov 2022-02-11 12:49:16 UTC
Could reproduce this also on 4.9. Didn't test older versions.

Comment 4 Vikram Raj 2022-03-11 08:56:40 UTC
Verified it on 4.11.0-0.nightly-2022-03-09-235248. Works as expected.

Comment 8 errata-xmlrpc 2022-08-10 10:48:34 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