Bug 2025730 - WMCO fails to configure VMs with Powershell set as the default SSH shell
Summary: WMCO fails to configure VMs with Powershell set as the default SSH shell
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Windows Containers
Version: 4.9
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.8.z
Assignee: Sebastian Soto
QA Contact: gaoshang
URL:
Whiteboard:
Depends On: 2014707
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-22 20:53 UTC by OpenShift BugZilla Robot
Modified: 2021-12-08 22:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Certain commands being run by WMCO against Windows VMs were not parsed correctly by PowerShell. Consequence: Windows VMs with PowerShell as the default SSH shell were not able to be joined to the cluster as a Node. Fix: WMCO is now able to identify the default SSH shell of a VM and run commands accordingly. Result: VMs with PowerShell as the default SSH shell are now able to be configured as Nodes.
Clone Of:
Environment:
Last Closed: 2021-12-08 22:07:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift windows-machine-config-operator pull 825 0 None open [release-4.8] Bug 2025730: Allow for Windows instances with Powershell as the default SSH shell 2021-11-22 20:57:48 UTC
Red Hat Product Errata RHBA-2021:4710 0 None None None 2021-12-08 22:07:49 UTC

Comment 4 Ronnie Rasouli 2021-11-23 13:14:28 UTC
ssh -i key.pem Administrator.compute.internal 'echo "hello"'
load pubkey "key.pem": invalid format
The authenticity of host 'ip-10-0-129-131.us-east-2.compute.internal (10.0.129.131)' can't be established.
ECDSA key fingerprint is SHA256:e/v41w+t0qlXqtcDHlo1OXe/8Yc79yGWJvfUhhtFw3M.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Failed to add the host to the list of known hosts (/home/core/.ssh/known_hosts).
"hello"

Verified on WMCO 3.1.1+309c49d

Comment 6 errata-xmlrpc 2021-12-08 22:07:43 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 (Windows Container Support for Red Hat OpenShift 3.1.1 product release), 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/RHBA-2021:4710


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