OpenStack integrator does not configure Neutron address pairs for LB VIPs or use a native LBaaSv2/Octavia for API load-balancing

Bug #1834327 reported by Dmitrii Shcherbakov
34
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
Fix Released
Undecided
Unassigned
Openstack Integrator Charm
Fix Released
Undecided
Unassigned

Bug Description

In order to use a virtual IPs for kube-api-loadbalancer (either with keepalived or with charm-hacluster) OpenStack integrator needs to set up Neutron such that it does not block VIP traffic for all ports of VMs that host kubeapi-load-balancer.

openstack port set <vm_port_uuid> --allowed-address <vip>

https://docs.openstack.org/python-openstackclient/queens/cli/command-objects/port.html#cmdoption-port-create-allowed-address

Alternatively (or in addition to that), LBaaS or Octavia could be utilized to load-balance Kubernetes master traffic instead.

description: updated
Revision history for this message
Nobuto Murata (nobuto) wrote :

This might/should be Juju's responsibility since that vip may need to be accessible for some hook executions. Relying on other charms such as openstack-integrator to modify the address pair may bring another race condition.

summary: OpenStack integrator does not configure Neutron address pairs for LB
- VIPs
+ VIPs or use a native LBaaSv2/Octavia for API load-balancing
Adam Israel (aisrael)
tags: added: osm
Ryan Beisner (1chb1n)
tags: added: uosci
Revision history for this message
George Kraft (cynerva) wrote :

The current recommendation is to relate kubernetes-master:loadbalancer to openstack-integrator instead of kubeapi-load-balancer. When this is done, openstack-integrator will create a native OpenStack load balancer for the Kubernetes API. I believe that covers this use case.

See an example bundle here: https://ubuntu.com/kubernetes/docs/openstack-integration

Changed in charm-kubeapi-load-balancer:
status: New → Invalid
Changed in charm-openstack-integrator:
status: New → Fix Released
Changed in charm-kubernetes-master:
status: New → Fix Released
no longer affects: charm-kubeapi-load-balancer
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.