Describe the bug
There seems to be issues when creating new v2.24.0 clusters on openstack cloud providers where the openstack pods start and taints the nodes before coredns can start putting them in a pending state, and causing the openstack pods to crash as they fail to resolve the openstack endpoint:
Cloud provider could not be initialized: could not init cloud provider "openstack": Post "https://<openstack-endpoint>": dial tcp: lookup <openstack-endpoint> on 10.233.0.3:53: write udp ...->10.233.0.3:53: write: operation not permitted
Describe the bug There seems to be issues when creating new v2.24.0 clusters on openstack cloud providers where the openstack pods start and taints the nodes before coredns can start putting them in a pending state, and causing the openstack pods to crash as they fail to resolve the openstack endpoint:
Related upstream Kubespray issue: https://github.com/kubernetes-sigs/kubespray/issues/10914
To Reproduce Steps to reproduce the behavior:
Expected behavior Creating new clusters with kubespray should work fine on all cloud providers.
Version (add all relevant versions):
Additional context
A workaround for now is to add tolerations to the coredns pods. E.g. create a file
tolerations.yaml
:And patch coredns with the tolerations in the file:
Once the openstack pods run without crashing you can remove the
node.cloudprovider.kubernetes.io/uninitialized
taint.