Bug 1276213
Summary: | The logs for all the containers are the same with the first container when the pod has multiple containers. | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OKD | Reporter: | Yanping Zhang <yanpzhan> | ||||||||
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 3.x | CC: | aos-bugs, jforrest, mmccomas, spadgett | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-11-23 21:13:05 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: | |||||||||||
Attachments: |
|
Description
Yanping Zhang
2015-10-29 06:00:56 UTC
Created attachment 1087376 [details]
first-container
Created attachment 1087377 [details]
second-container
Created attachment 1087378 [details]
third-container
Ben, I saw this at the end of the day yesterday, its because of this line: https://github.com/openshift/origin/commit/a03cd35eb8f7a332503022ebc6b3e9fc1152d459#diff-e81d5d378cb83bfc99a6fb64f5e492b6R102 Any time runLogs gets called its resetting container to containers[0].name 5489 was closed in place of 5537 https://github.com/openshift/origin/pull/5537 Tested on devenv-rhel7_2619. openshift v1.0.7-109-g3cf7f3c kubernetes v1.2.0-alpha.1-1107-g4c8e6f4 etcd 2.1.2 Steps to verify: 1.Create a pod with multiple containers. $ oc create -f multiple-container.yaml -n prozyp 2.View all the containers' log on web console. When switch container, the log is displayed correctly for the container. The bug has been fixed, so move the bug to Verified. |