networkingload-balancingopenstackopenstack-neutron

openstack octavia loadbalancing


I use Openstack Victoria on Ubuntu OS. in Openstack docs say that in neutron.conf file we must add following lines: service_plugins = [existing service plugins],neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2 and service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default im okay with second option, but with first option my neutron service cant find this! also without them, when i create a loadbalancer its active but is offline and amphora port is active but lb port is down! Are there related?

means in neutron server logs show this error: ERROR neutron_lib.utils.runtime [req-c67e9c5d-e62c-4c14-a686-2b9bcf141725 - - - - -] Error loading class by alias: stevedore.exception.NoMatches: No 'neutron.service_plugins' driver found, looking for 'LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default'


Solution

  • Neutron LBaaS was removed from OpenStack in Train, so trying to add the provider for Octavia in Neutron won't work, and it isn't needed for Octavia to work.

    You most likely need to look at the Octavia logs to figure out why your load balancers aren't working.