Bug 1886524
Summary: | Change default terminal command for Windows Pods | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Pratik Mahajan <pmahajan> | ||||
Component: | Management Console | Assignee: | Robb Hamilton <rhamilto> | ||||
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.6 | CC: | aos-bugs, jokerman, nstielau, spadgett, trankin, yanpzhan | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.7.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause: The terminal assumed all pods are Linux pods and did not account for Windows pods.
Consequence: The terminal would not work with Windows pods as it defaulted to sh command.
Fix: The terminal should detect the pod type and change the command accordingly.
Result: The terminal detects if a pod is Windows and changes the command as necessary.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-02-24 15:24: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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1887612 | ||||||
Attachments: |
|
Description
Pratik Mahajan
2020-10-08 16:34:43 UTC
Set up ocp 4.7 cluster containing windows node with payload 4.7.0-0.nightly-2020-10-15-011122. Create a windows workload on the cluster, check the pod's terminal, it's using windows terminal cmd. The bug is fixed. Created attachment 1721791 [details]
windows-pod-terminal
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.7.0 security, bug fix, and enhancement 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-2020:5633 |