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
Sometimes on Openstack you need to modify allowed address pairs (allowed_address_pairs in Terraform), e.g. for the network requirements of operating a load balancer or for some Calico overlay network modes.
For example it is documented here that you need to run some Openstack commands to do this in some cases.
However, since awhile ago (I believe it may have been this change: #8709) , doing Terraform apply erases any allowed address pairs that may have been configured outside of Terraform:
In this case it would remove access for proxying traffic in kube_pods_subnet, breaking the cluster.
Currently there is nothing in kubespray that would modify allowed_address_pairs:
$ grep allowed_address_pairs -r .
so we need to allow users to modify this outside of Terraform, e.g. via openstack CLI as documented or other means (we use Ansible roles), without the risk of terraform apply undoing the required allowed address pair configuration.
Environment:
Cloud provider or hardware configuration:
Openstack
OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):
Almalinux 8
Version of Ansible (ansible --version):
N/A
Kubespray version (commit) (git rev-parse --short HEAD): aea150e
Network plugin used:
Calico
The text was updated successfully, but these errors were encountered:
Sometimes on Openstack you need to modify allowed address pairs (allowed_address_pairs in Terraform), e.g. for the network requirements of operating a load balancer or for some Calico overlay network modes.
For example it is documented here that you need to run some Openstack commands to do this in some cases.
However, since awhile ago (I believe it may have been this change: #8709) , doing Terraform apply erases any allowed address pairs that may have been configured outside of Terraform:
In this case it would remove access for proxying traffic in kube_pods_subnet, breaking the cluster.
Currently there is nothing in kubespray that would modify allowed_address_pairs:
so we need to allow users to modify this outside of Terraform, e.g. via openstack CLI as documented or other means (we use Ansible roles), without the risk of
terraform apply
undoing the required allowed address pair configuration.Environment:
Openstack
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):Almalinux 8
ansible --version
):N/A
Kubespray version (commit) (
git rev-parse --short HEAD
):aea150e
Network plugin used:
Calico
The text was updated successfully, but these errors were encountered: