Bug 1312218

Summary: Pod status are not shown on Pod Logs tab
Product: OKD Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: bpeterse
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas, spadgett
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-12 17:15:20 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 Yadan Pei 2016-02-26 06:42:37 UTC
Description of problem:
When viewing pod logs on "Logs" tab, pod status are not displayed. both Builds and Deployment have status on their Logs page

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

How reproducible:
Always

Steps to Reproduce:
1.Create application
2.Check pod log

Actual results:
2. Pod status are not shown on "Logs" tab

Expected results:
2. Pod status should be indicated on "Logs" tab

Additional info:

Comment 1 Samuel Padgett 2016-02-26 14:11:16 UTC
This was intentionally removed because it was misleading. See

https://github.com/openshift/origin/issues/7414

We should be able to add it back as container state, however.

Comment 2 bpeterse 2016-02-29 19:05:50 UTC
PR is in the works here: https://github.com/openshift/origin/pull/7669

Will update this ticket soon.

Comment 3 openshift-github-bot 2016-03-05 09:51:44 UTC
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/6f51b9ce55896f756a2633e1b8d3ce13b962e4e7
fixes bug 1312218 (bugzilla), fixes #7646 (github)

- also fix ng-if=end to ng-if=timeEnd in logViewer template
- check containerStatus.state, fallback to containerStatus.lastState
- pull status, start & end time from log viewer to allow more granular control on each page
- update pod page to use container status,start & end time
- update build, deployment pages log details
- update pod log message to indicate current log or previous log (using state / lastState)
- update log header message area to improve appearance/responsiveness
- add capitalize filter, move some filters to strings.js file
- add few minor typographic css classes to typography.lesst push

Comment 4 Yadan Pei 2016-03-07 02:07:58 UTC
checked against devenv-rhel7_3629, now in Pod Logs tab, container status are added, so move this bug to VERIFIED

Will continue to test other changed function

Comment 5 Yadan Pei 2016-03-07 03:29:27 UTC
Checked Pod Logs with container status/last state, started time and end time 
Build logs with started time and end time
Deployment logs with started time and end time

Works well