Unable to add a Windows worker node to the OCP clusters when Proxy is enabled
Issue
- Unable to add Windows worker nodes to cluster wide proxy-enabled OpenShift clusters.
- The Windows MCO fails with below error:
"msg":"error running","cmd":"powershell.exe -NonInteractive -ExecutionPolicy Bypass \"C:\\k\\windows-instance-config-daemon.exe cleanup --kubeconfig C:\\k\\wicd-kubeconfig --namespace openshift-windows-machine-config-operator\"","out":"I0110 16:30:30.903410 9984 cleanup.go:55] no associated node found\nF0110 16:30:30.916848 9984 cleanup.go:51] cannot get latest services ConfigMap from namespace openshift-windows-machine-config-operator: failed to get API group resources: unable to retrieve the complete list of server APIs: v1: Get \"https://api-int.ocp.example.com:6443/api/v1\": tls: failed to verify certificate: x509: certificate has expired or is not yet valid
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- Windows node
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.