Skip to content
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

[v2.5] Windows 20H2 Builds #30701

Closed
luthermonson opened this issue Jan 6, 2021 · 3 comments
Closed

[v2.5] Windows 20H2 Builds #30701

luthermonson opened this issue Jan 6, 2021 · 3 comments
Assignees
Milestone

Comments

@luthermonson
Copy link
Contributor

luthermonson commented Jan 6, 2021

  • Add all 20h2 builds for all projects based on the checklist in confluence
  • update all dockerfiles to remove references to powershell:nanoserver-20H2 in the multistage builds as per Add Windows 20H2 images PowerShell/PowerShell-Docker#523 there is no base image to start from and we will be using servercore ever where
@luthermonson luthermonson added this to the v2.5.5 milestone Jan 6, 2021
@luthermonson luthermonson self-assigned this Jan 6, 2021
@sowmyav27
Copy link
Contributor

On 2.5-head - commit id: e3128c99 and on master-head - commit id: e75b7945

  • K8s version - 1.19.7-rancher2-1, deployed a windows cluster with 3 linux nodes, 3 windows worker nodes AMI: Windows_Server-20H2-English-Core-ContainersLatest-2021.01.13.
  • Windows node are stuck in registering state.
  • logs from agent container:
time="2021-01-28T05:46:58Z" level=info msg="{\"status\":\"Status: Downloaded newer image for rancher/hyperkube:v1.19.7-rancher2\"}"
time="2021-01-28T05:47:02Z" level=error msg="failed to check plan: Error response from daemon: container 130876d965e932eeb6de4d9ed876f58e1b5f11650fa20a960c205da68b2d13ba encount
ered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The system cannot find the file specified. (0x2) extra info: {\"CommandLine\":\"pwsh -NoLo
go -NonInteractive -File c:/usr/bin/entrypoint.ps1 kubelet --kubeconfig=c:/etc/kubernetes/ssl/kubecfg-kube-node.yaml --streaming-connection-idle-timeout=30m --address=0.0.0.0 --
cni-bin-dir=c:/opt/cni/bin --anonymous-auth=false --cluster-domain=cluster.local --fail-swap-on=false --cert-dir=c:/var/lib/kubelet/pki --cgroups-per-qos=false --kube-reserved=c
pu=500m,memory=500Mi,ephemeral-storage=1Gi --read-only-port=0 --client-ca-file=c:/etc/kubernetes/ssl/kube-ca.pem --root-dir=c:/var/lib/kubelet --tls-cipher-suites=TLS_ECDHE_ECDS
A_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA
384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305 --system-reserved=cpu=1000m,memory=2Gi,ephemeral-storage=2Gi --authentication-token-webhook=true --node-ip=ip3 --cloud-provider=
 --cluster-dns=10.43.0.10 --network-plugin=cni --image-pull-progress-deadline=30m --authorization-mode=Webhook --cni-conf-dir=c:/etc/cni/net.d --make-iptables-util-chains=true -
-resolv-conf= --v=2 --feature-gates=HyperVContainer=true,WindowsGMSA=true --event-qps=0 --volume-plugin-dir=c:/var/lib/kubelet/volumeplugins --enforce-node-allocatable= --hostna
me-override=ip-ac1f013e --pod-infra-container-image=rancher/kubelet-pause:v0.1.6\",\"WorkingDirectory\":\"C:\\\\\",\"Environment\":{\"K8S_VERSION\":\"v1.19.7\",\"RKE_CLOUD_PROVI
DER_NAME\":\"\",\"RKE_CLUSTER_CIDR\":\"10.42.0.0/16\",\"RKE_CLUSTER_DNS_SERVER\":\"10.43.0.10\",\"RKE_CLUSTER_DOMAIN\":\"cluster.local\",\"RKE_CLUSTER_SERVICE_CIDR\":\"10.43.0.0
/16\",\"RKE_NODE_ADDRESS\":\"ip\",\"RKE_NODE_INTERNAL_ADDRESS\":\"ip3\",\"RKE_NODE_PREFIX_PATH\":\"c:/\"},\"CreateStdInPipe\":true,\"CreateStdOutPipe\":true,\
"CreateStdErrPipe\":true,\"ConsoleSize\":[0,0]}"
time="2021-01-28T05:47:20Z" level=error msg="failed to check plan: Error response from daemon: container bb3241bd15605537e3c451ed1a2f2681a082a487dfb3065fb4f909f1959953e5 encount
ered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The system cannot find the file specified. (0x2) extra info: {\"CommandLine\":\"pwsh -NoLo
go -NonInteractive -File c:/usr/bin/entrypoint.ps1 kube-proxy --healthz-bind-address=127.0.0.1 --proxy-mode=kernelspace --v=2 --enable-dsr=false --cluster-cidr=10.42.0.0/16 --ho
stname-override=ip-ac1f013e --kubeconfig=c:/etc/kubernetes/ssl/kubecfg-kube-proxy.yaml --feature-gates=WinOverlay=true\",\"WorkingDirectory\":\"C:\\\\\",\"Environment\":{\"K8S_V
ERSION\":\"v1.19.7\",\"RKE_CLOUD_PROVIDER_NAME\":\"\",\"RKE_CLUSTER_CIDR\":\"10.42.0.0/16\",\"RKE_CLUSTER_DNS_SERVER\":\"10.43.0.10\",\"RKE_CLUSTER_DOMAIN\":\"cluster.local\",\"
RKE_CLUSTER_SERVICE_CIDR\":\"10.43.0.0/16\",\"RKE_NODE_ADDRESS\":\"ip\",\"RKE_NODE_INTERNAL_ADDRESS\":\"ip3\",\"RKE_NODE_PREFIX_PATH\":\"c:/\"},\"CreateStdInP
ipe\":true,\"CreateStdOutPipe\":true,\"CreateStdErrPipe\":true,\"ConsoleSize\":[0,0]}"
time="2021-01-28T05:47:53Z" level=error msg="failed to check plan: Error response from daemon: container 6a13efcc2d93d2f017d1d453c8e39d7c0e84d6d1f39d792aaee3f597772eedf7 encount
ered an error during hcsshim::System::CreateProcess: failure in a Windows system call: The system cannot find the file specified. (0x2) extra info: {\"CommandLine\":\"pwsh -NoLo
go -NonInteractive -File c:/usr/bin/nginx-proxy.ps1 CP_HOSTS=172.31.10.106 RKE_CLUSTER_CIDR=10.42.0.0/16 RKE_CLUSTER_DOMAIN=cluster.local RKE_CLUSTER_DNS_SERVER=10.43.0.10 RKE_C
LUSTER_SERVICE_CIDR=10.43.0.0/16 RKE_NODE_ADDRESS=ip RKE_NODE_INTERNAL_ADDRESS=ip3 RKE_CLOUD_PROVIDER_NAME= RKE_NODE_PREFIX_PATH=c:/\",\"WorkingDirectory\":\"
C:\\\\\",\"Environment\":{\"CP_HOSTS\":\"172.31.10.106\",\"RKE_CLOUD_PROVIDER_NAME\":\"\",\"RKE_CLUSTER_CIDR\":\"10.42.0.0/16\",\"RKE_CLUSTER_DNS_SERVER\":\"10.43.0.10\",\"RKE_C
LUSTER_DOMAIN\":\"cluster.local\",\"RKE_CLUSTER_SERVICE_CIDR\":\"10.43.0.0/16\",\"RKE_NODE_ADDRESS\":\"ip\",\"RKE_NODE_INTERNAL_ADDRESS\":\"ip3\",\"RKE_NODE_P
REFIX_PATH\":\"c:/\"},\"CreateStdInPipe\":true,\"CreateStdOutPipe\":true,\"CreateStdErrPipe\":true,\"ConsoleSize\":[0,0]}"
time="2021-01-28T05:48:29Z" level=info msg="Option controlPlane=false"
time="2021-01-28T05:48:29Z" level=info msg="Option worker=true"
time="2021-01-28T05:48:29Z" level=info msg="Option requestedHostname=ip-ac1f013e"
time="2021-01-28T05:48:29Z" level=info msg="Option customConfig=map[address:ip internalAddress:ip3 label:map[rke.cattle.io/windows-build:19042 rke.cattle.io/w
indows-kernel-version:19041.1.amd64fre.vb_release.191206-1406 rke.cattle.io/windows-major-version:10 rke.cattle.io/windows-minor-version:0 rke.cattle.io/windows-release-id:2009 
rke.cattle.io/windows-version:10.0.19042.746] roles:[worker] taints:[]]"
time="2021-01-28T05:48:29Z" level=info msg="Option etcd=false"
time="2021-01-28T05:48:49Z" level=info msg="Option customConfig=map[address:ip internalAddress:ip3 label:map[rke.cattle.io/windows-build:19042 rke.cattle.io/w
indows-kernel-version:19041.1.amd64fre.vb_release.191206-1406 rke.cattle.io/windows-major-version:10 rke.cattle.io/windows-minor-version:0 rke.cattle.io/windows-release-id:2009 
rke.cattle.io/windows-version:10.0.19042.746] roles:[worker] taints:[]]"
time="2021-01-28T05:48:49Z" level=info msg="Option etcd=false"
time="2021-01-28T05:48:49Z" level=info msg="Option controlPlane=false"
time="2021-01-28T05:48:49Z" level=info msg="Option worker=true"
time="2021-01-28T05:48:49Z" level=info msg="Option requestedHostname=ip-ac1f013e"
time="2021-01-28T05:49:11Z" level=info msg="Plan monitor checking 120 seconds"
time="2021-01-28T05:51:31Z" level=info msg="Plan monitor checking 120 seconds"
time="2021-01-28T05:53:52Z" level=info msg="Plan monitor checking 120 seconds"

