Bug 1371702

Summary: "view archive" button in the empty state message of the log viewer not working
Product: OKD Reporter: bpeterse
Component: Management ConsoleAssignee: Jessica Forrester <jforrest>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-09 21:52:38 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:

Description bpeterse 2016-08-30 21:19:05 UTC
Description of problem:

The log viewer has 2 archive links.  The primary link is at the top of the log viewer & works fine.  A second link appears in an "empty state" message when there are no logs viewable in the web console.  This link is broken.

https://github.com/openshift/origin-web-console/pull/500 addresses this problem.  This bug is being opened to make sure we get it verified through QE.

Comment 1 Jessica Forrester 2016-08-30 21:43:34 UTC
Easiest way to get the empty state message to show up is to delete the underlying docker container for a completed build's pod.

Comment 2 Jessica Forrester 2016-08-30 21:57:23 UTC
merging to origin in https://github.com/openshift/origin/pull/10722

Comment 3 Yadan Pei 2016-08-31 06:05:54 UTC
Checked against 

openshift v1.3.0-alpha.3+a29f40e
kubernetes v1.3.0+507d3a7
etcd 2.3.0+git


Here are verification steps:

1. Set loggingPublicURL: "https://www.testyapeiexample.com" in master-config.yaml and restart OpenShift 

2. Create an app, wait build to be completed

3. Remove the underlying docker container for pod "<app_name>-1-build"

4. Go to Pods -> <app_name>-1-build page, click "Logs" tab

5. It will show message "Logs are not available." 

There are two view archive links, clicking both could redirect to address "https://www.testyapeiexample.com/oauth/token" successfully

Move to VERIFIED