Ocata lbaasv2 problem

asked 2017-09-26 10:55:09 -0500

zeljko-jagust gravatar image

I am running Openstcak Ocata version on Ubuntu 16.04 and I tried to install lbaasv2 following this guide: https://docs.openstack.org/ocata/networking-guide/config-lbaas.html (https://docs.openstack.org/ocata/netw...)

First of all, the guide is missing information on what packages are required to install for lbaasv2 to work. Checking some of my earlier notes I installed the following packages: neutron-lbaas-common and python-neutron-lbaas. Both are version 10.0.1. Later it came clear that neutron-lbaasv2-agent package is also required, as without it, a neutron-lbaasv2-agent init script is missing.

After installing packages and getting the proper config files second issue came up when defining service_provider. Guide instructs defining it under [service_providers] section in neutron_lbaas.conf file. When doing so, along with other config requirements, when I restarted neutron-server, the following error came up in neutron-server.log file:

ERROR neutron.services.service_base [req-cb4fd821-d9c0-4cd8-9266-a0b8583d1fd2 - - - - -] No providers specified for 'LOADBALANCERV2' service, exiting

Looks like neutron_lbaas.conf file is not processed at all thus not pulling service_provider config option. If neutron-lbaasv2-agent is started with additional --config-file option pointing to neutron-lbaas.conf file, everything seems to work.

Can you pretty please properly test everything and write a correct documentation. Thank you in advance.

edit retag flag offensive close merge delete

Comments

You can't be certain that the people who write documentation read ask.openstack.org. The best way of alerting them to bugs or gaps is by clicking on the bug symbol in the page. You need a launchpad account to submit the bug.

cute bug icon

Bernd Bausch gravatar imageBernd Bausch ( 2017-09-26 22:22:21 -0500 )edit

Sure, but can you please visit link I provided and point me where I can find such bug symbol, cause I'm missing it.

zeljko-jagust gravatar imagezeljko-jagust ( 2017-09-27 03:50:47 -0500 )edit

It's not on the Ocata version of the page. I guess nobody wants to fix old documentation bugs.

Try Pike: https://docs.openstack.org/neutron/la.... The content should be the same, or perhaps the problems you encounter are already gone.

Bernd Bausch gravatar imageBernd Bausch ( 2017-09-29 23:25:33 -0500 )edit