Bug 1956920
Summary: | can't open terminal for pods that have more than one container running | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Samuel Padgett <spadgett> |
Component: | Management Console | Assignee: | Samuel Padgett <spadgett> |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.8 | CC: | aos-bugs, jokerman, yapei |
Target Milestone: | --- | ||
Target Release: | 4.8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Fixes an error that could occur in the web console when using the terminal for a pod with multiple containers.
|
Story Points: | --- |
Clone Of: | Environment: |
Version: 4.8.0-0.nightly-2021-04-30-102231
Cluster ID: 6f4e1f44-6f43-496f-ac48-f7197dcfbba0
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:88.0) Gecko/20100101 Firefox/88.0
|
|
Last Closed: | 2021-07-27 23:06:09 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: | 1967106 |
Description
Samuel Padgett
2021-05-04 16:33:32 UTC
1. Create a deploymentconfig which will deploy a pod with two containers apiVersion: apps.openshift.io/v1 kind: DeploymentConfig metadata: name: exampletest spec: selector: app: httpd replicas: 1 template: metadata: labels: app: httpd spec: containers: - name: httpd image: >- image-registry.openshift-image-registry.svc:5000/openshift/httpd:latest ports: - containerPort: 8080 - name: containertwo image: >- quay.io/openshifttest/hello-openshift@sha256:424e57db1f2e8e8ac9087d2f5e8faea6d73811f0b6f96301bc94293680897073 ports: - containerPort: 8080 protocol: TCP resources: limits: memory: 256Mi $ oc get pods -n yapei2 NAME READY STATUS RESTARTS AGE exampletest-1-deploy 0/1 Completed 0 14s exampletest-1-fcz9x 2/2 Running 0 11s 2. Wait for all containers are ready, visit pod terminal we connect to one container by default, switch to another container terminal via container dropdown, container can be switched successfully, no errors Verified on 4.8.0-0.nightly-2021-05-07-075528 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438 |