Bug 1886168

Summary: Remove Terminal Option for Windows Nodes
Product: OpenShift Container Platform Reporter: Pratik Mahajan <pmahajan>
Component: Management ConsoleAssignee: Yadan Pei <yapei>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: high Docs Contact:
Priority: high    
Version: 4.6.zCC: aos-bugs, aravindh, jokerman, nmukherj, rhamilto, yanpzhan, yapei
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:23:52 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 Flags
windows-node-page
none
Windows Node No Terminal Option none

Description Pratik Mahajan 2020-10-07 19:25:29 UTC
Description of problem:
Windows Nodes do not support Terminal access for nodes currently. 

https://console-openshift-console.apps.<CLUSTER>.devcluster.openshift.com/k8s/cluster/nodes/<NODE_ADDRESS>/terminal

This is causing the terminal to fail for windows nodes. 
The terminal needs to be disabled till the support for terminal is added..

How reproducible:
1. Bring up a Windows Node on an Openshift Cluster
        follow: https://github.com/openshift/windows-machine-config-operator
2. Check https://console-openshift-console.apps.<CLUSTER>.devcluster.openshift.com/k8s/cluster/nodes/<NODE_ADDRESS>/terminal


Actual results:
Failing terminal for Windows Worker Nodes

Expected results:
Terminal is disabled for Windows Worker Nodes (Nodes with label: `node.openshift.io/os_id=Windows`)

Additional info:
For questions regarding Windows Node ping on #forum-winc, tag @winc-team on slack

Comment 3 Yanping Zhang 2020-10-15 09:08:31 UTC
Set up ocp 4.7 cluster containing windows node with payload 4.7.0-0.nightly-2020-10-15-011122 which contains the fix pr https://github.com/openshift/console/pull/6876.
Go to the windows node page, there is still "Terminal" tab, and the terminal could not be connected.

Comment 4 Yanping Zhang 2020-10-15 09:09:29 UTC
Created attachment 1721783 [details]
windows-node-page

Comment 6 Yadan Pei 2020-10-26 08:53:47 UTC
Created attachment 1724124 [details]
Windows Node No Terminal Option

Setup 4.7 cluster with windows node, goes to windows node page, no Terminal page  link.

Verified on 4.7.0-0.nightly-2020-10-24-155529

Comment 9 errata-xmlrpc 2021-02-24 15:23:52 UTC
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

Comment 10 Samuel Padgett 2021-07-23 19:43:32 UTC
*** Bug 1985518 has been marked as a duplicate of this bug. ***