cluster-api-provider-azure: apiserver never comes online

/kind bug

What steps did you take and what happened: [A clear and concise description of what the bug is.]

Built a “default” cluster using the provided tilt-accessible template:

https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/master/templates/cluster-template.yaml

… and the apiserver seems to never reconcile.

What did you expect to happen:

I expected the cluster to come online

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

The IaaS seems to be there, but the apiserver container is not running:

$ sudo crictl ps
CONTAINER           IMAGE               CREATED              STATE               NAME                      ATTEMPT             POD ID
a803e2cc635aa       0369cf4303ffd       About a minute ago   Running             etcd                      2                   65ac7cb613107
4056fe89f9b30       8d13f1db8bfb4       23 minutes ago       Running             kube-scheduler            1                   1a2c5d9c257c2
cb5abc93967d4       6f0c3da8c99e9       23 minutes ago       Running             kube-controller-manager   1                   12b39ce781218
54537d21e1b90       bfe3a36ebd252       25 minutes ago       Running             coredns                   0                   69bc19ee141ba
88ff470d8cfae       75c8849ca8404       25 minutes ago       Running             calico-kube-controllers   0                   3763e13788ab9
2c9ea6194a1c7       bfe3a36ebd252       25 minutes ago       Running             coredns                   0                   38b6e7f583094
da9a1afce015e       f0d3b0d0e32ce       25 minutes ago       Running             calico-node               0                   d9cb1b9794eaa
090c2fced8cf1       5384b16505072       26 minutes ago       Running             kube-proxy                0                   e7508dec230cc

Environment:

  • cluster-api-provider-azure version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (21 by maintainers)

Most upvoted comments

$ sudo cat /var/log/cloud-init-output.log | grep error
[2021-04-15 21:00:47] error execution phase control-plane-join/etcd: error creating local etcd static pod manifest file: timeout waiting for etcd cluster to be available
[2021-04-15 21:00:47] To see the stack trace of this error execute with --v=5 or higher