Ask Your Question
0

lbaas Unable to retrieve ready devices

asked 2013-11-06 06:48:20 -0500

leejian0612 gravatar image

on havana release,I install lbaas agent as it recommended step by step: http://docs.openstack.org/network-admin/admin/content/install_neutron-lbaas-agent.html (http://docs.openstack.org/network-adm...)

but when I try to visit the service from horizon,an error occured,there is the log information in /var/log/neutron/lbaas-agent.log ....................................................................................................................................................................................................

ERROR neutron.services.loadbalancer.drivers.haproxy.agent_manager [-] Unable to retrieve ready devices 2013-11-06 14:31:09.457 7434 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager Tble to retrieve ready devices raceback (most recent call last): 2013-11-06 14:31:09.457 7434 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager File "/usr/lib/python2.7/dist-packages/neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 212, in sync_state 2013-11-06 14:31:09.457 7434 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager ready_logical_devices = set(self.plugin_rpc.get_ready_devices()) 2013-11-06 14:31:09.457 7434 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager File "/usr/lib/python2.7/dist-packages/neutron/services/loadbalancer/drivers/haproxy/agent_api.py", line 36, in get_ready_devices 2013-11-06 14:31:09.457 7434 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager topic=self.topic 2013-11-06 14:31:09.457 7434 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/proxy.py", line 130, in call 2013-11-06 14:31:09.457 7434 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager exc.info, real_topic, msg.get('method')) 2013-11-06 14:31:09.457 7434 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager Timeout: Timeout while waiting on RPC response - topic: "q-lbaas-process-on-host", RPC method: "get_ready_devices" info: "<unknown>" .................................................................................................................................................................................................................. can someone tell me what cause the error,and how to solve it?

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2013-12-06 04:41:18 -0500

Could you provide neutron-server logs during this error is seen on the agent?

edit flag offensive delete link more
0

answered 2013-11-14 08:40:44 -0500

leejian0612 gravatar image

Thanks very much! after I update the system, I can't reproduce this error now,but I meet another question which may be ubuntu's issue https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1240712 (https://bugs.launchpad.net/ubuntu/+so...)

edit flag offensive delete link more
0

answered 2013-11-12 02:33:17 -0500

gongysh gravatar image

can u try to increase the rpc_response_timeout in neutron.conf and have a try then?

how many compute nodes in your system? how many neutron agents in all? This should not happen in light load system.

to reduce the rpc message, try to increase report_interval and agent_down_time.

edit flag offensive delete link more
0

answered 2013-12-05 23:27:43 -0500

rohara gravatar image

I get this error and related trace messages each time I deploy Havana with LBaaS enabled.

2013-12-05 16:57:10.243 16238 ERROR neutron.services.loadbalancer.drivers.haproxy.agent_manager [-] Unable to retrieve ready devices 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager Traceback (most recent call last): 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager File "/usr/lib/python2.6/site-packages/neutron/services/loadbalancer/drivers/haproxy/agent_manager.py", line 212, in sync_state 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager ready_logical_devices = set(self.plugin_rpc.get_ready_devices()) 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager File "/usr/lib/python2.6/site-packages/neutron/services/loadbalancer/drivers/haproxy/agent_api.py", line 36, in get_ready_devices 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager topic=self.topic 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/proxy.py", line 130, in call 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager exc.info, real_topic, msg.get('method')) 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager Timeout: Timeout while waiting on RPC response - topic: "q-lbaas-process-on-host", RPC method: "get_ready_devices" info: "<unknown>" 2013-12-05 16:57:10.243 16238 TRACE neutron.services.loadbalancer.drivers.haproxy.agent_manager

This appears to be the exact same issue as the reporter experience. If I restart the neutron-lbaas-agent I no longer see this error.

edit flag offensive delete link more
0

answered 2013-12-06 14:59:46 -0500

rohara gravatar image

http://paste.openstack.org/show/54595/

Notice that the lbaas log reports the error right around the time the neutron server connects to the RPC server.

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

1 follower

Stats

Asked: 2013-11-06 06:48:20 -0500

Seen: 375 times

Last updated: Dec 06 '13