@sowmyav27
Copy link
Contributor

Using 2.5.6-rc3

  • K8s version - 1.19.7-rancher2-1, deployed a windows cluster with 3 linux nodes, 3 windows worker nodes AMI: Windows_Server-20H2-English-Core-ContainersLatest-2021.01.13.
  • Windows node are stuck in registering state.
  • service sideick container keeps restarting. Logs
E0129 06:41:53.481654     800 main.go:243] Failed to create SubnetManager: error parsing subnet config: invalid character 'ï' looking for beginning of value
INFO: Start flanneld with: --kubeconfig-file=c:/\etc\kubernetes\ssl\kubecfg-kube-node.yaml --ip-masq --kube-subnet-mgr --iptables-forward-rules=false --net-config-path=c:/\etc\k
ube-flannel\net-conf.json --iface=172.31.0.212
I0129 06:42:06.078012    1624 main.go:454] Searching for interface using 172.31.0.212
I0129 06:42:06.084016    1624 main.go:531] Using interface with name Ethernet and address 172.31.0.212
I0129 06:42:06.084016    1624 main.go:548] Defaulting external address to interface address (172.31.0.212)
E0129 06:42:06.089992    1624 main.go:243] Failed to create SubnetManager: error parsing subnet config: invalid character 'ï' looking for beginning of value

@sowmyav27
Copy link
Contributor

sowmyav27 commented Jan 31, 2021

On 2.5-head - commit id: 2ae4cf117a and master-head - commit id: 59ebdc

  • K8s version - 1.19.7-rancher2-1, deployed a windows cluster with 3 linux nodes, 3 windows worker nodes AMI: Windows_Server-20H2-English-Core-ContainersLatest-2021.01.13.
  • rancher/rke-tools v0.1.71 is available on the nodes, windows nodes registered successfully.
  • Validation tests look good on the cluster

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants