Bug 2187615 - Windows Machine Config Operator does not work with Windows templates in other languages
Summary: Windows Machine Config Operator does not work with Windows templates in other...
Keywords:
Status: NEW
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Unknown
Version: 4.x
Hardware: x86_64
OS: Windows
unspecified
medium
Target Milestone: ---
: ---
Assignee: Abhishek Gupta
QA Contact: Xiaoli Tian
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-18 07:42 UTC by Adrien Girardeau
Modified: 2023-04-18 07:42 UTC (History)
0 users

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Debug logs of the operator (wmco) (57.66 KB, text/plain)
2023-04-18 07:42 UTC, Adrien Girardeau
no flags Details

Description Adrien Girardeau 2023-04-18 07:42:07 UTC
Created attachment 1957937 [details]
Debug logs of the operator (wmco)

Description of problem:

When checking for services on a remote windows host (installed from another base language than en-us), the Windows Machine Config Opertaor (WMCO) crashes and restarts the bootstrapping process again (indefinitely).

In my case, the machine has been created from a french installed windows 2022 template. 
As you might see in the log attached, because the "out" key value does not match what the controller wants, the golang process crashes and a stack trace is written to stdout.

It would be great to support multiple languages by having to rely only on error codes instead of parsing errors.


Version-Release number of selected component (if applicable): OpenShift 4.12.8 and WMCO 7.0.1


How reproducible: Every time


Steps to Reproduce:
1. Create a golden image from the french 2022 server ISO
2. Add the machineset as you would normally with WMCO
3. Add a machine

Actual results:

The machine is never bootstrapped and added to the cluster.

Expected results:

Have the windows host added to the OpenShift Cluster, wether it is in french or not.

Additional info:

It may be an issue that there is no error catch going on. Because the WMCO loops on failure, it will never provision the other machines in queue to be bootstrapped.
As it might fail for any other reason than language it would also be great to have error cactches.


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