lbaas error:Unable to retrieve ready devices
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.