Ask Your Question
0

Could not able start neutron-lbaasv2-agent

asked 2017-04-19 07:07:41 -0500

Harsha gravatar image

updated 2017-04-19 10:53:53 -0500

I'm using Openstack Newton on Ubuntu 14.04. When I'm trying to start load balancer i.e lbaas v2 agent, I'm facing this issue.

2017-04-19 17:26:12.323 24871 INFO neutron.common.config [-] Logging enabled!
2017-04-19 17:26:12.323 24871 INFO neutron.common.config [-] /usr/bin/neutron-lbaasv2-agent version 9.2.0
2017-04-19 17:26:12.324 24871 WARNING stevedore.named [req-0cb0d983-92df-4aec-9267-abf5d02beb0b - - - - -] Could not load neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver
2017-04-19 17:27:12.548 24871 ERROR neutron.common.rpc [-] Timeout in RPC method get_ready_devices. Waiting for 40 seconds before next attempt. If the server is not down, consider increasing the rpc_response_timeout option as Neutron server(s) may be overloaded and unable to respond quickly enough.
2017-04-19 17:27:12.548 24871 WARNING neutron.common.rpc [-] Increasing timeout for get_ready_devices calls to 120 seconds. Restart the agent to restore it to the default value.
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager [-] Unable to retrieve ready devices
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager Traceback (most recent call last):
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager   File "/usr/lib/python2.7/dist-packages/neutron_lbaas/agent/agent_manager.py", line 151, in sync_state
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager     ready_instances = set(self.plugin_rpc.get_ready_devices())
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager   File "/usr/lib/python2.7/dist-packages/neutron_lbaas/agent/agent_api.py", line 34, in get_ready_devices
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager     return cctxt.call(self.context, 'get_ready_devices', host=self.host)
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager   File "/usr/lib/python2.7/dist-packages/neutron/common/rpc.py", line 157, in call
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager     time.sleep(wait)
2017-04-19 17:27:52.744 24871 ERROR neutron_lbaas.agent.agent_manager   File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__

/etc/neutron/neutron.conf

service_plugins = [existing service plugins],neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2

service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default

/etc/neutron/lbaas_agent.ini

interface_driver = linuxbridge

Any changes need to be done in any file. How to resolve this issue? Please help me

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-04-19 16:04:12 -0500

Laurent_bcn gravatar image

Following the newton guide : https://docs.openstack.org/newton/networking-guide/config-lbaas.html

You should not leave [existing service plugins] like this, replace it with 'router' for example, it depends on your configuration.

service_providershould reside on the /etc/neutron/neutron_lbaas.conf file.

edit flag offensive delete link more

Comments

Thanks for the reply, I have already replaced this [existing service plugins] with existing service plugins i.e router. After doing that I'm getting the above errors.
Any prerequisites required to configure lbaasv2 and any other solution to resolve this.

Harsha gravatar imageHarsha ( 2017-04-20 01:12:01 -0500 )edit

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: 2017-04-19 07:07:41 -0500

Seen: 243 times

Last updated: Apr 19