Ask Your Question
0

failed to setup lbaas on kilo [closed]

asked 2015-10-21 09:57:04 -0500

oplock gravatar image

Hi there, I'm new to openstack, does anyone please have insights on following error when setup lbaas on kilo? I tried the solution in https://bugs.launchpad.net/ubuntu/+source/neutron-lbaas/+bug/1460228 (https://bugs.launchpad.net/ubuntu/+so...), but does not help.
-when I visit horizon portal, there's an error stating failed to retrieve networking information.
- "ERROR neutron.services.service_base [-] No providers specified for 'LOADBALANCER' service, exiting" in /var/log/neutron/neutron-server.log on controller node
- "ERROR neutron_lbaas.services.loadbalancer.agent.agent_manager [-] Unable to retrieve ready devices" in /var/log/neutron/neutron-lbaas-agent.log on network node.

Here's the steps I tried to setup

controller node

  • install neutron-lbaas-agent
  • update/etc/neutron/neutron.conf
    service_plugins=router,lbaas
  • add a new file /etc/neutron/neutron_lbaas.conf with following content according to https://bugs.launchpad.net/ubuntu/+source/neutron-lbaas/+bug/1460228 (https://bugs.launchpad.net/ubuntu/+so...)
    [service_providers] service_provider=LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
  • restart neutron service


networknode

  • Install neutron-lbaas-agent and haproxy
  • update/etc/neutron/neutron.conf
    service_plugins=router,lbaas
  • add a new file /etc/neutron/neutron_lbaas.conf with following content according to https://bugs.launchpad.net/ubuntu/+source/neutron-lbaas/+bug/1460228 (https://bugs.launchpad.net/ubuntu/+so...)
    [service_providers] service_provider=LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
  • Update /etc/neutron/lbaas_agent.ini
    verbose = True
    interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
    device_driver =neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver
    [haproxy]
    user_group = haproxy
  • restart networking node


I also tried to add [service_providers] section to /etc/neutron/neutron.conf on both controller and network node, but still have same error.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by oplock
close date 2015-10-23 00:20:14.251911

Comments

Found the cause: a missing '_' for section name [service_providers] in /etc/neutron/neutron_lbaas.conf on controller node... Now I could create lb successfully.

oplock gravatar imageoplock ( 2015-10-22 20:44:32 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-21 14:35:36 -0500

mathias gravatar image

Hi, here is my config from liberty which is working:

https://gist.github.com/anonymous/4cc...

Also, can you check the logs in /var/log/neutron/ for any related error messages? If I remember correctly it was something about tables not being set up in the database. But I might be mistaken here.

cheers mathias

edit flag offensive delete link more

Comments

sorry here is the correct link: https://gist.github.com/anonymous/ab3...

mathias gravatar imagemathias ( 2015-10-21 14:46:03 -0500 )edit

thanks, I had same configurations as yours. Finally I found the stupid mistake that I missed '_' for section name [service_providers] in /etc/neutron/neutron_lbaas.conf on controller node. BTW, my lbaas was installed on network node and /etc/neutron/lbaas_agent.ini should be updated there.

oplock gravatar imageoplock ( 2015-10-22 20:43:19 -0500 )edit
0

answered 2015-10-21 22:48:55 -0500

nethawk gravatar image

You must install openstack-neutron-lbaas on controller node.

edit flag offensive delete link more

Comments

No, openstack-neutron-lbaas seems no longer exist. It's neutron-lbaas-agent now.

oplock gravatar imageoplock ( 2015-10-22 20:45:24 -0500 )edit

No. Neutron-lbaas in kilo is an independent package which includes the plugins of lbaas. Neutron-lbaas-agent only includes agents of lbaas not plugins.

nethawk gravatar imagenethawk ( 2015-10-25 20:25:25 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-10-21 09:57:04 -0500

Seen: 559 times

Last updated: Oct 21 '15