Bug 1312218 - Pod status are not shown on Pod Logs tab
Summary: Pod status are not shown on Pod Logs tab
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: bpeterse
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-26 06:42 UTC by Yadan Pei
Modified: 2016-05-12 17:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 17:15:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.