openstack loadbalancer #0

Supports: focal hirsute


Loadbalance the things


The openstack-loadbalancer charm deploys a loadbalancer that can load balance traffic over a number of units of a service. The charm supports using vips accross the loadbalancer units to provide HA.



This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.


Sets the VIPs to use on the openstack-loadbalancer units to provide fault tolerant access to a servce. The value should be a space seperated list of IPs.


The charm has public, admin and internal space bindings. These are the spaces that the charm will create listeners on for ingress traffic. The charm vips option should be used to provice an IP on each one of these network spaces.

This charm needs to be related to the hacluster charm to manage vips and the haproxy service.

juju deploy -n 3 openstack-loadbalancer
juju config openstack-loadbalancer vip=""
juju deploy hacluster openstack-loadbalancer-hacluster
juju relate openstack-loadbalancer:ha openstack-loadbalancer-hacluster:ha

To provide a load balancer relate the charm to a service that supports the loadbalancer interface.

juju add-relation openstack-loadbalancer:loadbalancer ceph-dashboard:loadbalancer


The OpenStack Charms project maintains two documentation guides:


Please report bugs on Launchpad.


(string) Virtual IP(s) to use to front API services in HA configuration. . If multiple networks are being used, a VIP should be provided for each network, separated by spaces.