You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
Related upstream Kubespray issue: kubernetes-sigs/kubespray#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:
kubectl patch deployment coredns -n kube-system --patch "$(cat tolerations.yaml)"
Once the openstack pods run without crashing you can remove the
node.cloudprovider.kubernetes.io/uninitialized
taint.The text was updated successfully, but these errors were encountered: