Bug 1826060

Summary: Pod log pages do not have a query parameter for selected container
Product: OpenShift Container Platform Reporter: bpeterse
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: aos-bugs, dtaylor, jokerman, sberens, yanpzhan
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1827197 (view as bug list) Environment:
Last Closed: 2020-07-13 17:29:11 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: 1827197    

Description bpeterse 2020-04-20 19:19:56 UTC
Description of problem:

We should add a query parameter for a specific container on the pod logs page. This will preserve the selected container if the page is refreshed and lets users share links to a specific container log.

This is needed by ACM, which links to a specific container log.

Originally in JIRA: https://issues.redhat.com/browse/CONSOLE-2169

Comment 3 Yanping Zhang 2020-04-23 09:12:16 UTC
Checked on 4.5 cluster with payload 4.5.0-0.ci-2020-04-22-212726. Create pod with two containers, go to pod log tab, the url contains the first container: pods/dctest-1-x4jqr/logs?container=dctest-1, change to the second container log, the url becomes to /pods/dctest-1-x4jqr/logs?container=dctest-2, copy it to another tab, will show the second container log.

Comment 4 errata-xmlrpc 2020-07-13 17:29:11 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, 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/RHBA-2020:2409