Search code examples
openstackopenstack-neutron

Openstack Octavia lbaasv2 : cannot find lbaasv2 service plugin


I am trying to use Octavia load balancer with openstack pike. I add the following to my etc/neutron.conf file

    service_plugins = router,lbaasv2

When I restart the neutron-server I see the following in the log:

    Error loading class by alias: NoMatches: No 'neutron.service_plugins' driver found, looking for 'lbaasv2'

I installed Octavia using pip install. That went without error. Do I need to install or configure anything else? Thanks in advance for any help.

Ranga


Solution

  • Octavia is a separate service from Neutron, and if you want to add Neutron LBAAS, which can be used a proxy between Octavia and Neutron you need to install neutron-lbaas.

    pip install -c https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?stable/pike neutron-lbaas

    Keep in mind that you don't actually need neutron-lbaas (lbaasv2) to use Octavia. If you use the openstack cli, it will go directly to Octavia, and completely bypass Neutron.