Ask Your Question
1

lbaas error:Unable to retrieve ready devices

asked 2014-04-27 04:35:02 -0500

vladber gravatar image

updated 2016-02-03 08:40:49 -0500

Hi ,

I have controller and network on separate nodes ( Havana) .Tried to add LBaaS to the the cluster . On controller I have this in /usr/share/neutron/neutron-dist.conf :

service_provider = LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

on network node (neutron.conf):

service_plugins = neutron.services.loadbalancer.plugin.LoadBalancerPlugin

on network node (lbaas_agent.ini):

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver

Also enabled Load Balancers in the dashboard .

Restarted neutron-lbaas-agent on network node and neutron-server,httpd on controller .When I check Load Balancers in the dashboard I get errors like unable to get pools,members and monitors list . I assume this happens because lb agent is not visible by controller :

[root@cont1 ~(keystone_admin)]#  neutron  agent-list
+--------------------------------------+--------------------+------------------------+-------+----------------+
| id                                   | agent_type         | host                   | alive | admin_state_up |
+--------------------------------------+--------------------+------------------------+-------+----------------+
| ee26c6d5-ffce-494d-ba54-bac15db746a7 | Open vSwitch agent | cmp1.pdplatform.local  | :-)   | True           |
| 8e425026-06f4-485a-879b-25c70fd04b3d | Open vSwitch agent | netw1.pdplatform.local | :-)   | True           |
| 8767e5f3-9563-423b-925a-69ffb327e8b9 | DHCP agent         | netw1.pdplatform.local | :-)   | True           |
| 4a4982c6-cefe-4bff-b041-ec5da0142aaf | L3 agent           | netw1.pdplatform.local | :-)   | True           |
| 41759002-085c-4302-b80a-da07d5bd702f | Open vSwitch agent | cmp2.pdplatform.local  | :-)   | True

|

On network node in the lbaas-agent.log the neutron-lbaas-agent there is error like this :

2014-04-27 09:11:35.472 4091 INFO neutron.openstack.common.rpc.impl_qpid [-] Connected to AMQP server on 192.168.1.1:5672
2014-04-27 09:11:35.474 4091 INFO neutron.openstack.common.rpc.impl_qpid [-] Connected to AMQP server on 192.168.1.1:5672
2014-04-27 09:11:35.495 4091 INFO neutron.openstack.common.rpc.impl_qpid [-] Connected to AMQP server on 192.168.1.1:5672


2014-04-27 09:12:35.505 4091 ERROR neutron.services.loadbalancer.drivers.haproxy.agent_manager [-] Unable to retrieve ready devices

This error shows up 1 minute after the LB service was started .Looks like network node cannot communicate with controller .

Any ideas ?Thanks .

/Vlad.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-05-04 16:03:12 -0500

pkumar gravatar image

Make sure lbaas is listed in /etc/neutron/neutron.conf on controller node

service_plugins = router,lbaas

edit flag offensive delete link more

Comments

When I added service_plugins = router,lbaas and restarted neutron-server on controller I gt this error:

[root@cont1 ~]#service neutron-server restart Stopping neutron: [ OK ] neutron-db-check: ERROR: unable to find version information for the neutron database. Check your logs for additional information. [root@cont1 ~]#service neutron-server status neutron is stopped

Also , on network node I have this one:

Advanced service modules

service_plugins = neutron.services.loadbalancer.plugin.LoadBalancerPlugin

vladber gravatar imagevladber ( 2014-05-05 00:55:07 -0500 )edit
0

answered 2016-02-03 07:15:34 -0500

Maik gravatar image

Have you find an solution?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-04-27 04:35:02 -0500

Seen: 1,694 times

Last updated: Feb 03 '16