-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k8s 1.21 failing on Windows 20H2 Standard #72
Comments
You will need an rke2 server and a Windows agent to reproduce the errors we are seeing. What is happening is that when on a 20H2 Standard Edition server, containerd starts up and the containerd go client fails to connect to the fully qualified npipe address.
If I start containerd manually and use critctl everything works as expected. If I change the code to use:
Then it works as expected. When on 20H2 Datacenter Edition everything works and executes as expected. RKE2 Server Install;
You will need a 20H2 Standard Edition and Datacenter Edition with the Windows Containers feature enabled. Then execute:
Original issue: rancher/rke2#1454 |
Hi @phillipsj I'd like to understand better what issue you are seeing connecting to containerd via named pipe. Can you share some more details please?
One note is that I would expect the named pipe path to look like either |
@keypar here are the details:
I can't imagine it is as simple as the address I am using. The exact same configuration works on 1809, 2004, 20H2 Data Center, but doesn't work on 20H2 standard. If it was an incorrect address I would expect it to at least fail on 20H2 Data Center. |
If you're using the containerd Go client code and not customizing what dialer is used (via To summarize, What's still unclear to me is how the |
That's good to know and interesting that crictl requires the npipe:// prefix. |
@kevpar could you please try to repo on 20H2 standard vs datacenter? That is where I am seeing the issue. |
@kevpar I just tested the same release on Windows Server 2022 Data Center preview and it behaves the same as 2019, 2004, and 20H2 Data Center. It seems standard is still the only one that has an issue. I will test 2022 standard out of curiosity. |
@phillipsj you saying that the Can you provide the exact Go client code that is making the connection in the cases where |
I set up a 20H2 Standard VM and tested using a simplified test program.
I'm not seeing the same issue repro. Can you try this same test program? |
2022 standard has been confirmed to work with the same version. |
Is everything working as expected then? Or are you still seeing issues on some platform? |
I still need to retest Windows 20H2 standard, I will retest using the same ISO and one that is up to date to see if I get different results. Several people have independently verified that 20H2 standard edition works. Your initial test showed it wouldn't have worked on Windows 11. So there seems to be something happening. |
The scenario is actually a little different than I understood at first. Using the standard |
The two methods of establishing a connection are the equivalent of testing with |
@phillipsj Can this issue be closed with the latest Windows Server patches? |
Yes. |
Tracking issue for rancher/rancher#32932
Workaround:
Document that only Windows 20H2 Datacenter is supported for 1.21.
The text was updated successfully, but these errors were encountered: