Azure / container-upstream

This project captures work in progress, and completed work for the Azure Core Container Upstream team
MIT License
54 stars 28 forks source link

capz-azure-machinepool-master fails with "Waiting for condition" #100

Closed mboersma closed 3 years ago

mboersma commented 3 years ago

A single node control plane is failing to provision due to not being able to recognize rbac.authorization.k8s.io/v1beta1. With the error below.

Waiting for 1 control plane machine(s) and 2 worker machine(s) to become Ready
node/capz-w9qu5g-control-plane-7h2wj condition met
node/capz-w9qu5g-mp-0000000 condition met
node/capz-w9qu5g-mp-0000001 condition met
NAME                              STATUS     ROLES                  AGE     VERSION                              INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION     CONTAINER-RUNTIME
capz-w9qu5g-control-plane-7h2wj   Ready      control-plane,master   3m56s   v1.22.0-alpha.1.395+a45aeb626c7f23   10.0.0.4      <none>        Ubuntu 18.04.5 LTS   5.3.0-1034-azure   containerd://1.3.4
capz-w9qu5g-mp-0000000            Ready      <none>                 30s     v1.22.0-alpha.1.395+a45aeb626c7f23   10.1.0.4      <none>        Ubuntu 18.04.5 LTS   5.3.0-1034-azure   containerd://1.3.4
capz-w9qu5g-mp-0000001            Ready      <none>                 62s     v1.22.0-alpha.1.395+a45aeb626c7f23   10.1.0.5      <none>        Ubuntu 18.04.5 LTS   5.3.0-1034-azure   containerd://1.3.4
capz-w9qu5g-mp-0000003            NotReady   <none>                 15s     v1.22.0-alpha.1.395+a45aeb626c7f23   10.1.0.7      <none>        Ubuntu 18.04.5 LTS   5.3.0-1034-azure   containerd://1.3.4
clusterrole.rbac.authorization.k8s.io/system:azure-file created
error: unable to recognize "templates/addons/azurefile-role.yaml": no matches for kind "ClusterRoleBinding" in version "rbac.authorization.k8s.io/v1beta1"

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/capz-azure-file-machinepool-master/1393817539745681408 https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/capz-azure-file-machinepool-master/1394179932925464576

devigned commented 3 years ago

Related fix: https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/1379

CecileRobertMichon commented 3 years ago

/assign

CecileRobertMichon commented 3 years ago

fixed